- Add Webhook Signature Validation - Thanks to @wkirby
- Include nickname in the payload for plans - Thanks to @jeanmartin
- New attributes for Stripe Billing Plans.
- Fixes ActionController::UnknownFormat errors - Thanks to @ndbroadbent !
- Spanking new products builder for Stripe Billing (#117) - Thanks to @renchap for suggesting this and to @henryaj for reviewing it.
- do not create new product when product id is provided (#115) - Thanks to @renchap for reporting this
- updates travis to latest rubies (#112) - Note that after this change we will only run tests on Ruby 2.5, 2.4 and 2.3
- adds callback form
customer.source.expiring. Thanks @Japestrale!
- Fixes Stripe API update on 2018-02-05 that breaks the plan builder (thanks to @georgecheng for reporting this!)
- Added additional callbacks (thanks @lloydpick & @dja)
- Fixes js partial crash if stripe_js_version is not defined
- Make stripe-ruby-mock an optional dependency (thanks @gaffneyc)
- Adds a testing module for testing callbacks (thanks @Pyo25)
- Fixes loading with ActionController::API (thanks @gaffneyc)
- Fixes
NoMethodError: NoMethodError (undefined methodobject' for #ActionController::Parameters` (thanks to a whole bunch of people for reporting this)
- Remove authenticity token check (thanks @lewispb)
- Adding timeout options to config (thanks @rgerard)
- Add 'day' as possible plan interval (thanks @vdragsic and @artemave)
- Fixes a bug with Stripe JS V3, i.e.
Stripe.setPublishableKeyis no longer a function. Thanks to @kartikluke for reporting this.
- [BREAKING] Update to latest stripe events (thanks @hopsoft). Note that if you are using the
after_customer_card_created,after_customer_card_updatedorafter_customer_card_deletedcallbacks, you MUST update them toafter_customer_source_created,after_customer_source_updatedorafter_customer_source_deletedrespectively. You also need to start using Stripe API Version > 2015-02-18 or else the webhook might not work as expected. - [BREAKING] Updates to the latest version of Stripe JS. If you were using
stripe_javascript_tagwithout specifying the version number, note that it will now default to Stripe JS v3. This version is incompatible with the previous default. - The gem will only be tested on Rails 4 and 5 from now on.
- Gem will henceforth only be tested on Ruby >= 2.1.9.
- add statement descriptor to plan attributes (thanks @jbender)
- Relax version constraint on the responders gem
- Support for api_version header parameter (thanks @kiddrew)
- Relax version constraint on stripe gem (thanks @gaffneyc)
- Support alternate versions of stripe js
- add
respondersgem as dependency to supportrespond_tomethod - fix unit tests with Rails 4.2 and Rails 5.0
- add
eager_loadoption to load callbacks into classes in non-eager-loaded enviroments
- Rename api_key to secret_key
- add
auto_mountoption to allow for manually mounting the webhook endpoints
- make the default max redemptions 1
- add stripe::coupons::reset! task to redefine all coupons
- bugfix allowing creation of coupons without max_redemptions
- manage coupons with config/stripe/coupons.rb
- out of the box support for webhooks and critical/non-critical event handlers
- add :only guards for which webhooks you respond to-
- move stripe.js out of asset pipeline, and insert it with utility functions
- add config/stripe/plans.rb to define and create plans
- use
STRIPE_API_KEYas default value ofconfig.stripe.api_key - require stripe.js from asset pipeline
- autoconfigure stripe.js with config.stripe.publishable_key.
- add rake stripe:verify to ensure stripe.com authentication is configured properly
- basic railtie