🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Satispay Payment Gateway Premium Add-on Setup Guide

Updated 9 min read Gravity Forms Payments & Pricing
On this page
  1. Video walkthrough
  2. What You Get
  3. Requirements
  4. Quick Start
  5. Step 1: Connect Your Satispay Account
  6. Step 2: The Feed
  7. What the Customer Sees
  8. How an Entry Becomes Paid
  9. The Entry Screen and Refunds
  10. Notifications, Conditional Logic and Other Add-ons
  11. Currency
  12. What Is Not in Version 1.0.0
  13. Questions People Ask
  14. Does my site see any payment data?
  15. Where is my private key kept?
  16. What if the customer closes the browser after paying?
  17. Can I test without real money?
  18. Does it work with other Gravity Forms add-ons?

Video walkthrough

Gravity Forms Satispay Payment Gateway Setup Guide: Activation Code & Callback (WordPress Side)
Video setup guide: Gravity Forms Satispay Payment Gateway Watch on YouTube

The Gravity Forms Satispay Payment Gateway Premium Add-on lets a Gravity Forms booking, order or donation form take payments with Satispay, the mobile payment app used in Italy and other European countries. The customer is sent to the Satispay payment page, scans the code or types the phone number, confirms the payment in the Satispay app and comes back to your site with the entry already marked as paid. Nothing about the payment is typed on your site, and your server keeps only a payment id and a result.

What You Get

  • A payment feed for Gravity Forms with the transaction types Products and Services and Donations. Every pricing field, discount and shipping field of the form is part of the amount, and the amount is worked out on the server, in euros.
  • The Satispay web redirect. The add-on creates the payment, the customer is sent to the Satispay page, and the payment is confirmed in the app.
  • Signed requests. Every call to Satispay is signed with an RSA key pair that your own site makes. The private key is stored encrypted and never leaves the server.
  • A callback that is only a signal. Satispay calls your site when a payment changes, but the call does not say what changed, and the add-on never believes it: it reads the payment from Satispay and compares the payment id, the kind of payment, the amount and the currency before it marks the entry as paid.
  • Full and partial refunds from the entry screen, sent to Satispay as refund payments.
  • A status check every five minutes, so a customer who confirms the payment and then closes the browser tab still ends up with a paid entry.
  • Sandbox and live connections, a Test connection button, entry notes, conditional logic, payment notification events, and feeds of other add-ons that can wait for the payment.

Requirements

You need Gravity Forms 2.9 or newer, WordPress 6.5 or newer, PHP 7.4 or newer with the OpenSSL extension, and your own Satispay Business account. Sign up in the Satispay Business dashboard, wait for Satispay to verify the business profile, and create a shop of the online type. In that shop you can generate an activation code: it is the only thing you copy from Satispay. No partner contract or approval is needed, and the add-on only talks to Satispay and to your own site. Your site should use HTTPS, because Satispay sends the customer back to it and calls it. Satispay takes euros only, so the currency of Gravity Forms must be EUR.

Quick Start

  1. Install and activate the add-on, then activate your license key under Forms, Settings, Satispay.
  2. In the Satispay Business dashboard open your online shop and generate an activation code. Paste it into the Live activation code field, or, to test first, paste a sandbox code into the Sandbox activation code field, and save. The add-on makes its own key, exchanges the code for a key id and proves the key with a signed test call.
  3. Set the currency of Gravity Forms to EUR and build a form with product fields and a Total field.
  4. Open the form settings, choose Satispay and add a feed. Set the payment reference the customer sees in the app.
  5. Make a test payment, then check the entry. When everything looks right, connect the live environment and switch to Live.
The Satispay settings in Gravity Forms: sandbox or live, activation code fields, the connection status with a masked key id, Test connection and Disconnect buttons, the currency check and the callback address
One settings page: paste an activation code, see the connection, test it or disconnect.

Step 1: Connect Your Satispay Account

Open Forms, Settings, Satispay. The first choice is the environment. Sandbox is the default: payments go to the Satispay staging environment, no money moves and every entry is marked as a sandbox payment. Each environment has an activation code field and a connection line.

Satispay does not hand out a password. It uses a key pair. When you save an activation code, your site makes a new RSA key pair, sends the public key and the code to Satispay, and Satispay answers with a key id. From then on every request carries a signature made with your private key, and Satispay checks it with the public key it was given. Activation codes work once and only for the environment they were made for, so a sandbox code does not work for live and the other way round. If a code is refused, you see why and nothing is saved.

The private key is encrypted with a key made from your site salts and stored out of the normal settings. The page never shows it, and the activation code itself is never stored. After a connection, the page shows a masked key id and two buttons. Test connection sends a signed, read-only request to Satispay and tells you whether the key, the key id and the signature all work. Disconnect forgets the key of that environment, and you can connect again with a new code at any time.

Making a key takes a few seconds on a slow server, because the add-on uses a 4096 bit key like the Satispay documentation. If your server has no OpenSSL configuration file, the add-on uses a minimal temporary one for that moment.

Step 2: The Feed

Add a feed to the form. Choose Products and Services for orders and bookings, or Donations for a form where the donor types an amount in a field of the user defined price type. Pick the payment amount: the form total, or one product field.

The payment reference is shown to the customer in the Satispay app and is kept with the payment in your Satispay reports. Merge tags work, for example the form title followed by the entry id. At most fifty characters are sent, which is the limit Satispay sets for it. Satispay does not take customer details with a payment, so there is nothing to map.

Tick Send form notifications only after the payment is accepted to hold the normal notifications, such as a booking email, until the money has really arrived. The feed supports conditional logic: only the submissions that match go to Satispay, and the others are saved as normal entries.

The Satispay feed settings in Gravity Forms: the payment reference shown in the Satispay app and the option to hold notifications until the payment is accepted
One feed per form: the reference the customer sees in the app and the notification option.

What the Customer Sees

The customer fills in the form and presses the button. The add-on creates the payment at Satispay and sends the customer to the Satispay page. On a computer the page shows a code to scan with the Satispay app, or a field for the phone number. On a phone the Satispay app opens by itself. The customer confirms the amount in the app, and Satispay sends the customer back to the page with your form, where the confirmation you set up in Gravity Forms appears.

If the customer comes back before Satispay has confirmed the payment, a short message says the payment is being confirmed and the page checks again by itself. If the customer cancels in the app, the page says the payment was not completed, nobody is charged, and the entry is marked as failed with a note and the failure notification.

How an Entry Becomes Paid

Three things can tell your site that a payment happened: the customer coming back, the callback Satispay sends, and the status check that runs every five minutes. They all lead to the same step. The add-on asks Satispay for the payment with a signed request and compares four things: the payment id is the one stored for this entry, the payment is a charge and not a refund, and the amount in cents and the currency are the ones the server worked out. Only then is the entry marked as paid, once. A callback that arrives while the payment is still waiting changes nothing, and so does a changed address in the browser.

If Satispay reports another amount, another currency or another kind of payment, the entry is not marked as paid. It is marked as failed with a clear note, written once, so you can look at the payment in your Satispay dashboard. A payment that expires without being confirmed, which Satispay does after two hours by default, closes the entry as failed too.

A Gravity Forms entry paid with Satispay, with payment details, a Satispay box showing the payment id, reference, amounts and a refund field, and entry notes
The entry shows the Satispay payment id, the amounts and a refund box, with notes for every step.

The Entry Screen and Refunds

Every entry paid with Satispay has a Satispay box on the entry screen. It shows the status, the Satispay payment id, your reference, the amount and what was refunded. A sandbox payment carries a badge, and a link opens your Satispay dashboard.

To refund, type an amount and press Refund. The amount defaults to what is left. Every refund asks for a confirmation, needs a valid nonce and the permission to edit entries, and carries a one-time request id and an idempotency key, so a double click or a reload cannot refund twice. The add-on creates a payment with the refund flow that points to the original payment, then reads that refund payment from Satispay and records it only when Satispay reports it as accepted for the right amount. The first partial refund sets the entry to Partially Refunded, and the refund that reaches the full amount sets it to Refunded, with the refund notification.

Satispay allows refunds within 365 days of the payment and only through its API, which is what this add-on uses. If Satispay refuses a refund you see its message and the entry is not changed. If it does not answer, a note says the result is unknown and asks you to look in the Satispay dashboard before you try again.

Notifications, Conditional Logic and Other Add-ons

Gravity Forms notifications get three payment events: payment completed, payment refunded and payment failed. Feeds of other add-ons, such as an email marketing or CRM feed, can be told to run only when the payment is completed. Tick the choice that appears under Post Payment Actions on the Satispay feed, and the other add-on waits.

Currency

Satispay takes euros only. The add-on refuses a form in another currency with a clear message and no entry, and the amount is sent as a whole number of cents, as Satispay requires.

What Is Not in Version 1.0.0

This version takes one-time payments. Satispay also offers automatic payments with a stored authorization and funds locks with late capture, and they are not part of this release.

Questions People Ask

Does my site see any payment data?

No. The customer pays in the Satispay app on the Satispay page. Your site receives a payment id and a status.

Where is my private key kept?

On your server, encrypted, outside the normal settings. It signs requests on the server and it is never sent to a browser or printed in a log.

What if the customer closes the browser after paying?

The callback from Satispay or the status check every five minutes finds the accepted payment and updates the entry.

Can I test without real money?

Yes, with a Satispay sandbox account. Request one from Satispay, paste its activation code in the sandbox field, and entries are marked as sandbox payments.

Does it work with other Gravity Forms add-ons?

Yes. Conditional logic, notifications and feeds that wait for the payment all work with the Satispay feed.

The Satispay add-on is part of the GravityExtra collection of Gravity Forms add-ons. See the Gravity Forms Satispay Payment Gateway Premium Add-on for the details.

See the Satispay add-on

Still need help?

Our support team answers tickets every day, usually within a few hours.

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