PayPal Sandbox Card Test Platform: How Test Cards Work
A guide to the PayPal Sandbox card test platform: where test card numbers come from, how to run a test payment, and why sandbox tests fail.
Choose from any of our gift cards to give to your loved ones
paypal sandbox card test process
Redeem your gift cards at any of our Merchants
Onyx Gift Cards is a Grenadian company designed to introduce, market and manage gift cards systems in Grenada for retailers and corporations. We are enthusiastic about the effect and influence we will have on the local market. We intend to expand our systems regionally with a range of product offerings and services.
Gift cards are the preferred way of giving and receiving gifts. They carry a monetary value that can be redeemed for gifts at your favorite store.
Onyx GiftCards are “Open Gift Cards” which means that they can be redeemed at multiple merchant locations. They are standard credit card size, can fit into the average wallet and made of PVC plastic. Onyx GiftCards are Barcoded for security and safety for the consumer and bear a disclaimer at the back.
Onyx Giftcards can be bought with a branded Card backer which is black in colour and is designed to fit the card. There is an area to write a brief message to the recipient as well.
PayPal sandbox card test methods use the test card numbers from your PayPal developer dashboard to run payments that never touch a real account. You enter a sandbox card number with any future expiry date and any 3 or 4 digit security code, and the sandbox returns a simulated result. No money moves and no real cardholder data is involved.
Skip the personal account and you can test the card form but not the full checkout. Most failed test runs come from a missing buyer account, not from the card number itself.
The sandbox takes the standard test numbers that card networks reserve for developers. They pass a Luhn check but are blocked from live authorization, so they only work in test mode.
Pair any number with a future expiry date and a 3 digit code, or 4 digits for Amex. The sandbox ignores the name on the card. Real card numbers and real security codes have no place in a test environment, and using them there breaks PCI rules.
The sandbox includes negative test numbers that return a set response instead of a success. PayPal maps each one to a reason such as card declined, insufficient funds, or security code mismatch.
Open the test card list in your dashboard to read the current mapping. PayPal adds and retires numbers, so a list copied from an old blog post can return a result you did not expect.
Test the failure paths as often as the happy path. A checkout that handles a decline badly costs more than one that never sees a decline.
Card vaulting works in the sandbox, so you can store a test card against a sandbox buyer and charge it again later. Subscription and billing agreement flows also run in test mode.
Keep vaulted test records separate from live records. A sandbox token that gets reused against a live endpoint returns an error, and debugging that error wastes more time than a clean setup would have.
The sandbox simulates the payment flow but does not mirror every rule of the live system. Risk checks, fraud filters, and some country limits are relaxed or absent.
A card that passes in sandbox can still fail in production because of issuer rules, buyer account limits, or currency restrictions. Treat a sandbox pass as proof your code runs, not as proof the payment will clear.
Keep the two environments apart. One stray live key in a test script is enough to move real money.
No. The sandbox takes only the test numbers PayPal publishes. A real card will throw an error, and you would be putting live cardholder data into a system built for fake data.
The numbers do not expire, but the date you type must be in the future. Sandbox accounts can go dormant after long periods without activity, so rebuild the account if a test that used to work stops working.
Yes, with limits. PayPal offers sandbox triggers for 3D Secure, but the challenge screens and issuer behavior are simulated. European SCA scenarios need their own test cases, so do not assume the sandbox covers every authentication path.
At least one per card brand you plan to accept, plus one decline per error message your checkout shows to buyers. Six to ten runs cover most stores.
No. Add a live smoke test with a real card and a real refund before you open checkout to buyers. Sandbox testing catches code bugs, not settlement bugs.