Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Contact form that also submits to PayPal

Started by Muut Archive 10 years ago · 3 replies · 362 views
10 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?

10 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.

10 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 Deleted User, 9 years ago
0 1352 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4064 9 years ago
Archive · by Muut Archive, 9 years ago
1 2950 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago