How to do negative testing while implementing paypal ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Handling payouts that are being on hold/blocked in REST APIs
- Advanced Checkout Error Trigger is not triggering an error but still going through onApprove in Sandbox Environment
- Unable to login with sandbox credentials to Test "Login with Paypal" button. in Sandbox Environment
- Identifying Duplicate IPNs on subscr_signup in PayPal Reporting
- Values for negative testing in Sandbox Environment