PayPal Sandbox Card Test Process: Test Cards and Steps

Our Cards

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

related article

giftcardimage

Where to Use?

Redeem your gift cards at any of our Merchants

Using the PayPal Sandbox Card Test Tool: A Comprehensive Guide

Where to Buy?

You can purchase a gift card from any of these locations

related article

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

Short answer

PayPal tests cards in the sandbox with test card numbers that PayPal publishes in its developer documentation. No money moves. No bank sees the charge. You create a sandbox business account, take the REST API client ID and secret, then send a card payment through the Orders API or a hosted checkout page.

What the sandbox does

A sandbox account is a copy of a PayPal account with fake balances. Cards added to the sandbox are not routed to card networks. The sandbox returns the same response fields as production, including order status, capture status, and error codes.

Steps

  1. Open the PayPal developer dashboard and sign in.
  2. Go to Apps and Credentials. Set the toggle to Sandbox.
  3. Create one business sandbox account and one personal sandbox account. The business account holds the API credentials.
  4. Copy the client ID and secret for the sandbox app.
  5. Request an access token from the OAuth 2.0 endpoint with those credentials. The token lifetime appears in the expires_in field.
  6. Create an order. Set intent to CAPTURE. Set the payment source to card, with the test number, expiry, and CVV from the PayPal test card table.
  7. Capture the order, or approve it in the sandbox checkout window.
  8. Read the response. Check status, then the issue field when the payment fails.

Test card numbers

PayPal lists test numbers for Visa, Mastercard, American Express, and Discover in the developer documentation. Each number maps to one result. Some approve. Some return a decline. The list also covers 3D Secure outcomes and card-not-present checks. Use the numbers as printed. The sandbox validates the fields, so a test number paired with a real billing address returns unexpected errors.

3D Secure

PayPal ships a 3D Secure simulator in the sandbox. The challenge page lets you pick pass or fail. That choice drives the final order status, so test both paths.

Webhooks

Sandbox webhooks fire with the same event names as production. Register a URL in the app settings and confirm the events arrive for approvals, captures, and declines.

Common errors

Limits

Sandbox cards cannot be used outside the sandbox. Real card numbers sent to a sandbox endpoint do not settle and may be rejected. Do not use the sandbox to check a card you do not own. The mapping of test numbers to outcomes changes between API versions, so read the current table before you write assertions.

Sandbox testing versus card testing fraud

The term card testing also names an attack. Someone submits many card numbers to a live payment page to find valid accounts. That activity is fraud. Processors answer it with rate limits, CAPTCHA, and blocking. A sandbox test is separate. It runs in a closed environment with published numbers and no cardholder data.

Contact Us

Latest

Latest

Requirements to Sell CVV Online

Discover the key requirements for selling CVV online and ensure you understand the legal and ethical implications involved.

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