Payment methods
Mangopay provides test cards and account details for you to simulate transactions in your Sandbox environment.
Warning - For Sandbox only
All cards and account details available on this page are for testing purposes in the Sandbox environment only.
Cards
CB/Visa/Mastercard
The following card triggers a 3DS2 frictionless flow, where is not required. You need to set the SecureMode
to DEFAULT
or NO_CHOICE
.
Card number | 4970107111111119 |
---|---|
Expiry date | Any future date (month/year) |
CVC | Any three digits |
Currencies | See the currencies page for details |
The following card triggers a 3DS2 challenge flow, where is required. You need to set the SecureMode
to FORCE
or NO_CHOICE
.
Card number | 4970105181818183 |
---|---|
Expiry date | Any future date (month/year) |
CVC | Any three digits |
Currencies | See the currencies page for details |
Maestro/Bancontact
The following card triggers a 3DS2 challenge flow, where is required. You need to set the SecureMode
to FORCE
.
Card number | 5033951000000004 |
---|---|
Expiry date | Any future date (month/year) |
CVC | Any three digits |
Currencies | EUR |
AMEX
The following card triggers a 3DS2 challenge flow, where is required. You need to set the SecureMode
to FORCE
.
Card number | 375989111111119 |
---|---|
Expiry date | Any future date (month/year) |
CVC | 1234 |
Currencies | EUR |
Banking
Direct debit
Mandates
When testing direct debit mandates, you can set a specific value for the FirstName
parameter of the user who owns the bank account for the mandate.
Successful
- Results in an active mandate. You must do a pay-in with this mandate for the status to be updated.Invalid
- For Bacs only, results in a failed mandate due to incorrect bank account information.Penniless
- Results in a failed pay-in due to lack of funds (with the 001830).Fickle
- Results in a successful pay-in which is disputed by the user and hence a dispute is created.
SEPA
You can use the following details to set up an IBAN Bank Account for testing the SEPA scheme:
IBAN | FR7630004000031234567890143 |
---|---|
BIC | BNPAFRPP |
Bacs
You can use the following details to set up a GB Bank Account for testing the Bacs scheme:
AccountNumber | 55779911 |
---|---|
SortCode | 200000 |
Note that it is not possible to test direct debit email notifications in Sandbox.
Alternative payment methods (APMs)
Apple Pay
To test Apple Pay, create a sandbox Apple ID and then use this ID to log in on your device. Once logged in as a sandbox tester, add an Apple Pay test card to your Apple wallet to test your integration on your device.
Bancontact
To test Bancontact pay-ins on web, follow the RedirectURL
in the API response to access Mangopay’s simulator. The simulator gives options to test successful and failed payment scenarios.
For mobile, the DeepLinkURL
returned by the API in Sandbox is a placeholder. Bancontact doesn’t provide a testing environment, so the only way to complete the payment in Sandbox is by using Mangopay’s web-based simulator, accessible via the RedirectURL
value.
BLIK
To test BLIK, follow the RedirectURL
in the API response to access Mangopay’s simulator. The simulator gives options to test successful and failed payment scenarios.
Google Pay
You can use Google Pay’s test card suite to test your Google Pay integration with Mangopay. Once you have joined the test card suite group, you can use the following cards in Sandbox:
- 4111111111111111 - The Visa card triggers a challenge flow (requiring 3DS redirection)
- 5555555555554444 - The Mastercard card triggers a frictionless flow (not requiring 3DS redirection)
iDEAL
To test iDEAL, follow the RedirectURL
in the API response to access Mangopay’s simulator. The simulator gives options to test successful and failed payment scenarios.
Klarna
To test Klarna, follow the RedirectURL
returned in Sandbox to access Klarna’s simulator.
Klarna’s Sample customer data allows you to test successful and failed payment scenarios. The sample data relating to disputes is available but can’t be used to simulate disputes on the Klarna’s sandbox Merchant Portal.
Note: If you use data other than the samples provided, it will be used to create a new Klarna account during the payment process.
MB WAY
To test MB WAY, enter your phone number in the Phone
parameter to receive an SMS containing a link to Mangopay’s simulator.
Multibanco
To test Multibanco, follow the RedirectURL
in the API response to access Mangopay’s simulator. The simulator gives options to test successful and failed payment scenarios.
Payconiq
To test Payconiq pay-ins on web, follow the RedirectURL
in the API response to access Mangopay’s simulator. The simulator gives options to test successful and failed payment scenarios.
For mobile, the QRCodeURL
and DeepLinkURL
returned by the API in Sandbox are placeholders. The only way to complete the payment in Sandbox is by using Mangopay’s web-based simulator, accessible via the RedirectURL
value.
PayPal
When PayPal is activated in Sandbox, Mangopay provides you with credentials to a PayPal account that can be used for testing.
To test PayPal, follow the RedirectURL
in the API response to access the PayPal payment page and log in using the test account provided.
Satispay
To test Satispay, follow the RedirectURL
in the API response to access Mangopay’s simulator. The simulator gives options to test successful and failed payment scenarios.
Swish
To test Swish, follow the RedirectURL
in the API response to access Mangopay’s simulator. The simulator gives options to test successful and failed payment scenarios.
For mobile, the QRCodeURL
and DeepLinkURL
are not returned by the API in Sandbox. The only way to complete the payment in Sandbox is by using Mangopay’s web-based simulator, accessible via the RedirectURL
value.
TWINT
To test TWINT, follow the RedirectURL
in the API response to access Mangopay’s simulator. The simulator gives options to test successful and failed payment scenarios.