Forum

Thread tagged as: Problem, Forms, PayPal

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?

Harry Ray

Harry Ray 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

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

Drew McLellan

Drew McLellan 2638 points
Perch Support

Our solution for this is the Perch Shop app.