// Card entry templates

IFRAME Standard

Stacked fields: card number, cardholder name, expiry and CVC, plus optional postal code and street address.

Preview mode -- nothing you type is stored, verified or charged. Try 4242 4242 4242 4242 (approve), 4000 0000 0000 0002 (decline) or 4000 0000 0000 0069 (card not accepted), with any future expiry and any CVC.
Postal code
Your page
Width
Your checkout page
Order DOCS-1001 · 1 x Annual plan $25.99 CAD
Card Vault iframe

Loading the form...

Messages your page sees

    Shown here so you can see the contract. On your own page, keep results out of logs, analytics and session-replay tools.

    Embed this template

    Create an interface with this template in the dashboard (Settings > Interfaces), then use its URL and public key:

    HTML + JSIFRAME STANDARD
    <div id="cv-payment"></div>
    <script src="https://cdn.cardvault.com/embed/1.0.0/cv-embed.js"
            integrity="sha384-ePaZCMD1iCr4nlJCfJTFtzgK6Eku91TQsGMLcH+gEmhBB/dvEQ2Cv3nz1rZVMIBu"
            crossorigin="anonymous"></script>
    <script>
      CV.embed.load({
        containerId: "cv-payment",
        formUrl:     "https://cce.cardvault.com/<your-interface>",
        publicKey:   "<the interface's Public Key>",
        height:      "460px",  // fixed: leave room for error text
        onReady:   function () { /* enable your Pay button */ },
        onSuccess: function (r) { /* send r.Token to YOUR server */ },
        onDecline: function (d) { /* d.code, d.message */ },
        onError:   function (d) { /* d.code, d.message */ }
      });
      // on your Pay button:
      CV.embed.submit({ ref: "ORDER-1001", profile: { fullName: "Alex Example" } });
    </script>

    The full walk-through -- interface settings, callbacks, the result object and the security rules for the page that carries the form -- is in Hosted card iframes.