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

Gravity Forms Cash App Pay Payment Gateway Premium Add-on Setup Guide

Updated 11 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 Stripe Account
  6. Step 2: The Webhook
  7. Step 3: The Feed
  8. What the Customer Sees
  9. How an Entry Becomes Paid
  10. The Entry Screen and Refunds
  11. Disputes
  12. Notifications, Conditional Logic and Other Add-ons
  13. Currency and Limits
  14. What Is Not in Version 1.0.0
  15. Questions People Ask
  16. Does my site see any payment data?
  17. Do I need another Stripe add-on?
  18. Where are my keys kept?
  19. What if the customer closes the browser after approving?
  20. Can I test without real money?
  21. Does it work with other Gravity Forms add-ons?

Video walkthrough

Gravity Forms Cash App Pay Payment Gateway Setup Guide: Stripe Keys & Webhook (WordPress Side)
Video setup guide: Gravity Forms Cash App Pay Payment Gateway Watch on YouTube

The Gravity Forms Cash App Pay Payment Gateway Premium Add-on lets a Gravity Forms order, booking or gift form take payments with Cash App Pay, the wallet many customers in the United States already use on their phone. The customer is sent to a Stripe payment page, scans a code or opens the Cash App app, approves the payment and comes back to your site with the entry already marked as paid. The payments go through your own Stripe account. Nothing about the payment is typed on your site, and your server keeps only a Stripe 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 US dollars.
  • Stripe Checkout, limited to Cash App Pay. The add-on creates a Checkout Session for the order, the customer is sent to the Stripe page, and the payment is approved in the Cash App app.
  • Signed webhooks. Stripe signs every delivery. The add-on checks the signature and the time on the raw request before it looks at anything else, and ignores deliveries that are too old.
  • A webhook that is only a signal. The add-on never believes what an event says: it reads the Checkout Session and its payment from Stripe again and compares the session id, the amount, the currency and the payment before it marks the entry as paid.
  • Full and partial refunds from the entry screen through the Stripe Refunds API, including the fact that Cash App Pay refunds finish later, and refunds you make in the Stripe Dashboard.
  • A status check every five minutes, so a customer who approves the payment and then closes the browser tab still ends up with a paid entry.
  • Test and live connections, a Test connection button, entry notes, conditional logic, payment notification events, a note when a customer opens a dispute, 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 Stripe account located in the United States with Cash App Pay turned on. Cash App Pay takes US dollars only and is available to customers in the United States, with a minimum of fifty cents per payment. Stripe decides which kinds of business may use it: some business categories are restricted or prohibited, for example charitable fundraising, legal services and software, so read the list on the Cash App Pay page of the Stripe documentation before you plan a launch. The add-on is self-serve: you paste your own keys, it talks only to Stripe and to your own site, and no approval from a third party is needed. Your site should use HTTPS, because Stripe sends the customer back to it and calls it, and live webhooks need HTTPS.

Quick Start

  1. Install and activate the add-on, then activate your license key under Forms, Settings, Cash App Pay.
  2. In the Stripe Dashboard turn on Cash App Pay under Settings, Payment methods. Open Developers, API keys and copy a secret key: the test key first.
  3. Paste the key into the Test secret key field and save. The add-on checks the key with Stripe and shows what the account can do.
  4. In Developers, Webhooks, add an endpoint with the address shown on the settings page and the events listed under it. Copy its signing secret into the Test webhook signing secret field and save.
  5. Set the currency of Gravity Forms to USD and build a form with product fields and a Total field. Add a Cash App Pay feed to the form.
  6. Make a test payment. When everything looks right, repeat the key and the webhook for the live environment and switch to Live.
The Cash App Pay settings in Gravity Forms: test or live, secret key and webhook signing secret fields, the connection status with masked keys, the Cash App Pay capability line, Test connection and Disconnect buttons, the currency check and the webhook address with its events
One settings page: paste the Stripe keys, see the connection, test it or disconnect.

Step 1: Connect Your Stripe Account

Open Forms, Settings, Cash App Pay. The first choice is the environment. Test is the default: payments use your Stripe test keys, no money moves, and every entry is marked as a test payment. Each environment has a secret key field, a webhook signing secret field and a connection line.

A secret key starts with sk_ and a restricted key with rk_. When you save, the add-on checks the shape of the key and that it belongs to the environment of the box you pasted it in, so a live key in the test box is refused with a clear message. It then asks Stripe for the newest Checkout Session to prove the key works, and when the key may read the account it also reports the country of the account and whether Cash App Pay is active. A key that Stripe refuses is not saved. A restricted key works when it can write Checkout Sessions and Refunds and read PaymentIntents.

The key is encrypted with a key made from your site salts and stored outside the normal settings. The page shows only the prefix and the last four characters, and the fields are always empty when you come back: type a new value only when you want to replace one. Test connection repeats the read and tells you whether Stripe accepts the key. Disconnect forgets both secrets of that environment.

Step 2: The Webhook

In the Stripe Dashboard open Developers, Webhooks and add an endpoint. Use the address shown on the settings page and choose these events: checkout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired, refund.created, refund.updated, refund.failed and charge.dispute.created. Stripe then shows the signing secret, which starts with whsec_. Paste it into the signing secret field of the same environment. The test and the live environment have their own endpoint and secret, and they may share the same address.

Every delivery carries a Stripe-Signature header with a timestamp and a signature. The add-on computes the signature over the timestamp and the raw body with your signing secret, compares it in constant time, and refuses the delivery when it does not match or when the timestamp is more than five minutes away from now, which stops a replayed copy. While you roll a signing secret in Stripe, both signatures are accepted. Without a signing secret the add-on still works, because it also checks payments when the customer returns and every five minutes, but webhooks make confirmation instant and are needed to learn about refunds you make in Stripe.

Step 3: 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 description becomes the product name on the Stripe page and in your Stripe Dashboard. Merge tags work, for example the form title followed by the entry id. The optional name in the Cash App app is sent as the Stripe statement descriptor and appears in the Cash App app only: it has twenty-two characters at most and a few characters are removed. Cash App Pay takes no customer details with a payment, so there is nothing to map.

Tick Send form notifications only after the payment is confirmed to hold the normal notifications, such as an order email, until the money has really arrived. The feed supports conditional logic: only the submissions that match go to Cash App Pay, and the others are saved as normal entries.

The Cash App Pay feed settings in Gravity Forms: the payment description shown on the Stripe page, the name in the Cash App app and the option to hold notifications until the payment is confirmed
One feed per form: the product name on the Stripe page, the name in the Cash App app and the notification option.

What the Customer Sees

The customer fills in the form and presses the button. The add-on creates a Checkout Session that offers Cash App Pay only, with one line for the total, and sends the customer to the Stripe page. On a computer the page shows a QR code to scan with the phone. On a phone the Cash App app opens. The customer has ten minutes to approve the payment in the app, and then returns to the page with your form, where the confirmation you set up in Gravity Forms appears.

If the customer comes back before Stripe has confirmed the payment, a short message says the payment is being confirmed and the page checks again by itself. If the customer presses the back button on the Stripe page, the add-on closes the open session, so a payment cannot be started later from an old tab, and the page says the payment was not completed and nobody was charged. 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 webhook from Stripe, and the status check that runs every five minutes. They all lead to the same step. The add-on asks Stripe for the Checkout Session with its payment attached and compares what comes back with what the server worked out: the session id stored for the entry, the payment mode, the amount in cents, the currency, Cash App Pay as the method, the reference of the entry, and for the payment itself that it has succeeded and that the amount received is the amount of the order. Only then is the entry marked as paid, once. A webhook that arrives while the payment is still waiting changes nothing, and so does a changed address in the browser or an event that claims a payment that Stripe does not show.

If Stripe reports another amount, another currency or another method, 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 Stripe Dashboard. A session that expires without a payment, which Stripe does after one hour for these sessions, closes the entry as failed too.

A Gravity Forms entry paid with Cash App Pay, with payment details, a Cash App Pay box showing the Stripe payment, the checkout session, the reference, the amounts and a refund field, and entry notes
The entry shows the Stripe payment, the amounts and a refund box, with notes for every step.

The Entry Screen and Refunds

Every entry paid with Cash App Pay has a Cash App Pay box on the entry screen. It shows the status, the Stripe payment id, the checkout session, your reference, the amount, what was refunded and what is pending. A test payment carries a badge, and a link opens the payment in your Stripe 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. Stripe refunds can be made for ninety days after the payment, and the add-on checks that locally too.

Cash App Pay refunds are asynchronous: Stripe accepts the request at once, and Cash App finishes it within ten business days. A refund cannot be canceled once it is submitted. For this reason the add-on keeps a ledger. A new refund is shown as pending, its amount is reserved so it cannot be refunded again, and the entry stays as it was. When Stripe reports the refund as succeeded, through the webhook or the five-minute check, the entry becomes Partially Refunded or Refunded with the refund notification and one note. If a refund fails, the add-on writes one note that tells you Stripe returned the amount to your Stripe balance and that you must arrange another way to pay the customer, and the amount can be refunded again. Refunds made in the Stripe Dashboard are found the same way.

Disputes

Customers can dispute a Cash App Pay payment for up to one hundred and twenty days. When Stripe tells your site that a dispute was opened, a note appears on the entry with the dispute id and a reminder that the evidence is due in thirteen days. The dispute itself is answered in the Stripe Dashboard.

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 Cash App Pay feed, and the other add-on waits.

Currency and Limits

Cash App Pay takes US dollars only. The add-on refuses a form in another currency with a clear message and no entry, and a total below fifty cents is refused the same way. The amount is sent to Stripe as a whole number of cents. Stripe advises using Cash App Pay for lower value orders, because Cash App sets its own limits per customer and a large payment is more likely to be declined.

What Is Not in Version 1.0.0

This version takes one-time payments. Cash App Pay can also be saved for later charges and used with subscriptions on Stripe, and that is not part of this release.

Questions People Ask

Does my site see any payment data?

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

Do I need another Stripe add-on?

No. This add-on stands on its own and talks to Stripe directly with your key.

Where are my keys kept?

On your server, encrypted, outside the normal settings. They are used on the server only and are never sent to a browser or printed in a log.

What if the customer closes the browser after approving?

The webhook from Stripe or the status check every five minutes finds the paid session and updates the entry.

Can I test without real money?

Yes. Use your Stripe test keys. On the Stripe test page you can approve or decline the payment, and entries are marked as test 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 Cash App Pay feed.

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

See the Cash App Pay 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