Hi,
I'm getting a 302 found in firebug when using the Paypal redirect, and the Paypal site fails to load.
The demo paypal form works fine. If I link my form to the load event of the demo paypal form this also works. If I link it to the submit event of the demo form it fails with 302 found.
If I copy the post url from firbug directly into the browser address bar it fires the event in my form and loads the paypal site. Similarly the debug url is good and brings up paypal if entered directly.
Most of the pages in the form submit via ajax so my first thought was to disable the ajax submit for the call to the paypal redirect. What is strange is that disabling ajax on any but the first page does not turn it off! No matter how I set the submit, it still loads pages through ajax. I suspect this may have something to do with it. As far as I'm aware you can't do cross domain ajax calls. Notable the POST url includes tvout=ajax.
I am now also getting an error in the console => "ReferenceError: chronoforms_validation_signs is not defined". I'm not sure its related but it is suspicious. I'm not currently using CF validation in the form.
I've done quite a bit of testing but I can't track this down. I could work around this in the worst case scenario by shelling out to a separate form for the paypal stuff but its a bit untidy. Any thoughts would be appreciated.
John
I'm getting a 302 found in firebug when using the Paypal redirect, and the Paypal site fails to load.
The demo paypal form works fine. If I link my form to the load event of the demo paypal form this also works. If I link it to the submit event of the demo form it fails with 302 found.
If I copy the post url from firbug directly into the browser address bar it fires the event in my form and loads the paypal site. Similarly the debug url is good and brings up paypal if entered directly.
Most of the pages in the form submit via ajax so my first thought was to disable the ajax submit for the call to the paypal redirect. What is strange is that disabling ajax on any but the first page does not turn it off! No matter how I set the submit, it still loads pages through ajax. I suspect this may have something to do with it. As far as I'm aware you can't do cross domain ajax calls. Notable the POST url includes tvout=ajax.
I am now also getting an error in the console => "ReferenceError: chronoforms_validation_signs is not defined". I'm not sure its related but it is suspicious. I'm not currently using CF validation in the form.
I've done quite a bit of testing but I can't track this down. I could work around this in the worst case scenario by shelling out to a separate form for the paypal stuff but its a bit untidy. Any thoughts would be appreciated.
John