#oftysterista_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1331099215715237990
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! The guides listed on this page provide more details on Stripe Subscriptions : https://docs.stripe.com/subscriptions. I can't tell you what to save in your DB since it depends on your requirements. If you have more specific questions, I'd be happy to help.
alright, actually i have some other questions
when a user already subscribe to my product, is that possible for the user to change their payment method or card?
yes, it's possible, you can look into using the Stripe Customer Portal for that : https://docs.stripe.com/customer-management and see if it fits your requirements / use cases
that is using billing portal right?
yep
if the user add a new payment method like i screenchot. Will the bill automatically go to the default payment method?
yes, the bill will be charged to the default payment method. In case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks to test and make sure everything works as expected
ohh thanks for the test clocks. will try it later
but for update the payment method for the user. Is using the billing portal (redirect to stripe hosted page) the only way to change the payment method?
No you can also update the payment method through API. https://docs.stripe.com/api/subscriptions/update?lang=dotnet#update_subscription-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.