Get started with Alma
Before you begin
If this is your first payment method, make sure to follow the Get started guide to begin processing payments with Primer.Configure in the Dashboard
- Add Alma payment method to your Dashboard Go to the integrations section of the Dashboard, click on the ‘New Integration’ button and search for Alma. Follow the instructions to connect your Alma account to your Primer Dashboard.
- Activate Alma on the Checkout Go to the Checkout section of the Dashboard and activate the Alma payment method.
- Configure a Workflow to process payments made with Alma Go to Workflows, and ensure there is a workflow with the Authorization action configured to process APMs.
Prepare the client session
Alma leverages the following parameters to process a payment. Pass them when creating the client session.| Parameter Name | Required | Description |
|---|---|---|
| orderId | ✓ | A unique identifier for the order. Maximum 255 characters. |
| customer ↳ billingAddress.firstName | ✓ | The customer’s first name, mapped to Alma’s customer details. |
| order ↳ countryCode | ✓ | The country code used for routing, e.g. FR. |
Prepare the SDK for payments
- Web
- iOS
- Android
Use the payment method type wherever the code below references
YOUR_PAYMENT_METHOD_TYPE.- Primer Checkout (recommended)
- Universal Checkout (legacy)
- Headless Universal Checkout (legacy)
Primer Checkout is our latest web SDK, built around declarative web components. Once is enabled in your Dashboard, the default For dynamic rendering based on what the server returns, listen to primer:methods-update or use primer-payment-method-container for declarative filtering.
<primer-checkout> layout renders it automatically alongside your other methods — no payment-method-specific markup is required.