Answer

PayPal Sandbox accepts standard test card numbers. Use 4111111111111111 (Visa), 5555555555554444 (Mastercard), 378282246310005 (American Express), or 6011111111111117 (Discover). Enter any future expiration date. Enter any 3-digit CVV for Visa, Mastercard, and Discover. Enter any 4-digit CVV for American Express. These numbers work only in the PayPal Sandbox. They do not process real payments.

Prerequisites

  • A PayPal Developer account.
  • A sandbox business account and a sandbox personal buyer account.
  • Access to the sandbox checkout page for your test transaction.

Steps

  1. Sign in to the PayPal Developer Dashboard.
  2. Open Sandbox Accounts and confirm you have a personal buyer account.
  3. Log in to the sandbox with the buyer account credentials.
  4. Start a checkout flow from your sandbox storefront or test integration.
  5. Select the card payment option.
  6. Enter a test card number from the list below.
  7. Enter any future expiration date, such as 12/2030.
  8. Enter any 3-digit CVV for Visa, Mastercard, or Discover; enter any 4-digit CVV for American Express.
  9. Enter a billing name and address that matches the sandbox account profile.
  10. Submit the payment and confirm the sandbox transaction result.

Test card numbers

  • Visa: 4111111111111111
  • Mastercard: 5555555555554444
  • American Express: 378282246310005
  • Discover: 6011111111111117

Notes

Sandbox card numbers never charge real money. Do not use these numbers on a live PayPal checkout page. PayPal may return different responses for declined or error scenarios. Use the sandbox test card number that matches the card brand you want to simulate.