You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.
It seems at some point Stripe removed the Stripe::Customer#cards method and replaced it with Stripe::Customer::#sources. Changing the offending line to call the #sources method instead seems to fix things for me for me, but I haven't had a chance to run the full test suite to ensure that it doesn't break something else.
The text was updated successfully, but these errors were encountered:
When using Payola with the latest version of the stripe gem (
1.20.1
), theStartSubscription.run
method throws the following exception:NoMethodError: undefined method 'cards' for #<Stripe::Customer:...>
The offending code is on line 30 of the
StartSubscription
class.It seems at some point Stripe removed the
Stripe::Customer#cards
method and replaced it withStripe::Customer::#sources
. Changing the offending line to call the#sources
method instead seems to fix things for me for me, but I haven't had a chance to run the full test suite to ensure that it doesn't break something else.The text was updated successfully, but these errors were encountered: