#mathias_best-practices

1 messages · Page 1 of 1 (latest)

night oliveBOT
#

👋 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.

torn idol
#

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?

inland finch
#

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?

torn idol
#

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?

inland finch
#

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.

torn idol
#

Did it charge them when you tried this in test mode?

inland finch
#

It did yes.

night oliveBOT
torn idol
#

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?

inland finch
#

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?

torn idol
#

Did that happen in test mode?

inland finch
#

I'm not sure where to look. It simply updates the amount.

errant thistle
#

Hello
Taking over as Rubeus needs to step away soon

#

Have you checked in Stripe dashboard if a new invoice was created for the update you made?

inland finch
#

Hello Hanzo.
It does not seem to create a new invoice, but it does seem to be added to the upcoming one.

#

I now manually adjusted it from 11 to 1 in Qty. But that is not reflecting in the invoice. Perhaps that is one the next after the one I'm showing?