PayPal Sandbox Card Test Process: A Developer Guide

Our Cards

Choose from any of our gift cards to give to your loved ones

PayPal Sandbox Card Test Platform: A Comprehensive Guide

giftcardimage

Where to Use?

Redeem your gift cards at any of our Merchants

PayPal Sandbox Card Test Service

Where to Buy?

You can purchase a gift card from any of these locations

paypal sandbox card test procedure

ABOUT US

about

What is ONYX GiftCards?

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.

What is a Gift Card?

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.

How it Works?

  • Buy an Onyx Gift Card at these local stores
  • Give your gift card to friends, family, co-workers, etc.
  • The recipient can shop at our select merchants nationwide
  • Your friends, family, co-workers, etc. will present their gift card at checkout to pay for your item(s)
  • They will walk away happy with the best gift ever...the gift of Choice

Why ONYX GiftCards?

  • Save TIME. No need to run around looking for the perfect gift
  • Redeem from a variety of business island-wide. We will continue adding businesses as fast as ONYX grows.
  • ONYX Gift Cards do not expire
  • Cards are valued at convinient amounts to meet every need and occasion

PayPal's sandbox card generator inside the Developer Dashboard is the top pick for card testing, because each card it issues is bound to your sandbox buyer account and returns the exact response codes you need to verify. This guide compares that method with static documented test numbers and Braintree test cards, judged on three criteria: repeatability across runs, coverage of decline and error cases, and whether the card data stays inside a synthetic test environment.

What sandbox cards actually are

Sandbox cards are fake numbers PayPal issues so you can run checkout, authorization, and capture flows without touching a real funding source. They move no money, work only against the sandbox API hosts, and stop working if you point them at live endpoints. Treat them as fixtures: record the number, expiration, security code, and billing ZIP that the dashboard shows, because that exact combination is what the sandbox validates.

Option 1: Cards generated in the Developer Dashboard (top pick)

Log into the PayPal Developer Dashboard, open Sandbox Accounts, pick a personal buyer account, and use the card generator to produce a number with its matching expiration and security code.

Use this when: you are running an end-to-end checkout test and want the least surprising result.

Option 2: Static documented test numbers

Older PayPal documentation and many internal test suites still ship with fixed card numbers, usually Visa and Mastercard ranges, plus a fixed expiration and security code.

Use this when: you want a fixed fixture in CI and you verify the request and response structure rather than the buyer identity.

Option 3: Braintree test cards

If your integration runs through Braintree, its documented test cards cover specific processor outcomes: success, decline, and a challenge flow for 3D Secure. Common examples include Visa 4111 1111 1111 1111, Mastercard 5555 5555 5555 4444, and American Express 3782 822463 10005.

Use this when: you need to prove that your code handles declines and authentication prompts, not just the happy path.

Step-by-step sandbox card test process

  1. Create or select a sandbox buyer account, and confirm it is funded with sandbox balance or a linked test card.
  2. Generate a card from the dashboard, and copy the number, expiration, and security code exactly.
  3. Set the billing address on the test order to the sandbox account address, including the ZIP code.
  4. Run the payment call against the sandbox API host, not the live host.
  5. Read the response object: look for the payment state plus any processor response code or message.
  6. Confirm the outcome on the account side, using sandbox notifications or the transaction history in the dashboard.
  7. Repeat with a decline card to check that your error handling surfaces the right message to the customer.

Where the process usually breaks

Safety and compliance notes

Sandbox testing is a synthetic exercise, and it should stay that way. Never substitute a live card number, a real cardholder's billing address, or data pulled from anywhere other than the test environment. PCI DSS guidance is clear that production cardholder data must not be used in test systems, and buying, selling, or trading real card data is a crime in the United States and most other jurisdictions. If a test needs a decline, use a documented decline card rather than a real account. Store test fixtures in a config file, label them as sandbox-only, and keep them out of logs that ship to production. That habit keeps your test suite fast and keeps your team out of a compliance review it does not want.

Contact Us

Latest

Latest

Stripe Card Testing Guide

This guide provides essential information on Stripe card testing for want-to-buy cvv users.

Fraud Detection Card Test

Discover the ultimate tool for verifying the validity of credit cards with our comprehensive fraud detection card test.

Read our complete guide: Should You Buy CVV From a Card Shop? The Honest Buyer's Guide