Forum
Using Perch Forms with "action" attribute
Hi,
I'm trying to submit a Perch form to PayPal and to the Perch Forms app.
So far, I've tried adding app='perch_forms'
to handle it, however, the action="https://www.paypal.com/cgi-bin/webscr"
attribute seems to be preventing it from feeding into perch. I've removed this attribute, and instead attempted to use the Form redirection setting, pointed to the URL https://www.paypal.com/cgi-bin/webscr
.
However, this doesn't work.
Any ideas?
You're not going to be able to submit to both Perch and PayPal with the same form. Forms just don't work like that - they can only go to one place.
You can have two Perch apps handle one form because the form is submitting to Perch and then is being distributed internally. But you can't post one form to two different servers - HTTP just doesn't work that way.
Hi Drew,
Thanks for the response.
Can you think of any way that I might be able to post the form to PayPal and record the visit in Perch? I was thinking of using the AJAX solution on perchd.io for forms to take the data and drop it into the Database on submit, but I'm not sure that will work.
Thanks, Harry
Our solution for this is the Perch Shop app.