Link to home
Start Free TrialLog in
Avatar of alfred-bsp

asked on

Javascrip error in Paypal

Hello, I'm doing some tests using the sandbox. I've configured the seller account to redirect clients back to the seller's website automatically. I know this automatic redirect only works if clients pay with a paypal account and not with their credit card. I've sucessfully tried several tests paying with paypal test accounts but when I try to pay with credit card the payment is ok (validated + verfiied), but in the last page (Thank you for your payment blah blah... and link back to the seller's website) I get the following Javascript error (I've just noticed now that I've tested on IE).

This is the error as shown in the Firefox error console:

Error: echo is not defined
Archivo de origen:
Línea: 37

and it points to this (exactly to the echo):

try {
PAYPAL.common.appendField("done", "flow_name", PAYPAL.common.loginflow);
PAYPAL.bp.init("done","bp_mid");PAYPAL.common.appendField("done", "bp_ks1");
} catch(err){ echo(err); }

Avatar of Lukasz Chmielewski
Lukasz Chmielewski
Flag of Poland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial