Starting today (5th of June 2013), I am getting back API error code 10486 in the DoExpressCheckoutPayment response instead of API error code 10417 I got in the past.
What is this new error code and how should I handle it?
Starting the 5th of June 2013 PayPal will return API error code 10486 instead of 10417 in the DoExpressCheckoutPayment API response in the majority of cases.
Both 10417 mean 'transaction cannot complete', but with API error code 10486 you can re-redirect the user back to PayPal to select a differing funding source (rather than having to call SetExpressCheckout and re-initiate the entire transaction flow).
There is a HowTo guide available with more information, but basically all you need to do is re-use the existing redirect URL you would've used earlier.
E.g. https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-ABCDE12345
The buyer will be re-redirected to PayPal and be able to select a new funding source.
The buyer will subsequently be redirected to the same RETURNURL you specified in your first SetExpressCheckout request.
Note: You can find a full list of all PayPal API error codes, along with their short and long messages here.
My logs show three types of errors following the DoExpressCheckout() call.
The new 10486 (This transaction couldn't be completed., (This transaction couldn't be completed. Please redirect your customer to PayPal.)) looks like it is handled nicely by redirecting the user back into PayPal.
I also see the 10417 (Transaction cannot complete., (Instruct the customer to retry the transaction using an alternative payment method from the customers PayPal wallet. The transaction did not complete with the customers selected payment method.)). How should I handle this. Can I also redirect the user back to PayPal as in 10486 or display an error and the initial checkout page?
Finally, I see 10537 (Risk Control Country Filter Failure, (The transaction was refused because the country was prohibited as a result of your Country Monitor Risk Control Settings.)). Again, what's the best way to handle this for the user experience?
Thanks, Gary Davis
Sorry you're having problems. According to the PayPal community, this code indicates your card was declined by your bank; so your first course should be to get in touch with the card issuer. If that does not resolve, it's a simple matter to phone PayPal customer support, and here's the quickest way. Instead of phoning PayPal's 800 support number, go to this special page after logging in:
www.paypal.com/us/cgi-bin/helpscr?cmd=_contact-phone
To shortcut the seemingly interminable phone menu, repeat "Agent" in response to every prompt.
for more detials
https://www.paypal-notify.com/eventnotification/event_details_popup?eventId=3515
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With