Solidgate’s sandbox testing capabilities, which encompass successful transactions, failures, fraud detection, and error modeling, are valuable for identifying potential issues and ensuring system stability.
By testing various payment methods such as card payments, Google Pay, Apple Pay, and PayPal, you can ensure interoperability and security, and prepare your integration for real-world scenarios.
Payment outcomes
To test your Solidgate integration, use your sandbox channel with specific keys:
- Webhook keys, which start with the prefix wh_pk_ / wh_sk_ , allow for receiving simulated webhook notifications.
- API keys, starting with api_pk_ / api_sk_ , are used to make API requests within the sandbox.
Test scenarios are available to simulate processing , success , and failed outcomes, which are crucial for assessing your system’s readiness and reliability across varied payment conditions.
CARD NUMBER 4067429974719265 TEST CARD| Expiry date | Any future date within the next 50 years is valid. | 12/34 |
| CVV/CVC | Use any 3-digit code or 4-digit for Amex. | 123 |
| Cardholder | Use any placeholder values. | Name Surname |
Success
Success CARD NUMBER 4067429974719265 SUCCESS| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
| recurring | success |
Declined
Auth CARD NUMBER 4553815318053315 AUTH FAILED| auth | failed |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
processing, attempting authorization, and verifying if it fails auth_failed.
Settle
CARD NUMBER
5361074849060618
SETTLE FAILED
| auth | success |
| settle | failed |
| void | failed |
| refund | success |
auth_ok, settlement attempt, and verifying if the transaction settles or fails.
Void
CARD NUMBER
5361074849060618
VOID FAILED
| auth | success |
| settle | failed |
| void | failed |
| refund | success |
processing status, attempting authorization, and checking if the order transitions to the auth_failed status, indicating a failed authorization attempt.
Recurring
CARD NUMBER
4123212486997559
RECURRING FAILED
| auth | success |
| settle | success |
| recurring | failed |
| void | success |
| refund | success |
fail status, indicating the recurring setup failure, while the order transitions to the declined status.
Refund
CARD NUMBER
4476284533825961
REFUND FAILED
| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | failed |
settle_ok, initiating a refund, and validating the outcome. Successful refunds should transition the status to refunded, while failures maintain the original settle_ok status.
Errors
Use the test cards to simulate payments that the issuer rejects for various reasons. This can be useful for testing the error-handling logic of your integration.
Payment operations are handled asynchronously. The final result, including any decline, is delivered later through a webhook notification or via the check order status endpoint.
When testing decline scenarios with test cards, the decline code and final order status appear only in those asynchronous updates.
General decline
These errors reflect declined transactions from bank refusals, order time-outs, compliance issues, or authentication failures.
0.01 CARD NUMBER 4510108818406882 ERROR 0.01 error : {code: 0.01 , message: "General decline"} 0.02 CARD NUMBER 4532003312475364 ERROR 0.02 error : {code: 0.02 , message: "Order expired"} 0.03 CARD NUMBER 4929213352238223 ERROR 0.03 error : {code: 0.03 , message: "Illegal operation"}Validation errors
These errors indicate invalid transaction data that can typically be resolved by correcting the input.
- 2.06 Invalid CVV2 code
- 2.08 Invalid card number
- 2.09 Invalid expiration date
- 2.10 Invalid 3DS flow on merchant side
Transaction declines
Transaction refusal may be caused by factors such as card limits, insufficient balance, or suspected fraud, which often requires contacting the bank or using alternative payment methods.
- 3.01 Card is blocked
- 3.02 Insufficient funds
- 3.03 Payment amount limit excess
- 3.04 Transaction is declined by issuer
- 3.05 Call your bank
- 3.06 Debit card not supported
- 3.07 Card brand is not supported
- 3.08 Do not honor
- 3.10 Suspected fraud
Fraud and anti-fraud
These errors indicate that a transaction was flagged for potential fraud, often involving blocklisted or stolen cards or triggered antifraud rules. Merchants should display a general decline message and either investigate further or advise the customer to try again.
4.02 CARD NUMBER 4983102885450335 ERROR 4.02 error : {code: 4.02 , message: "Stolen card"} 4.05 CARD NUMBER 4075752033922822 ERROR 4.05 error : {code: 4.05 , message: "PSP antifraud"} 4.07 CARD NUMBER 6011491463366455 ERROR 4.07 error : {code: 4.07 , message: "Trusted antifraud system"}Data or card verification
These errors relate to address mismatches, failed 3D verification, and issues with card tokens, requiring merchants to verify customer information, check for fraud, and consult support as needed.
5.01 CARD NUMBER 5539974195624197 ERROR 5.01 error : {code: 5.01 , message: "3D secure verification failed"} 5.02 CARD NUMBER 4485589319980072 ERROR 5.02 error : {code: 5.02 , message: "Invalid card token"} 7.01 CARD NUMBER 5241981397484014 ERROR 7.01 error : {code: 7.01 , message: "Card token not found"}Connection or processing issues
These errors relate to transaction issues and connection errors. Solutions include retrying, using a different card, or contacting the bank.
5.03 CARD NUMBER 5414915934193648 ERROR 5.03 error : {code: 5.03 , message: "Application error"} 5.08 CARD NUMBER 5199914302370491 ERROR 5.08 error : {code: 5.08 , message: "Invalid transaction"} 6.02 CARD NUMBER 4935964870334207 ERROR 6.02 error : {code: 6.02 , message: "Connection error"}Card blocked or restricted
These errors refer to transactions blocked due to lost or restricted cards, requiring merchants to offer alternative payment options and check for potential fraud.
4.04 CARD NUMBER 4222192107639022 ERROR 4.04 error : {code: 4.04 , message: "Lost card"}Merchant configuration or activation errors
These errors are related to merchant configuration and API communication issues. To resolve them, you can contact us for assistance but first ensure proper API method usage.
5.04 CARD NUMBER 5394262465415346 ERROR 5.04 error : {code: 5.04 , message: "Merchant is not configured correctly"}3D Secure authentication
Test the 3DS flow where the cardholder must complete additional authentication steps. This scenario simulates the full 3D Secure authentication process with cardholder verification.
3DS CARD NUMBER 497592770594980 3DS| auth | success |
| recurring | success |
Cards brands
Use a list of test cards to verify the payment system.
VISA CARD NUMBER 4532456618142692 VISA| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
| auth | success |
| settle | success |
| recurring | success |
| void | success |
| refund | success |
Estimated and incremental auth
Test estimated incremental authorization flows to ensure your integration handles authorization types correctly.
Success CARD NUMBER 4067429974719265 SUCCESS| auth estimated | success |
| auth incremental | success |
| auth estimated | success |
| auth incremental | success |
| auth estimated | failed |
| auth incremental | failed |
| auth estimated | success |
| auth incremental | failed |
| auth estimated | success |
Mastercard CARD NUMBER 5329777445319300 MASTERCARD
| auth estimated | success |
| auth incremental | success |
| auth estimated | success |
| auth incremental | success |
| auth estimated | success |
| auth incremental | success |
Apple Pay or Google Pay
Sandbox provides a secure environment for simulating the integration of Google Pay and Apple Pay, without any risk to real bank accounts or transactions.
Before beginning tests, please contact us to discuss configuration needs. Keep in mind that Google Pay and Apple Pay digital wallets require real cards, and test cards do not work.For the initial one-time payment, using an amount that is not listed below results in a standard approval. This ensures that all subsequent recurring payments using the same token are automatically approved. However, to trigger specific recurring or recurring auth payment outcomes, the initial transaction must use predefined amount values, which should be specified in cents. For example, an amount of 100 represents 1.00. Use the following values:
- 100 for no 3DS success
- 666 for challenge success
- 555 for frictionless success
Using an amount different from the values listed above for the initial transaction ensures that subsequent recurring payments are always approved. This demonstrates the flexibility of the system in handling different transaction types.
Success AMOUNT 100 SUCCESS success without 3DS AMOUNT 666 SUCCESS success with 3DS AMOUNT 555 SUCCESS success with frictionless 3DS Error AMOUNT 1 ERROR 0.01 error : {code: 0.01 , message: "General decline"} AMOUNT 301 ERROR 3.01 error : {code: 3.01 , message: "Card is blocked"} AMOUNT 302 ERROR 3.02 error : {code: 3.02 , message: "Insufficient funds"} AMOUNT 3020 ERROR 3.02 error : {code: 3.02 , message: "Insufficient funds"} with frictionless 3DS AMOUNT 304 ERROR 3.04 error : {code: 3.04 , message: "Transaction is declined by issuer"} AMOUNT 308 ERROR 3.08 error : {code: 3.08 , message: "Do not honor"} AMOUNT 3080 ERROR 3.08 error : {code: 3.08 , message: "Do not honor"} with 3DS AMOUNT 310 ERROR 3.10 error : {code: 3.10 , message: "Suspected fraud"} AMOUNT 403 ERROR 4.03 error : {code: 4.03 , message: "Restricted card"} Processing AMOUNT 549 PROCESSING processing AMOUNT 649 PROCESSING processing with 3DS AMOUNT 749 PROCESSING processing with frictionless 3DSPayPal
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.
Alternative payments
Use APM sandbox scenarios to validate your integration behavior for method-specific input fields and expected outcomes.
Bizum
Bizum sandbox uses amount-based outcomes to simulate payment scenarios. Use the init payment API required fields with specific:
amountto match the success or error flowcustomer_phone+34700000000
Blik
Blik uses a 6-digit code to trigger specific outcomes. Use the init payment API required fields with specific:
amountto match the error flowpayment_type_datablik_code
Boleto
Boleto requires a country-specific document field. Use the init payment API required fields with specific:
payment_type_databrazil_cpf
After a successful request, follow pay_form return_url in the response to complete the payment flow.
Efecty
Effecty requires a country-specific document field. Use the init payment API required fields with specific:
payment_type_datacolombia_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 required fields with specific:
payment_type_databrazil_cpf
After a successful request:
- follow
pay_formreturn_urlin the response to complete the payment flow - use your sandbox shopper credentials to complete the flow:
emailtest_user_88880901@testuser.compasswordeR*$Nl2F8is
OXXO
OXXO
requires a country-specific document field in payment_type_data. Use the test
init payment
API
required fields with specific:
payment_type_datamexico_curp
After a successful request, follow pay_form return_url in the response to complete the payment flow.
Pix
Pix (SmartPix and PIX QR) requires a country-specific document field. Use the init payment API required fields with specific:
payment_type_databrazil_cpf
customer first_name or 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 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 required fields with specific:
payment_type_datacolombia_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 required fields with specific:
payment_type_datachile_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 required fields with specific:
payment_type_datachile_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 required fields with specific:
payment_type_datachile_ci
After a successful request, follow pay_form return_url in the response to complete the payment flow.