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 Service: A Safe Developer Guide
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.
The top pick for card testing is the PayPal sandbox driven by the test card numbers PayPal publishes in its developer documentation, run against a sandbox buyer account and a sandbox business account you control. The criteria that decide whether a test run is worth anything are simple: no real money can move, every decline path you plan to ship can be reproduced on demand, and each attempt leaves a record you can inspect after the fact. A test flow that misses any of those three is theatre.
The sandbox is a parallel PayPal environment with its own accounts, credentials, and transaction history. Nothing you do there touches a live balance or a real funding instrument. That separation is the whole point: you can hammer a checkout with bad data all afternoon and the only cost is your own time.
PayPal maintains a published list of test card numbers for the sandbox, each mapped to a specific outcome such as a successful capture, a CVV mismatch, an expired card, or a funding failure. Card networks publish their own test BINs as well, and those are useful when you need a number that behaves in a defined way across processors. Read the current page rather than a copied list from a blog post, because the mapping changes.
One boundary is worth stating plainly: sandbox numbers are synthetic fixtures tied to a test environment. They are not a way to check whether a real card is live, and putting real cardholder data into a development environment pulls that environment into PCI scope and breaks the developer agreement.
Build a small table in your test suite that pairs each fixture number with the response you expect. Cover the happy path, a CVV failure, an expiry failure, an address verification failure, a funding decline, and a challenge flow if you support one. When a fixture stops producing the documented result, treat it as a broken test, not a broken product.
Do not trust the browser redirect alone. Confirm the outcome in three places: the API response your server received, the transaction record in the sandbox dashboard, and the webhook event delivered to your endpoint. The dashboard is the tiebreaker when the first two disagree. Register your webhook listener with a publicly reachable URL, since a localhost endpoint will silently drop events, and check the event log for failed deliveries.
It fits developers integrating PayPal for the first time, teams adding error handling to an existing checkout, and anyone writing regression tests around payment logic. It does not suit performance or risk tuning, because the sandbox does not model production fraud rules. Finish the sandbox pass, then run a small live transaction set with your own accounts before you widen the rollout.