On this page, you can find additional configuration for adding MB WAY to your Component integration.
Before you begin
This page assumes you have already:
MB WAY is supported as of Component version 3.7.0. For more information, refer to Release notes.
Include fields for the endpoint you integrated:
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:
Step 2: Create an instance of the Component
create method of your
AdyenCheckout instance, in this case
checkout, to create the Component:
const Component = checkout.create('mbway').mount('#mbway-container');
Test and go live
To test your MB WAY integration, you can use any telephone number; for example +351234567890.
You can check the status of MB WAY test payments in your Customer Area > Transactions > Payments.
To trigger a specific
resultCode value, append a code to the
shopperStatement value in your /payments request:
||Code to append to
(default test response)
For example, to receive
resultCode: Refused, include the following in your /payments request:
"shopperStatement": "MBWay shopper statement-c5"