#mathias_best-practices
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/1303424580878073879
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Usually the best way to figure out what will happen in situations like these is to try them out in test mode. Have you done that?
Yes, it changes the amount of users for the product.
So the product is called “Members”. When the user adjust, it will be like Members x 2
But my question is more like, when the customer changes the amount, will Stripe change it immediately?
Not sure I understand, can you provide more context? Are you asking about when the customer changes the amount in a Checkout Session or some other place?
Sure, and sorry about not being specific.
In the frontend I as a user can adjust the amount of additional members I would like to add.
When I click the "Adjust members" a call is going to Stripe to adjust the Member product. If it is not already added it will be added to the customers arrangement.
So when I adjust it, I can see it in Stripe, but I'm not sure it will charge the customers credit card.
Did it charge them when you tried this in test mode?
It did yes.
Okay, that's good. So I'm not sure what your question is, exactly?
It sounds like you tested this in test mode and it worked as expected, right?
That is correct. My question is, when the Members product is updated, will Stripe try to collect from the already added credit card on the customer profile?
Did that happen in test mode?
I'm not sure where to look. It simply updates the amount.