Gravity Forms

In this article, you'll learn how to integrate the WordPress plugin Gravity Forms with Payrexx, allowing your customers to make payments directly through the forms you create using Gravity Forms.

Overview

Gravity Forms is a WordPress plugin for creating custom forms. With Gravity Forms, users can easily build contact forms, surveys, and registration forms — without any programming knowledge.

With the plugin developed by the agency cloudWEB, Payrexx can be seamlessly integrated into Gravity Forms. This allows you to enable direct payments for your customers through forms created with Gravity Forms.

Features

  • ✅ Complete purchases directly within Gravity Forms

  • ✅ Customize the look & feel of the payment page

  • ✅ Transfer customer and payment data to Payrexx

  • ✅ Synchronize order status between Gravity Forms and Payrexx

Integration

Follow the steps below to integrate Payrexx into Gravity Forms.

Configuration of Payrexx

Make sure you're logged in to your Payrexx account before you begin. If you don’t have a Payrexx account yet, you can register now.

  • In your Payrexx merchant dashboard, navigate to API & Plugins.

  • Click on "Add API Key":

Starting the setup of an API Key in Payrexx
  • Assign a name of your choice to the integration and click the green "Add" button:

Creating the API Key for Gravity Forms
  • Copy the API key to your clipboard, as you will need it later when configuring Gravity Forms:

Copying the API Key to the Clipboard

Configuration of Gravity Forms

  • Log in to your WordPress account.

  • Install the Gravity Forms plugin.

  • Activate the license for the Gravity Forms plugin.

  • Install and activate the Payrexx Add-On for Gravity Forms.

View in WordPress with installed and activated Plugins

Creating a Form

For more information and a detailed guide on how to create forms, please visit the Gravity Forms website.

  • Follow the steps below to create a form using Gravity Forms and integrate the Payrexx payment solution.

  • In the main menu of your WordPress dashboard, navigate to Forms > New Form.

  • Select "Blank Form" as the template type:

Creating a new "Blank Form" in Gravity Forms
  • Choose a title for your form and, optionally, add a description. Then click the "Create Blank Form" button:

Entering the title and description and creating the form
  • Use the drag-and-drop editor to add at least the following fields to your form:

Creating the form fields in Gravity Forms
  1. Name (Group: Standard Fields, Type: Single Line Text)

  2. First Name (Group: Standard Fields, Type: Single Line Text)

  3. Email (Group: Advanced Fields, Type: Email)

  4. Product (Group: Pricing Fields, Type: Product)

  5. Total (Group: Pricing Fields, Type: Total)

  6. Payrexx (Group: Pricing Fields, Type: Payrexx)

Please make sure to define an amount greater than 0.00 in the product field.

  • Hover over "Settings" and click on "Payrexx":

Opening the Payrexx Feeds in Gravity Forms
  • In the Payrexx Feeds section, click "Add New":

Adding a Feed in Gravity Forms
  • Enter a name for the integration (1), and under "Transaction Type", select "Products and Services":

Configuring the feed in Gravity Forms

After selecting "Products and Services", additional fields will appear.

  • Ensure that the "Payment Amount" field is set to "Form Total".

Configuring the Payment Amount field
  • Configure the fields based on the following image:

Configuring the connection with Payrexx
  1. API Key: Paste the API key that you copied to the clipboard during the Payrexx setup.

  2. Instance Name: Enter the instance name of your Payrexx account. For example, if your account URL is example.payrexx.com, your instance name would be "example".

  3. VAT Rate: Enter the applicable VAT rate for the country in which your customers are located.

  4. Currency: Select your preferred currency.

  5. Success Confirmation: Choose which confirmation message should be sent after a successful payment.

  • Assign the corresponding "Form Field" to the fields you created:

Assigning the form fields
  • Complete the configuration by scrolling to the bottom of the page and clicking "Save Settings".

Embedding the Form into Your Website

The following guide explains how to embed the form into your website:

Support

If you have any questions about integrating Gravity Forms with Payrexx, our support team will be happy to assist you:

Payrexx Support Portal

If you have questions about creating forms, please refer to the following documentation or contact Gravity Forms support:

Last updated

Was this helpful?