Use sandbox amount codes and method-specific fields to trigger checkout outcomes. Each method lists the values that apply to init payment.
Bizum
Bizum sandbox uses amount-based outcomes to simulate payment scenarios. Use the init payment API v1 required fields with specific:
amountto match the success or error flowcustomer_phone+34700000000
Blik One-time
Blik One-time uses a 6-digit code to trigger specific outcomes. Use the init payment API v1 required fields with specific:
amountto match the error flowpayment_type_data.blik_code
Blik Recurring
Blik Recurring uses a 6-digit code to trigger specific outcomes for the recurring mandate setup. Use the init payment API v1 required fields with specific:
payment_method_flowdirectfuture_usage.payment_typeunscheduledpayment_type_data.blik_code
Boleto
Boleto requires a country-specific document field. Use the init payment API v1 required fields with specific:
payment_type_data.brazil_cpf
After a successful request, follow pay_form.return_url in the response to complete the payment flow.
Efecty
Efecty requires a country-specific document field. Use the init payment API v1 required fields with specific:
payment_type_data.colombia_cc
After a successful request, follow pay_form.return_url in the response to complete the payment flow.
Mercado Pago
Mercado Pago requires a country-specific document field. Use the init payment API v1 required fields with specific:
payment_type_data.brazil_cpf
After a successful request:
- follow
pay_form.return_urlin the response to complete the payment flow - use your sandbox shopper credentials to complete the flow:
emailtest_user_5361385728822657191@testuser.compasswordAaxdHaUpBF
OXXO
OXXO
requires a country-specific document field in payment_type_data. Use the test
init payment
API v1
required fields with specific:
payment_type_data.mexico_curp
After a successful request, follow pay_form.return_url in the response to complete the payment flow.
PayPal
PayPal testing allows you to simulate failed transactions using a sandbox environment, which is useful for ensuring that your system correctly handles various scenarios, including negative flows.
Technical declines generated in the sandbox environment do not appear in PayPal's administrative dashboards.- Before you begin testing, ensure that your development environment is set up correctly.
- To perform testing, contact us to request access to the PayPal sandbox account.
To test failed payments, set the API request with currency to
USD
and an amount, which should be specified in cents (for example, an amount of 302 means 3.02), to trigger errors.
Pix
SmartPix and Pix require a country-specific document field. Use the init payment API v1 required fields with specific:
payment_type_data.brazil_cpf
customer.first_name or customer.last_name
Missing billing_address.country
Przelewy24
Przelewy24 is a Polish online bank transfer method supporting multiple banks, including BLIK as a sub-method. Use the init payment API v1 to initiate a payment.
After a successful request, follow pay_form.return_url in the response to complete the payment flow.
PLN
PSE
PSE requires a country-specific document field. Use the init payment API v1 required fields with specific:
payment_type_data.colombia_cc
After a successful request, follow pay_form.return_url in the response to complete the payment flow.
Sencillito
Sencillito requires a country-specific document field. Use the init payment API v1 required fields with specific:
payment_type_data.chile_ci
After a successful request, follow pay_form.return_url in the response to complete the payment flow.
Servipag
Servipag requires a country-specific document field. Use the init payment API v1 required fields with specific:
payment_type_data.chile_ci
After a successful request, follow pay_form.return_url in the response to complete the payment flow.
Webpay
Webpay requires a country-specific document field. Use the init payment API v1 required fields with specific:
payment_type_data.chile_ci
After a successful request, follow pay_form.return_url in the response to complete the payment flow.