Skip to main content
Sandbox Pay is intended only for development and sandbox environments. Generated card numbers are test data and must not be used for real payments or production checkout attempts.
Sandbox Pay is an open-source browser extension for developers testing card-payment flows. It provides PayPal Sandbox cards, PayPal error triggers, Stripe test cards, automatic form filling, and input-level context-menu actions from a persistent browser sidebar.

PayPal Sandbox testing

Generate Luhn-valid Visa, Mastercard, American Express, Diners Club, Maestro, CUP, and JCB test data, or select PayPal-specific failure triggers.

Stripe test scenarios

Browse predefined Stripe cards grouped by successful payment, decline, and 3D Secure scenarios.

Automatic form filling

Fill card number, expiry, CVV, cardholder name, and country into supported payment forms.

Developer-friendly sidebar

Keep test data visible while working in Chrome or Firefox without repeatedly switching tabs.

Supported environments

The content script currently runs on:
  • PayPal and PayPal Sandbox pages.
  • Stripe pages.
  • localhost and 127.0.0.1 development sites.
  • Google App Engine applications under *.appspot.com.
A Luhn-valid number is not automatically accepted by every sandbox. Use cards and error triggers that match the payment provider and scenario being tested. Secure cross-origin iframes may also require manual copy and paste.

Main capabilities

  • Generate randomized PayPal-style test cards with valid checksums.
  • Trigger common PayPal decline and validation responses.
  • Select Stripe success, decline, and 3DS cards.
  • Fill an entire detected card form from the sidebar.
  • Fill the currently focused field through the browser context menu.
  • Configure the default country, cardholder name, card appearance, and interface language.
  • Store preferences locally through the browser extension storage API.

Get started

Install Sandbox Pay

Install from Chrome Web Store or Firefox Add-ons, or build the extension from source.

Use the helper

Open the sidebar, choose a provider, and fill a sandbox checkout form.

View source

Review the source code, releases, and project issues.