andrewculver / koudoku

Robust subscription support for Rails with Stripe.
MIT License
1.16k stars 188 forks source link

New stripe api updates #156

Closed j-mcnally closed 7 years ago

j-mcnally commented 8 years ago
pedantic-git commented 8 years ago

Thanks for this PR! It's fixed most of my issues with using Koudoku on the latest API.

I think this also needs to change the line that creates a customer. Currently that seems to work with the real Stripe API but it's not the official way of handling it any more, and it breaks with stripe-ruby-mock which doesn't support the old way. Would you mind updating your PR?

GaganTiwari commented 8 years ago

Error: You are using a secret key with Stripe.js, instead of the publishable one. For more info, see https://stripe.com/docs/stripe.js

Can u help me in urgent.

http://www.askmedeveloper.com

Thanks in advance.

yas4891 commented 8 years ago

@GaganTiwari I think that error message is pretty straight-forward and tells you exactly what to do. If you still find yourself struggling with it, I am available for consulting

GaganTiwari commented 8 years ago

ok thanks , I got issue that i was using secret key sk .... in place of publishable key like pk ...

Thanks @yas4891 .

andrewculver commented 7 years ago

@j-mcnally Thanks so much for sending this in. I've got this change and an update to the default API version in config/initializers/koudoku.rb in #184! Really appreciate you contributing!