In this manual we describe how to use and configure Gravity Forms with the Pronamic Pay plugin.
Note: We assume you already installed the Pronamic Pay plugin and connected it to a payment provider. If not, please follow the Getting started with Pronamic Pay manual.
Connect Gravity Forms with Pronamic Pay
Time required: 10 minuten.
A step-by-step manual to add a payment method to Gravity Forms with an existing payment configuration.
- Create a new form with Gravity Forms
In your WordPress dashboard, navigate to Forms and create a new form.
- Add form fields
Add some form fields to your newly created form. Think about fields like name, address and some other contact details.
- Add a product field
The next step is to add a product field to your form. You will find this field below the section Price fields, on the right side. You can add as many product fields as you want. It’s useful to add the Total field for displaying the total amount, if you have more than one price field.
- Connect a new payment feed
After adding some fields to your form, it’s time to create a payment feed. Navigate to Settings » Pay to add a new feed. Select the configuration you created earlier and enter optionally an Order ID and Transaction Description.
- Select the status pages
On the Status pages tab, select the desired status pages. These are the pages the visitor will return to after a completed or failed payment. These pages can also be easily generated via WordPress Dashboard » Payment » Settings. In that case, they don’t have to be set again in the payment feed.
- Additional options in payment feed
Various additional options are available in the payment feed settings:
With the options Send Notification Delay and Delay Actions, it’s possible to only send a notification or trigger an action when a payment has actually been completed.
Values from the form submission can be forwarded to the payment provider using these settings.
Below the tab Advanced, you will find the option Conditional Logic. With this option enabled you can trigger the payment feed, only if the set condition is met.
Update user role
Also below the Advanced tab, the setting Update User Role is available. This option will update the user role, if a payment has been completed. Create a new form field with the possible role values and connect it to this option.
- Publish your form!
After setting up the form it’s time to publish it and receive payments!
Struggling with the configuration or questions about our Pronamic Pay plugin? Don’t hesitate to ask! You can open a new support ticket on this page.