Forums

Why No Redirect?

aharsha 26 Apr, 2013
Played with this both ways and trying to see if I really need to purchase the Paypal redirect.

I have my custom button code from my paypal account that I have. I add it into my form via a custom element and it shows up fine in my form. However, it does not direct it to Paypal when I press pay now. Instead it takes me to a blank page on my website.

So, I tried adding the same HTML code into Custom Code in the On Submit Event which takes me to the same custom button made in Paypal. If i press Pay Now there, it will redirect as it should but. So basically, I can get to my desired point via one extra page. My question is why? Why isn't it letting me redirect from the first page when I click Pay Now?

Thank you.
GreyHead 26 Apr, 2013
Hi aharsha,

It depends what HTML your PayPal button comes with. If it is a form then it will be embedded inside the ChronoForm form tags and HTML does not support nested form tags. If it did work then the form would submit to PayPal and ChronoForms would never see the results.

You can do a redirect to a standard PayPal account using the Redirect URl and Redirect User actions.

Bob
This topic is locked and no more replies can be posted.