Use Stripe to process payments with Gravity Forms
PHP JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
includes * Fix menu not showing with Gravity Forms 1.8 Jan 14, 2014
js -Ensure GF1.7.10 compatibility Oct 8, 2013
languages -Ensure GF1.7.10 compatibility Oct 8, 2013
gravity-forms-stripe.php * Fix menu not showing with Gravity Forms 1.8 Jan 14, 2014 Indicate support for WP 4.1 Dec 19, 2014
readme.txt Indicate support for WP 4.1 Dec 19, 2014
screenshot-2.png * Fix menu not showing with Gravity Forms 1.8 Jan 14, 2014
screenshot-3.png * Fix menu not showing with Gravity Forms 1.8 Jan 14, 2014

Gravity Forms + Stripe

Stripe allows you to process credit cards directly on your site, securely and easily, without having to deal with merchant accounts, PCI-compliance, or PayPal.

This Gravity Forms add-on integrates Stripe with your forms using Stripe.js to make sure sensitive card information never hits your server.


deckerweb, admodiggity, pnommensen, Linda C., jacobdubail, Michael S., Mark C., willshouse, Dan B., Aaron A., wpcdn, feshin, Scot R., Teresa O.


  • One-time payments
  • International Stripe accounts, including those with multiple currencies
  • Stripe + PayPal option on same form
  • *Save credit cards instead of charging them right away
  • *Recurring payments/subscriptions
  • *Multiple quantities of one subscription, e.g. 5 users at $10/month/user
  • *One-time setup fee charge for subscriptions
  • *Stripe coupons
  • *Gravity Forms User Registration Add-On integration, including allowing logged-in users to manage their subscriptions
  • *Stripe event notifications using Gravity Forms notifications system
  • Hooks to extend the plugin and add in your own functionality

*available only with More Stripe here


  • WordPress 3.6, tested up to 4.1, Multisite as well
  • PHP 5.3
  • Gravity Forms 1.8.1 - Grab a license if you don't already have one
  • Stripe account


  • Although I am unable to provide free support, full, paid support is available at gravity+. I am very happy to help.
  • Also, neither Gravity Forms nor Stripe provides support for this plugin.
  • If you think you've found a bug, or you're not sure if you need to purchase support, feel free to contact me.

Current Limitations

  • Cannot have Stripe Add-On "activated" at the same time as Authorize.Net or PayPal Pro Add-Ons
  • For security reasons, credit card field has to be on the last page of a multi-page form
  • One Stripe form per page

Reported Conflicts

  • plugin: Shortcodes Ultimate
  • plugin: PHP Shortcode Version 1.3
  • theme: Themeforest themes that strip shortcodes
  • plugin: Root Relative URLs


  1. Make sure that Gravity Forms is activated
  2. Upload gravityforms-stripe to the /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Add your Stripe API keys to the Stripe tab on the Settings page (Forms->Settings).
  5. Create a form, adding at least one product field along with the new 'Credit Card' field that appears under 'Pricing Fields.' Keep in mind that Stripe accepts a minimum charge of $0.50 - this means that the total amount of your form must be at least $0.50.
  6. Under Forms->Stripe, add a Stripe feed for your new form.


1.8.1 (January 14, 2013)

  • Fix menu not showing with Gravity Forms 1.8
  • Fix fatal error when Gravity Forms is deactivated
  • Fix validation result hook
  • Fix duplicate admin notices
  • Automatically set currency
  • Bump version number (November 5, 2013)

  • Fix critical issue resulting from undocumented Stripe API change
  • Bump version number (October 31, 2013)

  • Add new conditional logic options and fields for Stripe feed
  • Add notice for incorrect version of Gravity Forms
  • Update Stripe PHP library to 1.8.3 since 1.9.0 has issues
  • Update for GF1.7.11
  • Update for WordPress 3.7
  • Bump version number (October 3, 2013)

  • Ensure GF1.7.10 compatibility
  • Bump version number (September 30, 2013)

  • Add hook for customer description: gfp_stripe_customer_description
  • Add hook for charge description: gfp_stripe_customer_charge_description
  • Add hook for live mode error messages: gfp_stripe_error_message
  • Add charge creation override
  • Add check for curl when plugin activated
  • Add filter 'gfp_stripe_display_billing_info'
  • Add action 'gfp_stripe_set_validation_result'
  • Add PSR-0 autoloader
  • Add UI improvements
  • Add PHPDoc to all the things!
  • Add PressTrends
  • Add check for Gravity Forms when plugin activated
  • Add Gravity Forms deactivation prevention if Stripe Add-On is still activated
  • Add support for Stripe accounts with multiple currencies
  • Add Gravity Forms Logging Tool integration
  • Update Stripe PHP API library to 1.8.4
  • Update 'gfp_stripe_customer_description' hook to pass all of the submitted form data, and not just the name
  • Update 'gfp_stripe_create_error_message' to show actual card error in live mode, since they are safe to show per Stripe API
  • Update 'gfp_stripe_customer_description' hook parameters to replace $form_data with $form
  • Refactor & reorganize code
  • Rename hook 'gform_stripe_action_fields' to 'gfp_stripe_feed_options'
  • Rename hook 'gform_stripe_add_option_group' to 'gfp_stripe_feed_setting'
  • Rename hook 'gfp_stripe_after_submission_update_lead' to 'gfp_stripe_entry_created_update_lead'
  • Rename hook 'gfp_stripe_gform_after_submission' to 'gfp_stripe_entry_created_subscriber_id'
  • Rename hook 'gfp_stripe_after_submission_insert_transaction_type' to 'gfp_stripe_entry_created_insert_transaction_type'
  • Fix hook 'gfp_stripe_gform_after_submission' to include correct return value
  • Fix undefined variable notice on stats page
  • Fix PHP warnings
  • Fix Stripe JS to get correct address fields from feed
  • Fix Stripe condition not properly handling checkboxes and dropdowns
  • Fix double form submissions if AJAX and 2+ forms on a page
  • Move after submission processing from gform_after_submission to gform_entry_created
  • Remove KLogger
  • Remove currency disable
  • Remove Stripe JS check for address_field_required (May 14, 2013)

  • Fix IE9 JS issue preventing card number submission
  • Prevent Stripe API key whitespace error by stripping whitespace from API keys
  • Fix annoying PHP warnings
  • Clean up duplicate and unneeded code (May 2, 2013)

  • Fix issue with billing address not being sent to Stripe
  • Add new billing address city field to Stripe token creation
  • Remove hidden condition for sending billing address state and country to Stripe (May 1, 2013)

  • Update JS for credit card field change
  • Fix currency detection performance issue
  • Use original Stripe error in test mode, pretty errors in live mode
  • Allow multiple Stripe feeds for multiple address fields on one form
  • Fix annoying PHP warnings
  • Update Stripe PHP library to 1.8.0
  • Bump version number to latest version of Gravity Forms (January 11, 2013)

  • Add support for Canadian Stripe accounts
  • Fix annoying PHP warnings
  • Update Stripe PHP library
  • Bump version number to latest version of Gravity Forms (November 1, 2012)

  • Switch to new version scheme that follows Gravity Forms
  • Create a customer in Stripe for all transactions
  • Fix Stripe JS to work without AJAX
  • Fix issue with plugin not deactivating on uninstall
  • Update to work with new Gravity Forms 1.6 fields
  • Remove deprecated Stripe token parameter
  • Allow unactivated Stripe test accounts to use in Test mode only

0.1.3 (April 19, 2012)

  • Fix credit card field conflict with other GF payment add-ons
  • Load Stripe JS only when form with a credit card field and Stripe feed is loaded
  • Fix removal of credit card expiration date from information sent to server
  • Add validation check for cardholder name and address
  • Don't process payment if total is less than $0.50


  • Fix error handling


  • Fix "Class 'Stripe' Not Found" error

0.1 (April 3, 2012)

  • First release


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to:

Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.