No momento, esta página não está disponível em português
Payment-method icon

Alma Component

Add Alma to an existing Components integration.

On this page, you can find additional configuration for adding Alma to your Components integration.

Before you begin

This page assumes you have already:

API reference

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="alma-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 alma = new Redirect(checkout, { type: 'alma' }).mount('#alma-container');

Use the create method of your AdyenCheckout instance, in this case checkout, to create the Component:

const almaComponent = checkout.create('alma').mount('#alma-container');

Test and go live

Check the status of Alma test payments in your Customer Area > Transactions > Payments.

Before you can accept live Alma payments, you need to submit a request for Alma in your live Customer Area.