MBWay via Checkout.com is asynchronous. The customer has a limited window to approve the request in the MBWay app, and the payment reaches a final status through a webhook. Fulfil orders only on a final status.
Get started with MBWay via Checkout.com
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 MBWay via Checkout.com payment method to your Dashboard Go to the integrations section of the Dashboard, click on the ‘New Integration’ button and search for Checkout.com. Follow the instructions to connect your Checkout.com account to your Primer Dashboard.
- Activate MBWay via Checkout.com on the Checkout Go to the Checkout section of the Dashboard and activate the MBWay via Checkout.com payment method. Add a display condition so MBWay only appears where it can be paid — at a minimum,
Country = PT. - Configure a Workflow to process payments made with MBWay via Checkout.com Go to Workflows, and ensure there is a workflow with the Authorization action configured to process APMs.
Prepare the client session
Checkout.com leverages the following parameters to process a payment. Pass them when creating the client session.Prepare the SDK for payments
- Web
- iOS
- Android
Use the payment method type
CHECKOUT_MBWAY 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 MBWay via Checkout.com 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.