troubleshooting Question

Javascrip error in Paypal

Avatar of alfred-bsp
alfred-bsp asked on
Web Development
1 Comment1 Solution456 ViewsLast Modified:
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); }

Lukasz Chmielewski

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros