PayPal Sandbox Card Test Process: Developer Guide

Our Cards

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

paypal sandbox card test process

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

Understanding PayPal Sandbox Card Test System

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

The PayPal sandbox card test process is the practice of running card payments through PayPal's developer sandbox using the sandbox-only card numbers PayPal issues for each test account. Nothing touches the live card networks, and no real cardholder data is involved. The criteria that matter are isolation from production, the type of card data you are permitted to handle, and how closely the sandbox reproduces real approval and decline behavior.

What the sandbox card test process covers

The sandbox is a separate environment with its own accounts, credentials, and API hosts. A card payment you send there is authorized by a simulator, not by an issuing bank. That means you can verify your integration end to end: creating an order, passing card fields to the API, handling the response object, and reacting to errors.

What you cannot learn from the sandbox is real approval rates, real risk decisions, or how a specific bank responds to a specific cardholder. Sandbox test cards are not real cards and cannot be used to move money anywhere.

Step by step through the test flow

  1. Sign in to the PayPal Developer Dashboard and switch the environment toggle to Sandbox.
  2. Create or open two sandbox accounts: a business account that acts as the merchant and a personal account that acts as the buyer.
  3. Open the buyer account record. PayPal lists the test card numbers tied to that account, along with expiration dates and security codes.
  4. Copy a test card into your checkout form. Use the values exactly as shown, including the CVV.
  5. Point your integration at the sandbox API host rather than the live host, and confirm your sandbox client ID and secret are the ones being loaded.
  6. Submit the payment and inspect the full response: order status, payment status, processor response code, and any AVS or CVV result fields.
  7. Repeat the run with a decline scenario so your error handling is exercised, not just your happy path.
  8. Refresh the sandbox accounts if a card stops working. Test card data is bound to the account that generated it.

Sandbox test cards versus live cards

Pros of the sandbox approach

Cons and limits

Negative testing and decline simulation

A test suite that only passes on approval is only half built. PayPal's sandbox supports negative testing, where you deliberately trigger failures to confirm your application surfaces the right message and does not mark an order as paid. Typical cases worth covering include expired card, invalid security code, insufficient funds, and processor decline.

Run each case twice: once through the API and once through the browser checkout, since the two paths often surface errors differently. Log the raw response body during testing. The status field alone rarely tells you enough to debug a failure.

Common mistakes

When to move to live testing

Move to production only after your sandbox suite covers approval, decline, cancellation, refund, and webhook delivery. Then run a small live transaction with a card you control, confirm the settlement and webhook, and refund it. Treat that first live run as a separate test, because sandbox behavior does not predict it.

Contact Us

Latest

Latest

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