Gift Cards

You test a decline by sending a sandbox test card number that your payment processor maps to a specific decline reason, then confirming your checkout shows the correct message and recovery path. You never test with a real card number or CVV that you do not own and control. Buying, selling, or trading CVV data is card fraud under US federal law, and processors terminate accounts that touch real card data outside a compliant environment.

Prerequisites

  • A sandbox or test-mode account with your payment processor
  • The processor's published list of test card numbers and their decline mappings
  • A staging build of your checkout that cannot reach live card data
  • Access to your order logs so you can confirm the raw decline code returned

Procedure

  1. Open your processor's test card documentation and copy the numbers mapped to generic decline, insufficient funds, expired card, incorrect CVV, and do-not-honor.
  2. Load your staging checkout and enter a test card number mapped to generic decline, with any future expiry and a test CVV from the same table.
  3. Submit the payment and record the exact decline code and message your gateway returns.
  4. Confirm your UI shows a customer-facing message that does not expose the raw processor code or any internal identifiers.
  5. Repeat the submission with the incorrect-CVV test card and verify your form prompts the customer to recheck the security code field.
  6. Repeat with the expired-card and insufficient-funds test cards and confirm each produces a distinct message and a distinct next step.
  7. Verify the retry path: the customer can correct the entry and resubmit without losing cart contents or creating a duplicate order.
  8. Check your logs to confirm no CVV value is written to storage, analytics, or error tracking.
  9. Run the same matrix on mobile and on your hosted payment page, if you use one, so the messaging matches across surfaces.

What to verify per decline

A decline test passes only when three things line up: the processor returns the code you expected, your backend maps that code to the correct internal reason, and the customer sees guidance that helps them finish the purchase. A generic decline should offer a different card. An incorrect CVV should point at the security code field. An expired card should point at the expiry field. Insufficient funds should offer an alternate payment method.

Handling decline data correctly

Store the decline code and a timestamp. Do not store the CVV, and do not log the full card number. Limit retries per card and per session so a stolen-card testing pattern is blocked before it reaches your fraud rules. Route repeated identical declines from the same device to your fraud review queue rather than letting the customer loop.

Common mistakes

  • Testing only the generic decline and assuming every code renders correctly
  • Surfacing the raw processor string in the customer message
  • Capturing the CVV field in client-side analytics or session replay
  • Running tests against a live account with a real card to "see what happens"

Fast digital delivery

You will receive the digital voucher immediately.

Secure Payment

All your data is transmitted with unbreakable SSL-RSA encryption.

Suitable for giving away

You can give away, resell or keep the vouchers.

24/7 customer support

We are available for you 24 hours a day.

ProtectedGiftCards.com Newsletter

Be informed as soon as new vouchers are added or when there are discounts.

Read our complete guide: Buy CVV in 2025: A Buyer's Guide to Prices, Pitfalls, and Avoiding Scams