Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `subscriptions' for #<Stripe::Customer:0x00007fc0945c3ad0> #196

Open
andreirafaelbrayer opened this issue Sep 21, 2020 · 1 comment

Comments

@andreirafaelbrayer
Copy link

Hi,
I am facing the following error,
undefined method subscriptions for Stripe::Customer

I've tested with all versions of the stripe-rails gem and in all of them the error continues, do you know why this happens?

I'm using rails 5.2.3 and ruby 2.6.3

@tansengming
Copy link
Owner

Hi @andreirafaelbrayer unless I am missing something, Stripe::Customer is defined here so you might want to look into the stripe-ruby gem instead. This gem, the stripe-rails gem builds on top of the stripe-ruby gem to make it easier to integrate with Rails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants