Paypal : simulate error vs negative testing

Stoomm
New Community Member
 
Hello,
 

I want to simulate error with my PayPal workflow.

If I check the doc, I see I can enable negative testing, but if my comprehension is good, the response is a specific response for negative testing (json with name, message, information_link, details).

Is there a way to execute approved PayPal payment with a response state equal to failed and a failure_reason?

 

Thanks for help !

Login to Me Too
1 REPLY 1

MTS_Justin
Moderator
Moderator
Hello,

For this scenario, you would need to for example create the payment first, then remove any funding sources from the account, such as account balance and any bank account, debit/credit cards and then attempt to execute the payment which will fail due to the buyer account being unable to fund the payment.

Was my post helpful? If so, please give me a kudos!
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.