Test credentials and simulation scenarios for payment methods in the xPay sandbox environment
Use the credentials and test card numbers below to simulate payments in the sandbox environment. These only work in sandbox — use the Sandbox Dashboard and sandbox API keys. See the Sandbox Environment guide for setup details.
Card
Use these test cards to simulate successful and failed card payments in sandbox checkout.
Success
Card
Card Number
Expiry
CSC
Mastercard
5555 5555 5555 4444
Any future date
Any 3-digit code
Failure
Card
Card Number
Expiry
CSC
Visa
4000 0000 0000 0002
Any future date
Any 3-digit code
Splitit
Use this test card to simulate a successful Splitit payment in sandbox.
Card
Card Number
Expiry
CSC
Mastercard
5444 4444 4444 4445
Any future date
Any 3-digit code
Klarna
Use these credentials when prompted during Klarna checkout in sandbox.
Label
Value
Details
Phone Number
(888) 254-4887
Enter this phone number when prompted for Klarna login
OTP (One-Time Password)
123456
Use any 6-digit number as OTP when prompted (e.g., 123456, 000000)
For more on Klarna integration and requirements, see Klarna FAQs.
PayPal
Use these credentials to test PayPal payments in sandbox.