🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 28, 2026

How to Take PayTrace Payments with Gravity Forms (Sales, Authorizations and Recurring)

GravityExtra
How to Take PayTrace Payments with Gravity Forms (Sales, Authorizations and Recurring)

If you take payments on your website with Gravity Forms and your merchant account is with PayTrace, you want the two to talk to each other directly: a customer fills in your form, the card is charged through your own PayTrace account, and the result is recorded against the Gravity Forms entry. The Gravity Forms PayTrace Premium Add-on does exactly that, with sales, authorizations you capture later, refunds and recurring billing, all driven by your own PayTrace API credentials. This guide explains how it works and how to set it up.

Why connect Gravity Forms to PayTrace directly

PayTrace is a payment gateway: it is the service that actually moves money from a customer’s card to your merchant account. Gravity Forms is where you build the form the customer fills in. Connecting them directly, rather than routing the payment through a third party that sits in the middle, matters for two reasons. First, it is simpler and more reliable: there is one less service that can break or go down between your customer and your money. Second, it keeps you in control: the charge happens on your own PayTrace account, with your own credentials, and nothing passes through anyone else.

A direct connection also means the payment and the form data stay together. The name, email, billing address and any order details the customer entered are saved as a Gravity Forms entry, and the PayTrace transaction is recorded on that same entry, so you have one place that shows both what was ordered and what was paid.

Sales and authorizations

Every payment feed you build chooses how the card is charged. A sale takes the money straight away: the customer submits the form, the card is charged, and the entry is marked as paid with the PayTrace transaction id. This is what most one-off payments, donations and product orders want.

An authorization is different. It holds the amount on the customer’s card without taking it, which is useful when you cannot fulfil the order immediately. You confirm you can supply the product or service, then capture the authorization from the Gravity Forms entry to take the money; or, if you cannot, you void it and the hold is released. Choosing between a sale and an authorization is a single setting on the feed, so you can run both kinds of payment from the same site.

Capture, void and refund from the entry

Once a payment exists, you manage it from the Gravity Forms entry without signing in to PayTrace. An authorized payment shows capture and void buttons on the entry; a completed sale can be refunded. Each button talks to PayTrace and then updates the entry’s payment status, so the entry is always an accurate record of where the money is. Because these actions can move money, they are limited to users who are allowed to edit entries, so a casual admin cannot accidentally refund a customer.

Recurring payments

If you sell memberships, subscriptions or instalment plans, a feed can take a recurring payment instead of a one-off charge. On the first submission the add-on creates a PayTrace customer from the card and billing details, then starts a PayTrace recurrence on the schedule you choose, anything from daily to annually, for as many payments as you set. The customer is charged automatically from then on, with no further action from you or from them.

Your credentials are encrypted at rest

The add-on uses your own PayTrace API username and password to request a secure token and run each transaction. Those credentials are sensitive, so the add-on encrypts the API password before it stores it on your site. The plain value is never left in the database, and the password is never written to an entry or a log. On the settings page, once a password is saved the field shows a masked placeholder: you leave it alone to keep the stored password, or type a new one to replace it. If you are updating from an older version that stored the password in plain text, it is moved into the encrypted store automatically the first time you open the admin.

Card data goes straight to PayTrace

The customer enters their card details in a dedicated PayTrace field on your form: card number, expiry and security code. Those details are sent to PayTrace to run the charge; your site keeps only a masked card number on the entry, never the full number. If you enable PayTrace client-side encryption and upload your account’s public key, the card number and security code are encrypted in the browser, using the PayTrace encryption library, before they are sent. Either way, the add-on only ever contacts the PayTrace API host, so your customers’ card data goes exactly where it should and nowhere else.

Setting it up

Setup has three stages: connect your account, add the field, and build a feed. First, open Forms, then Settings, then PayTrace, and enter your license key followed by your PayTrace API username and password. Choose the sandbox environment while you test and live when you are ready for real cards. If you use client-side encryption, tick the option and upload your PayTrace public key file.

Second, edit the form that should take payments and add the PayTrace field from the pricing fields group. Add your product, donation or total fields so the form has an amount, and the ordinary fields you want to keep, such as the customer’s name, email and billing address.

Third, in the form’s PayTrace settings, add a feed. Name it, choose a sale or an authorization, set the amount to your form total or a product field, and map the billing name, email and address to your form fields. Add conditional logic if the feed should only run in some cases. Save the feed, and the form is ready to take payments.

Test before you go live

With the environment set to sandbox, submit the form with a PayTrace test card and watch the entry: a sale should be marked paid with a transaction id, and an authorization should be marked authorized, ready to capture. Try a decline too, so you can see the message the customer gets when a card is refused. When everything behaves, switch the environment to live, put your live credentials in place, and run one small real payment and refund it so you have seen the full path on your production site.

Notifications keep your workflow moving

Because this is a payment add-on, your Gravity Forms notifications can fire on payment events, not just on submission. Send a receipt when a payment is completed, an internal alert when one fails, or kick off the next step in your process when an authorization is voided or a payment is refunded. The payment status on the entry drives it all, so the rest of your automation stays in step with the money.

In short

The Gravity Forms PayTrace Premium Add-on turns any Gravity Forms form into a PayTrace payment form: sales or authorizations, capture, void and refund from the entry, recurring billing, and your own credentials kept encrypted. It keeps the payment and the form data together, keeps you in control of your own merchant account, and keeps card data flowing straight to PayTrace. Read the full setup documentation, or see everything the add-on does on the Gravity Forms PayTrace Premium Add-on page.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr