-
Notifications
You must be signed in to change notification settings - Fork 188
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
Stripe::Customer Stripe::Subscription doesn't have Card details #157
Comments
Hi. Can you please provide all the code you have changed? |
Hi @yas4891,
|
Have you taken a look at https://github.com/andrewculver/koudoku#implementing-logging-notifications-etc ? This is the recommended way to do it |
Hi @Nishant-Shrivastava, you can use |
Hi,
I have implemented the Subscription(after over-riding couple of methods). I have implemented a Basic Plan, which is free, and every User on SignUp gets subscribed to it. After that, according to the need User can upgrade to Enterprise plan (monthly/yearly).
After I completed the subscription, I tried to check the Subscription details, with their official gem. I found out, that along with the Customer, I can see the Subscription Object, but the Card object is empty in Stripe's response for the customer.
Now my question is, if it is a recurring subscription; how does koudoku handle it as there is no Card details present with the Customer Object. How it can be done without asking the User for CC details(again); and do it directly with the CreditCardToken provided by Stripe on the first go.
Thanks in advance.
The text was updated successfully, but these errors were encountered: