#Alpha-kr - checkout session amount
1 messages · Page 1 of 1 (latest)
Hi 👋
Can you share the checkout session iD so I can review it?
I'm looking
Okay I see the Checkout Session has an amount subtotal of 6999, a total of 4199 with a discount of 2800
yes
But the description is wrong in the Checkout page interface
I am looking into that
hello?
Hi
So it appears this is because the customer in this case has an existing credit balance and that is also being applied
omg
Since credit balances are automatically applied to Invoices
but how the customers know that?
When I look at the Customer object they have a credit balance of $44.82, which covers the 41.99 cost
I mean I cancel the last suscription due to Im testing the implementation that makes sense with you're saying but do you recommend testing with differents accounts?
What is your end goal? Essentially the Checkout Session is acting correctly.
If you want to test without this behavior you could create a new Customer record that does not have a credit balance
Okay, go ahead
If I archived a price and it had an active suscription the next time the suscription will be cancel ?
No. All existing subscriptions will proceed normally unless you actively cancel them
Archiving the price will only make in unavailable for future subscriptions
ohhh So I have to cancel the suscription throught the dashbord right?
Yes, or the API (which is what we focus on here) https://stripe.com/docs/api/subscriptions/cancel
Alpha-kr - checkout session amount