Changing Stripe Billing Information
This snippet will allow you to change a customer's billing information that has been stored within Stripe, using a form.
Deleting Cached Entry Data
This snippet will allow you to delete the cached entry data when viewing an entry. Note that you should only use remove the cached data if you need to, as it will impact performance.
Adding/Removing Countries From the Country Select Field
In some instances, you may need to add or remove a particular country to or from the country selection field in Gravity Forms.
PayPal Pro – Sending a Custom Product Label and Description
If you need to define a custom product name and description within PayPal using the PayPal Pro add-on, this snippet will allow you to do so:.
Requiring a Cardholder Name
As some payment add-ons such as the Authorize.net add-on do not require the cardholder name to be validated, it is not typically required within the credit card field.
Enable Editing of the Entry Payment Details
The payment details panel on the entry detail page is usually only displayed when the entry was processed by a payment add-on.
Cancel a Stripe subscription after n payments
The Stripe API doesn't allow you to set the total number of recurrences of a payment or an end date when creating the subscription but it is possible to cancel the subscription via the gform_post_add_subscription_payment hook which runs after a payment is recorded.
Enable use of the Total field with Conditional Logic
The Total field can't be used to configure conditional logic rules, the following snippet makes that possible. The snippet should be placed in the functions.php file of your active theme.
Create a customer in Stripe without capturing payment
You can create a customer in your Stripe.com dashboard, including their payment details, without actually charging the customer.
Send notifications on payment events
By default Gravity Forms only sends notifications for the form submission event, however, it is possible to define you own custom events.