APM
With XPay's Sandbox, it is also possible to test Alternative Payment Methods (APMs) managed by third parties.
The testing methods vary depending on the APM:
- PayPal and PayPal Pay in 3: a sandbox account is required. It can be obtained by registering on the PayPal Developer portal. After logging in, navigate to "Testing Tools" → "Sandbox Accounts" to create a PayPal test account that will be used to simulate payments.
Alternatively, Nexi provides two PayPal Sandbox accounts already configured for testing:
Seller account — email: business.paypal@business.example.com, password: o;TGKT-8
Customer account — email: personal.setefi@personal.example.com, password: jS;&"4#P - Google Pay and Apple Pay:
- For testing with Plugins, Hosted Payment Page API and XPay Build,
- Google Pay: you can use your production GPay account. Transactions processed via the Sandbox do not generate real charges.
- Apple Pay: you must use an Apple Sandbox account configured through the Apple Developer portal.
- For testing with API integration:
- Google Pay: you must configure Google Pay in test mode (environment: 'TEST'). Clicking the GPay button will display a list of preconfigured test cards available for testing. To enter the 'CRYPTOGRAM_3DS' flow, you must use the following cards from the list: Test Card Visa 1111, Test Card Mastercard 4444, Test Debit Visa 1112.
- For testing with Plugins, Hosted Payment Page API and XPay Build,
- MyBank: registration is not required, but a simulated payment page is used, allowing you to proceed by entering random data.
- Bancomat Pay: for assistance or information regarding the testing procedures for this payment method, please contact Nexi technical support.