On this page, you can find additional configuration for adding MB WAY to your Drop-in integration.
Before you begin
Before starting your MB WAY integration:
- Make sure you've integrated Drop-in v3.7.0 or later.
- Add MB WAY in your test Customer Area.
API reference
You don't need to send additional fields for MB WAY. To see optional fields that you can send for all payment methods, see /payments.
Drop-in configuration
There is no MB WAY specific configuration for Drop-in.
Test and go live
To test your MB WAY integration, you can use any telephone number, for example +351234567890.
You can trigger a specific resultCode
value by appending a code to the shopperStatement
value in your /payments request:
resultCode |
Code to append to shopperStatement |
---|---|
Authorised default test response |
-c1 |
Pending | -c3 and wait 15 minutes after making the /payments request |
Refused | -c5 |
For example, to receive resultCode
: Refused, include the following in your /payments request:
{
// Produce a REFUSED payment result.
"shopperStatement": "MBWay shopper statement-c5"
}
You can check the status of MB WAY test payments in your Customer Area > Transactions > Payments.
Before you can accept live MB WAY payments, you need to add MB WAY in your live Customer Area.