Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Contact form that also submits to PayPal

Started by Muut Archive 11 years ago · 3 replies · 488 views
11 years ago

I need to have a contact form that collects and emails information to the site owner and then proceeds with that information to PayPal. I can do it with an external PHP file, but was wondering if there is a better way to work it into the form plugin?

11 years ago

Hmm.. you will probably have to extend the form plugin to do another post-hook type action. Currently the form plugin doesn't have any such functionality.

11 years ago

You can "redirect" to PayPal by using the Redirect action to forward the user to a page and inside this page, set the Redirect header to automatically redirect the user to PayPal when it its that page

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago