Hi,
I work at a university. My department is hosting a workshop which has a registration fee. All the payments will be handled by the central university IT department.
Attendees register at an outside site, then come to my dept. with a unique id. Their registration info is already in a chronoforms db table. They enter the unique id in a CF form, hit submit, are taken to a 2nd CF form that displays their registration information. If they typed the id correctly, and the form is showing their info, they should go next to the payment site.
I add hidden fields for everything the payment site requires and redirect them via a ReDirect User action. But the payment site requires it be called with a post action, so I get an error message. (Tell me if I am wrong, but I believe the CF form is just posting to itself?)
Can I somehow put a post action in my form that goes directly to the payment site? Am I missing something basic?
Thanks again, Deb
I work at a university. My department is hosting a workshop which has a registration fee. All the payments will be handled by the central university IT department.
Attendees register at an outside site, then come to my dept. with a unique id. Their registration info is already in a chronoforms db table. They enter the unique id in a CF form, hit submit, are taken to a 2nd CF form that displays their registration information. If they typed the id correctly, and the form is showing their info, they should go next to the payment site.
I add hidden fields for everything the payment site requires and redirect them via a ReDirect User action. But the payment site requires it be called with a post action, so I get an error message. (Tell me if I am wrong, but I believe the CF form is just posting to itself?)
Can I somehow put a post action in my form that goes directly to the payment site? Am I missing something basic?
Thanks again, Deb
Hi Deb,
There's always a problem when you have to send the user and the data to another site that need POST :-(. cURL can send the data using POST but not the user. ReDirect can send both but not using POST.
The best workaround I have is to build a little confirmation page form that autosubmits (or submits when the user clicks a confirm button). This form needs to have all the data in hidden inputs and the form action set to the third party site.
There's code here to show you how to use JavaScript to autosubmit a form.
Bob
There's always a problem when you have to send the user and the data to another site that need POST :-(. cURL can send the data using POST but not the user. ReDirect can send both but not using POST.
The best workaround I have is to build a little confirmation page form that autosubmits (or submits when the user clicks a confirm button). This form needs to have all the data in hidden inputs and the form action set to the third party site.
There's code here to show you how to use JavaScript to autosubmit a form.
Bob
This topic is locked and no more replies can be posted.