DrByte:
PayPal is the source of the error message, and it is them who are declining your funding instrument.
They are going to have to help you sort out why they are rejecting the card/account.
https://www.paypal.com/mts
I am needing to revisit this because i thought i fixed it but it doesnt seem like i did. The paypal log says this:
Response:
Array
(
[TIMESTAMP] => 2011-01-20T20:04:45Z
[CORRELATIONID] => 77f734775f1db
[ACK] => Failure
[VERSION] => 2.3
[BUILD] => 1646991
[L_ERRORCODE0] => 10422
[L_SHORTMESSAGE0] => Customer must choose new funding sources.
[L_LONGMESSAGE0] => The customer must return to PayPal to select new funding sources.
[L_SEVERITYCODE0] => Error
[CURL_ERRORS] =>
)
Now i have zen-cart 1.3.7 and i do intend to upgrade at a later time but currently the cart has been modified incorrectly for custom stuff that i cannot upgrade it as is without starting over. So what i need to know is why the error message isnt displaying on the page. Paypal is sending the customer back to our checkout_payment page and no error is displayed but i checked and see that the following lines are at the top of the checkout_payment file:
<?php if ($messageStack->size('redemptions') > 0) echo $messageStack->output('redemptions'); ?>
<?php if ($messageStack->size('checkout') > 0) echo $messageStack->output('checkout'); ?>
<?php if ($messageStack->size('checkout_payment') > 0) echo $messageStack->output('checkout_payment'); ?>
So how can i debug the paypal payment module to see why the error isnt making it there or can you tell me what in 1.3.8 was changed to make sure it was displayed?
I did check paypalwpp.php and did find this catch for the error:
// 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();
}
But it doesnt seem like that message is getting back to our page.