Regarding Paypal Sandbox Cards failure

yash90
New Community Member

I tried as per following demo and the same demo has issues with the card. Following are the required details to reproduce the issue.

 

https://developer.paypal.com/demo/checkout/#/pattern/client 


Card details I have entered are as below

Card Type: Visa

Card Number: <removed>

Expiration Date: 02/2025

CVV: <removed>

 

The error Message I got is as below

Paypal Issue.png

Login to Me Too
1 REPLY 1

MTS_Jennifer
Moderator
Moderator

Hello,

Thank you for posing to the PayPal Merchant Technical Support Community.

You are correct that sometimes the Guest Checkout does give that error message when the payment is being declined. Using the Random Credit Card Generator in the PayPal Developer Dashboard with your app credentials can allow you to simulate a successful payment instead of a decline.

If you would like to simulate the payment completing, here are the steps:

  • Log into the Dashboard at https://developer.paypal.com
  • Choose My Applications & Credentials
  • Choose one of your Rest Applications
  • Copy your sandbox Client ID
  • Go back to the code and paste your Client ID in place of sb
  • Go back to the Developer Dashboard
  • Scroll down to credit card Generator
  • Use the card, exp and CVV that is generated
  • You can put in whatever you want for the address I normally put John Doe and 123 Main St and whatever City State and Zip I want to put in.

You should be able to process the payment with your information and the random Credit Card Generator that is in the Developer Dashboard. It is designed to help with Sandbox Testing.

 

Thank you,

Jennifer

PayPal

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.