Closed (fixed)
Project:
PayPal
Version:
6.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2011 at 19:19 UTC
Updated:
6 Apr 2012 at 21:20 UTC
Currently any error that happens gives you the incredibly unhelpful error message of: "Error processing payment: PayPal gateway returned'Failure'
This is not helpful at all and considering the response from PayPal provides a bunch of extra error info, that info should be provided in the error message.
There is also a typo in the drupal_set_message line that doesn't have a space after "returned" in the message above.
I have attached a patch that improve the error message to include the error code and long error message explaining what the actual issue is. This should help people a lot when debugging API setup issues.
| Comment | File | Size | Author |
|---|---|---|---|
| paypal.patch | 992 bytes | michaelk |
Comments
Comment #1
jerdavisCommitted, Thanks!
Comment #2.0
(not verified) commentedFix type