Stripe Extension
The Stripe extension allows Gravity Flow administrators to authorize payments during the initial form submission and then capture, cancel, or refund those payments later in the workflow. It also supports creating and canceling recurring subscriptions. This gives full control over when and how payments are processed as the workflow progresses.
Key Capabilities
Authorize Payments During Form Submission
Collect credit card details and authorize a payment at the moment the form is submitted. The authorization can then be handled later in the workflow based on approval steps or other conditions.
Capture or Cancel Authorizations
Use dedicated workflow steps to capture a previously authorized payment or cancel an authorization if the request or process does not move forward.
Refund Payments
Add a refund step to process refunds for the current entry or another entry on the same site. This supports workflows where administrators handle refund decisions through review or approval.
Create and Cancel Subscriptions
Manage recurring payments by creating subscriptions during form submission and canceling those subscriptions as part of a workflow step.
Use the Transaction ID Field
A Transaction ID field can be added to a form and used by the Refund Payment step. It is available in the Workflow field group in the Gravity Forms Form Editor.
Consider Stripe Authorization Limits
Stripe automatically expires authorizations after seven days. Workflows that capture payments must complete the capture step within this time period.
View Actions and Filters docs for this extension .
Articles
Stripe Extension Introduction
The Gravity Flow Stripe Extension enables workflows to authorize payments during initial form submission, capture or cancel payments at a later date, and also refund payments.
Stripe Extension – Transaction ID Field
The Stripe Extension includes an additional field type which you'll find in the Workflow section of the Gravity Forms Form Editor.
License Key Constants
The constant for main Gravity Flow plugin is GRAVITY_FLOW_LICENSE_KEY Each extension has a license key constant that allows the license to be set via code instead of the database:.
Stripe Extension – Cancel Payment Step
The Cancel Payment step will cancel/void a payment that was authorized during the form submission. Remember that stripe automatically cancels (expires) payments after 7 days if the payment is not captured so your workflow must ensure that that the Cancel Payment step runs within a week of the initial form submission.
Stripe Extension – Capture Payment Step
The Capture Payment step will collect a payment that was authorized during the form submission. If there is a Capture Payment step in the workflow then the payment will automatically be set to authorized and will not be collected until the Capture Payment step runs.
Stripe Extension – Payment Form (Checkout)
The Gravity Flow Stripe Extension allows administrators to add a single checkout step at any point in the workflow. For example, a subscription could be started or payment requested after approval.
Stripe Extension – Cancel Subscription Step
The Cancel Subscription step will cancel a subscription that was started during form submission. Subscription ID Field: Select the field containing the ID of the subscription that will be cancelled.
Stripe Extension – Wait for Subscription Event
The Stripe Wait for Subscription Event step pauses the workflow until a webhook for one of the following subscription events is received by the Gravity Forms Stripe Add-On for a subscription started by your form.
Stripe Extension – Refund Payment Step
The Refund Payment step will refund a payment made either in the current entry or in a different one. Note that if you're refunding a subscription, it's recommended that you use the Cancel Subscription step before the refund step.
Stripe Extension – Subscription ID Field
The Stripe Extension includes a Subscription ID field which you'll find in the Workflow section of the Gravity Forms Form Editor.