RailsApps / rails-stripe-membership-saas

An example Rails 4.2 app with Stripe and the Payola gem for a membership or subscription site.
http://railsapps.github.io/rails-stripe-membership-saas
1.14k stars 232 forks source link

Webhooks setup method is deprecated; to be removed in next release #96

Closed rceee closed 9 years ago

rceee commented 10 years ago

From the stripe_event gem

1.1.0 (January 8, 2014)

Deprecate StripeEvent.setup in favor of StripeEvent.configure. Remove setup at next major release.
StripeEvent.configure yields the module to the block for configuration.
StripeEvent.configure will raise ArgumentError unless a block is given.
Track test coverage

Currently the app uses the code in the stripe initializer:

StripeEvent.setup do
#events here

So this will break when the next release of stripe_event is released.

https://github.com/integrallis/stripe_event/blob/2f919cb45775e34d263a50778a9391387369520b/CHANGELOG.md

DanielKehoe commented 10 years ago

Thanks for the heads up.

DanielKehoe commented 9 years ago

There is a new version of this application for Rails 4.2 using the Payola gem.