Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The SDK provides three web components for collecting card details:

<netvalve-cardnumber />
<netvalve-cvv />
<netvalve-expiry />

These components can be placed anywhere within your payment form.

Example:

  <! -- Payment Form -->
  <form action="/your-payment-endpoint">
      <input name="cardHolderName" />
      <netvalve-cardnumber />
      <netvalve-cvv />
      <netvalve-expiry />
      <button type="submit">Pay</button>
  </form>

Each component creates a secure iframe that renders an input element, ensuring card data is collected securely.

This ensures that sensitive card data never touches your servers.

The iframes are automatically sized to match your input styling and will respond to your page's CSS, making them appear as native input fields to your users.

Next Step

Set up the SDK using either:

  1. an HTML approach

  2. a JavaScript config approach.

  • No labels