Zen Cart Logo
Forums / PayPal Express Checkout support / ALERT: PayPal Express Checkout Error (10486)

ALERT: PayPal Express Checkout Error (10486)

Views: 9,734

Results 1 to 7 of 7
10 Mar 2014, 5:03 PM
#1
klevans77 avatar

klevans77

New Zenner

Join Date:
Mar 2014
Posts:
3
Plugin Contributions:
0

ALERT: PayPal Express Checkout Error (10486)

10486 This transaction couldn't be completed. - This transaction couldn't
be completed. Please redirect your customer to PayPal.

Hi

I get this error on Zen Cart 1.3.9h PayPal Express checkout.

I have search the php file and this code it not listed in there even through there are a number of codes listed.

There seems to be no error in customers payments they have all passed I can not find a customer who got this error, is there anyway to Add the order ID number to the message so it can at least give me so more info ?

10 Mar 2014, 10:20 PM
#3
klevans77 avatar

klevans77

New Zenner

Join Date:
Mar 2014
Posts:
3
Plugin Contributions:
0

Re: ALERT: PayPal Express Checkout Error (10486)

Hi

Thank you for the link but I have already read that and Also been on email with PayPal as they want me to move to Pro, but like I mention in my post I searched the PayPal code and it was not in the php file, as I would like to know is there a way to Add the order id to this info you get in the email as the email is so basic having 100 orders a day and a random email come through saying a error from PayPal is not really much help.

I went through all transactions around the time I got the email and not one had failed ? this is why I would like to know if anyone has a way I could add the order id of the transaction that had the error or even the PayPal transaction ID in to that email just so I can trace the payment.

10 Mar 2014, 10:41 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: ALERT: PayPal Express Checkout Error (10486)

No, you can't add the order ID because there is no order ID assigned until AFTER payment is completed.

You said you're using v1.3.9h. I count 140 improvements made to the PayPal Express Checkout code in the latest version of Zen Cart vs your older version. That means you're missing out on a lot of compatibility updates and feature improvements for the PayPal capabilities alone, not to mention the several hundred other improvements made all throughout the Zen Cart code in newer versions. I suggest allocating time for a proper upgrade this spring ;)

I'll post a small mitigation for ONLY this 10486 issue below ...

10 Mar 2014, 10:44 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: ALERT: PayPal Express Checkout Error (10486)

Change the /includes/modules/payment/paypalwpp.php file, around line 2721 from this:// if funding source problem occurred, must send back to re-select alternate funding source if ($response['L_ERRORCODE0'] == 10422) { $paypal_url = $this->getPayPalLoginServer(); zen_redirect($paypal_url . "?cmd=_express-checkout&token=" . $_SESSION['paypal_ec_token']); die(); } to this:```
// if funding source problem occurred, must send back to re-select alternate funding source
if ($response['L_ERRORCODE0'] == 10422 || $response['L_ERRORCODE0'] == 10486) {
header("HTTP/1.1 302 Object Moved");
$paypal_url = $this->getPayPalLoginServer();
zen_redirect($paypal_url . "?cmd=_express-checkout&token=" . $_SESSION['paypal_ec_token']);
die();
}

11 Mar 2014, 9:37 AM
#6
klevans77 avatar

klevans77

New Zenner

Join Date:
Mar 2014
Posts:
3
Plugin Contributions:
0

Re: ALERT: PayPal Express Checkout Error (10486)

Hi

Thank you for the fix, I understand about the info for OrderId not being included, I no I need to update my zen but I have 100s sales each day taking it offline to upgrade at the moment would be costly for me as I will be doing it myself :( might have to pull a all nigher as I have customized my cart a lot..

I have read some of the return logs for Orders, is there a way to even maybe add customer name in the Email just really any info that can help trace for the time being...

13 Mar 2014, 2:12 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: ALERT: PayPal Express Checkout Error (10486)

klevans77:

Thank you for the fix, I understand about the info for OrderId not being included, I no I need to update my zen but I have 100s sales each day taking it offline to upgrade at the moment would be costlyThat's why you should do a "test" upgrade so that you can do it all in a separate site and make sure everything is reliable before making the switch. Done correctly the switch can typically be completed with about 5-10 minutes downtime. But only after first spending the time to do a fake upgrade beforehand. That's why I wrote this article: http://www.zen-cart.com/entry.php?3
klevans77:

I have read some of the return logs for Orders, is there a way to even maybe add customer name in the Email just really any info that can help trace for the time being...The emails and error messages are much friendlier in the newest version.