Gravity Forms Paystation (3 Party Hosted)


Gravity Forms Paystation (3 party hosted) adds a 3 party hosted credit card payment gateway for Paystation to the Gravity Forms plugin.

With this plugin you can use Gravity Forms to create various types of payment forms…

  • Product forms
  • Online Booking forms
  • Donation forms
  • Service payment forms

NOTE: this plugin requires Gravity Forms; so you need to have installed and activated Gravity Forms.



  • Options screen.
  • Sample Payment Form creation.
  • List of Paystation (3 party hosted) feeds.
  • Add new Paystation (3 party hosted) feed – mapping form fields to API parameters.
  • Sample Product form created in Gravity Forms.
  • List of entries for the example form.
  • Entry in the Gravity Forms showing successful payment.


  1. Install the Gravity Forms plugin.
  2. Activate the Gravity forms plugin, and set settings as desired (refer to gravity forms documentation if needed).
  3. Upload the Gravity Forms Paystation (3 party hosted) plugin to your /wp-content/plugins/ directory.
  4. Activate Gravity Forms Paystation (3 party hosted) via Plugins menu in WordPress.

Using Gravity Forms Paystation (3 party hosted)

Before you can use the plugin to make payments, you need to create an account with Paystation.
To do this please see visit the Paystation website.

Then you will need to enter some information in the plugin settings

  1. Select ‘Plugins’ from the WordPress Admin menu.
  2. Click the ‘Settings’ link for the Gravity Forms Paystation (3 party hosted) plugin.
  3. Enter your Paystation Id in the Paystation Id field.
  4. Enter your Paystation Gateway Id in to the Paystation Gateway Id field.
  5. Enter a string of letters and numbers for the Security Hash (8 to 20 characters is fine).
  6. Save the settings by clicking the ‘Save Settings’ button.
  7. Email letting us know the following: that you are using the Paystation Gravity forms plugin, the url to your wordpress site, and what your Security Hash is.

Building a Gravity Form with Credit Card Payments

  1. Create a new Gravity form
  2. Add one or more Product fields or a Total field to your form. The plugin will automatically detect the values assigned to these pricing fields
  3. Return to Paystation (3 party) menu where you setup your Paystation settings above and click ‘Setup Paystation Feed’
  4. Click ‘Add New’ feed at the top of the page
  5. Select your form from the dropdown at the top of the page and save
  6. If you want custom field mappings to Paystation data, you can map your form fields to Paystation transaction fields (Merchant Reference, Customer details, Order details), be aware
    a form field can only be mapped to one Paystation transaction field at a time.


What is Paystation (3 party hosted)?

Paystation (3 party hosted) is a Credit Card payment gateway. Paystation is one of New Zealand’s leading online payments solution providers.

Will this plugin work without installing Gravity Forms?

No. This plugin adds a Paystation 3rd Party Hosted gateway to Gravity Forms so that you can do online payments with your forms.
You must purchase and install a copy of the Gravity Forms plugin.

What Gravity Forms license do I need?

Any Gravity Forms license will do; you can use this plugin with the Personal, Business or Developer licenses.

Where will the customer be directed after they complete their payment with the Paystation payment screens?

Standard Gravity Forms submission logic applies. The customer will either be shown your chosen confirmation message, an error message if the payment failed,
directed to a nominated page on your website, or sent to a custom URL. It depends on what you have specified for the Confirmation settings of the Gravity Form.

Where do I find the Paystation transaction number?

Successful transaction details including the Paystation transaction number are shown in the Info box when you view the details of a form entry in the WordPress admin.
Details of the payment also appear in the Paystation online Admin which you as Paystation customer have access to.

How do I change my currency type?

Use your Gravity Forms Settings page to select the currency type to pass to Paystation. Please ensure your currency type is one of the ones supported by Paystation.

Where can I find dummy Credit Card details for testing purposes?

Visit the Test Card Number page

Can I use this plugin on any shared-hosting environment?

The plugin will run in shared hosting environments, but requires PHP 5 with the following module enabled (talk to your host).
This is typically available because is is enabled by default in PHP 5, but may be disabled on some shared hosts.

  • SimpleXML


Read all 3 reviews

Contributors & Developers

“Gravity Forms Paystation (3 Party Hosted)” is open source software. The following people have contributed to this plugin.



1.5.6 [2024-04-10]

  • Fix: single shipping field bug fix

1.5.5 [2022-12-12]

  • Fix: checking error code as a string instead of int, fix versioning

1.5.4 [2022-12-12]

  • Fix: checking error code as a string instead of int

1.5.3 [2022-11-01]

  • Update supported WordPress version

1.5.2 [2022-06-01]

  • Fix plugin versioning

1.5.1 [2022-06-01]

  • Update supported WordPress version

1.5.0 [2018-05-07]

  • Updated to work with PHP 7
  • Updated for gravity forms version 2.3 – replacing deprecated function GFFormsModel::update_lead() with GFAPI::update_entry()

1.4.5 [2018-03-14]

  • Fixed “amount must be an integer (cents)” error

1.4.4 [2018-03-01]

  • Fixed issue with PHP conversion of floats to integers on payment amount

1.4.3 [2015-09-17]

  • Added do_action(‘gfpaystation_post_payment’, $lead, $form) after payment success and do_action(‘gfpaystation_post_payment_fail’, $lead, $form) after payment failed so devs can hook in to these events.
  • Fixed non-display of the payment information when looking at form entry details (due to Gravity Gravity forms change).
  • Tested against WordPress 4.4 and Gravity Forms 1.9.13

1.4.2 [2015-04-22]

  • Something screwy happened with SVN when trying to add and commit 1.4.1 so had to create new 1.4.2 directory. No changed from previous version.

1.4.1 [2015-04-22]

  • Tested with WordPress 4.1.2 and WordPress 4.2 beta and Gravity Forms 1.9.6. No problems detected.

1.4.0 [2014-09-09]

  • Tested with WordPress 4.0 and Gravity Forms 1.8.13 and everything looks fine.
  • Added a new feature allowing payments to go in to different Paystation accounts for merchants with multiple Paystation accounts.

1.3.1 [2014-04-29]

  • Tested with WordPress 3.9 and Gravity Forms 1.8.7. All good!

1.3.0 [2014-03-06]

  • As requested, made it so that the payment datetime is saved as GMT / UTC time rather than New Zealand date and time so it will display correctly no matter the timezone set in the WordPress settings.

1.2.1 [2014-02-27]

  • Fixed bug where if a Failure URL was specified in the settings then the user would always be directed there even if the payment was successful.

1.2.0 [2014-01-23]

  • Fixed issues (due to changes in Gravity Forms version 1.7) with the notifications.
  • Fixed nonce handling issue in options admin page.
  • Implemented fix to ensure that WordPress SEO does not break operation of this plugin.

1.1.0 [2013-10-16]

  • Fixed a couple of bugs that prevented test mode being turned off.
  • Corrected grammar error in the readme.txt

1.0.0 [2013-03-11]

  • Original Version.