How to do negative testing while implementing paypal ?

passmate
New Community Member

Please Help!

I have implemented paypal  in my web application made in React and node. I am using sand box credentials. The positive flows work fine, but how can I test negative scenarios. Like insufficient fund or failure scenarios etc. I read this error conditions page but all the testing is being done in bash. How can I test failed scenarios on the front end side. I came to know we have to show a generic message in case of any failure mentioned here . I even tried to on the negative test but still no issue occurred  (sandbox environment )


For live and sandbox Environment 
Does paypal handle failed scenarios itself ? Do we only have to show a simple generic message if something goes wrong during transaction ? What scenarios can we possibly test which break our code or stop us from transaction ?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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