Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <div style="height: 303px; background: url('') center repeat-x;"></div>

<div style="text-align: center;">
  <div style="max-width: 800px; margin: 0 auto;">

    <div class="ps-chkout">
      <!-- Drop these script to add checkout widget -->
      <script type="text/javascript" id="paystand_checkout" src=""></script>
    <img src="" alt="left-img" class="img-responsive"></p>


<div class="container">
  <div class="row">
    <div class="col-lg-12">

      <p><a target="_blank" href=""></a>


                body {
  background: #f2f2f2;

.ps-chkout #paystand_checkout_div,
.ps-chkout #paystand_checkout_div #paystand_checkout_iframe {
  height: 500px !important;

@media (max-width: 767px) {
  .ps-chkout #paystand_checkout_div,
  .ps-chkout #paystand_checkout_div #paystand_checkout_iframe {
    height: 950px !important;


                PayStandCheckout.checkoutComplete = function (data) {
  console.log("custom checkout complete:", data);
  alert("Thank you for payment");
PayStandCheckout.checkoutFailed = function (data) {
  console.log("custom checkout failed:", data);
  alert("We are sorry for the technical difficulties")
  "publishableKey": "eml9jvz7dsbglwtx53xtu9tl",
  "checkout_domain": "",
  "domain": "",
  "total": "10.00",
  "currency": "USD",
  "features": {
    "cards": true,
    "echeck": {
      "enabled": true
  "ui": {
    "billing": {
      "show": true,
      "autoFill": {
        "email": "",
        "fullName": "Test User",
        "street1": "123 Test St",
        "street2": "Apt 3G",
        "city": "Test",
        "postalCode": "95060",
        "state": "CA",
        "country": "USA"
  "meta": {
    "invoice" : {
      "number": "#CIN-001",
      "amount" : 10.00,
      "date" : "2015-09-10T04:00:00+00:00",
      "customer": "Matt Ouellette"
    "demo": ""