On this page, you can find additional configuration for adding PaySafeCard to your Components integration.
Before you begin
This page assumes you have already:
API reference
Select which endpoint you are integrating:
Component configuration
Step 1: Create a DOM element
Create a DOM element on your checkout page, placing it where you want the payment method form to be rendered:
<div id="paysafecard-container"></div>
Step 2: Create an instance of the Component
v6.0.0 or later
Create an instance of the Component, passing:
- Your instance of
AdyenCheckout
.
const paySafeCard = new Redirect(checkout, { type: 'paysafecard' }).mount('#paysafecard-container');
v5.x.x or earlier
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create the Component:
const paySafeCardComponent = checkout.create('paysafecard').mount('#paysafecard-container');
Test and go live
Before you go live, test your integration using the following credentials:
- 16-digit code: 0000 0000 0990 3417
Check the status of test payments in your Customer Area > Transactions > Payments.
Before you can accept live payments, contact our Support Team to add PaySafeCard in your live Customer Area.