Summary
The Stripe Add-On 6.0 is the latest feature release for our Stripe integration. It introduces changes to how payment outcomes are handled and improves the payment flow for the Stripe Card Element. The Stripe Add-On 6.0 also adds a new filter for controlling submission timeouts.
New Features
Note: Stripe 6.0’s changes are only available for the Stripe Card Element payment method and when the Stripe’s Payment Element is not enabled.
Entry Creation Changes
From Stripe 6.0 onwards, the process for creating and managing entry events with the Stripe Card Element payment method has been updated to create an entry when a payment fails. The payment result is recorded in the Payment Status field of the entry. Starting with Stripe 6.0, an entry will be created for successful and failed payments via the Stripe Card Element.
Refer to the Post Payment Actions For Stripe article for more information.
Timeout Confirmation
With Stripe 6.0, a new Timeout Confirmation lets customers know when their payment will take longer.
When a customer submits a payment:
- Successful payment. The default confirmation or one based on Active or Paid statuses is shown using conditional logic.
- Failed payment. A form validation error appears, allowing the customer to update their payment method and try again.
- No response in 20 seconds. The form submission times out, showing the new Timeout confirmation. This doesn’t mean the payment failed, it indicates a delay in Stripe’s webhook response.
Payment Status Conditionals for Confirmations
In Gravity Forms 2.9.1, we added payment status support to confirmation conditional logic, and Stripe 6.0 takes advantage of that feature. This means you will now see Payment Status options for any form linked to a Stripe feed.
Stripe 6.0 supports Active, Paid, and Processing payment statuses for confirmation conditional logic. This article provides more details about Payment Status.
Send Notifications On Payment Failed
With the updated payment workflow in Stripe 6.0, notifications have also been improved. Previously, there was no way to notify customers when their payment failed because notifications couldn’t be triggere\d on failure. Now, you can send notifications conditionally based on payment status, allowing you to reach out when a payment doesn’t go through automatically.
Check out this article for more information on payment notification events.
New Filters
Stripe 6.0 introduces new filters for enhanced customization and control over form behavior and integration.
Changelog
6.0
- Added a confirmation to be displayed if the form submission times out while waiting for a Stripe Webhook to be received.
- Updated the post payment action settings so that they are enabled by default when creating a Stripe feed.
- Updated the Stripe Card Element field to use the new AJAX submission and improve the reliability of form submissions.
- Updated the Stripe Card Element field to add a “Payment Processing” message to the submit button while payment is being processed.
- Updated the Stripe Card Element field to track failed payments by creating an entry even when a payment fails.
- Updated the Stripe Card Element field to add support for post payment actions, allowing add-on feeds to be fired only when payment succeeds.
- Updated the Stripe Card Element field so that it is properly displayed on the block editor pages.
- Updated the Stripe Payment Element setting label and description to avoid confusion.
- Updated Stripe to use the updated form Theme Framework implementation to focus state for accessibility, from being box-shadow based to outline-based.
- Updated “Connected to Stripe as: account” UI to use the component library to ensure consistency with other add-ons.
- Updated the webhooks instructions to reflect recent changes in Stripe’s dashboard.
- Updated the Payment Element field for ACH payments so that it does not allow bank details to be manually entered.
- Fixed an issue with mapped subscription coupons that are incorrectly validated when using the Payment Element.
- Fixed an issue that causes the Copy URL button to shift based on the length of the Endpoint URL in the settings page.
- Fixed a PHP fatal error that can occur on submission of a multi-page form when using the Payment Element with GF 2.9.18+, and there is a single File Upload field with an uploaded file on an earlier page.
- Fixed an issue with subscription coupons that causes the coupon to be applied twice when using the Card Element and mapping to a Coupon field.
- Fixed an issue preventing subscription payments from being processed adequately on Stripe’s latest webhook API.
- Fixed an issue with the Gravity Theme where credit card inputs do not receive a focus state outline for accessibility.
- Fixed an issue where the subscription frequency isn’t displayed correctly when using the customer billing portal shortcode.
- Fixed an issue that could prevent users from updating an entry if the Stripe Add-On is active.
- Removed the ending space from the translatable string “Connected to Stripe as:” to improve translation.
6.0-beta.1
- Enhanced the Stripe Card Element field with AJAX submission for more reliable form submissions.
- Added a “Payment Processing” message to the submit button while a payment is in progress.
- Updated the Stripe Card Element to create an entry for failed payments, enabling better tracking of unsuccessful transactions.
- Added support for post-payment actions, allowing add-on feeds to run only when a payment is successful.
- Ensured the Stripe Card Element displays correctly on block editor pages.
- Revised the Stripe Payment Element setting label and description for improved clarity.
- Fixed an issue where subscription coupons were applied twice when using the Card Element mapped to a Coupon field.