Why did I get random approvals, declines, and timeouts when testing PayPal Payments Pro with Payflow in the Sandbox?

Random approvals, declines, and timeouts usually result when the credit card numbers you're using are associated with many test accounts. The system has difficulty handling multiple requests for these same numbers. You must use a unique credit card number when performing test credit card transactions with a Payflow Pro account linked to a Sandbox account. There are two ways to do this:

Use the credit card number assigned to your Sandbox test account.

When you create a new Sandbox test account on our Developer site, the account is assigned a unique credit card number, and you can use any three-digit number as the card verification number.

Here's how to create a test account:

  1. Log in to the PayPal Developer Portal.
  2. Navigate to Testing Tools > Sandbox Accounts.
  3. Click Create Account and complete the process.

Credit card generator for testing:

You can use our credit card generator to create a credit card number and associate it with a Sandbox account. Here’s how:

  1. Go to your sandbox Money, banks and cards page.
  2. Click Link a new card.
  3. Enter the card details obtained from our credit card generator.

How do you log in to your Sandbox account?

See the Sandbox accounts Developer Documentation.

More ways we can help

Resolution Center

Fix transaction and account related issues

Tax center

Get your 1099-K and other tax info here

Business Help

Get help with using any of our PayPal products

Technical Help

Find out how PayPal works for your business

Message Center

Send, receive, and view your PayPal messages

We’ll use cookies to improve and customize your experience if you continue to browse. Is it OK if we also use cookies to show you personalized ads? Learn more and manage your cookies