On this page, you can find additional configuration for adding Scalapay 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="scalapay-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 scalapay = new Redirect(checkout, { type: 'scalapay' }).mount('#scalapay-container');
v5.x.x or earlier
Use the create
method of your AdyenCheckout
instance, in this case checkout
, to create the Component:
const scalapayComponent = checkout.create('scalapay').mount('#scalapay-container');
Test and go live
Use the test cards for the test scenarios that are specified on the Scalapay website.
Check the status of Scalapay test payments in your Customer Area > Transactions > Payments.
Before you can accept live Scalapay payments, submit a request for Scalapay in your live Customer Area.