Testing Paypal error messages using ActiveMerchant
Posted
by vrish88
on Stack Overflow
See other posts from Stack Overflow
or by vrish88
Published on 2010-03-18T19:43:03Z
Indexed on
2010/03/19
6:41 UTC
Read the original article
Hit count: 501
Hello,
Is there a way to test your application's processing and handling of Paypal generated credit card errors? I'd like to verify that my application can handle a declined credit card or something like that.
So is there a way to have Paypal send an error message? Or would it be better to generate a stub and use it in the testing environment? If this is the better way, how would one generate a stub?
Thanks!
© Stack Overflow or respective owner