New to the community? Welcome! Please read our Community Rules and Guidelines
If you want to report illegal content under the EU Digital Services Act, please do so here
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 ?