#prad
1 messages · Page 1 of 1 (latest)
Oh, no, that screenshot is our custom built modal. Added it for clarity on how the UI appears to the user. So clicking the middle choice (monthly) will still trigger a checkout session with our annual price
Ah gotcha, and can you share the ID of a Checkout Session where you saw this behavior? (it should start as either cs_test_ or cs_live_)
Sure thing - I just had it happen for cs_live_a1DvUTO4wBd399HTjfzXEMxlE7GapaexHOXsi3Utc8r7cQvvZ6JfVsVAM0
I'm seeing that session was created with an annual price, but you're saying that's not what you're seeing when you access the session?
No, sorry, I do see it with the annual price, but had clicked on the Monthly option.
And the Monthly option priceId was logged during the server call to generate the Checkout Session.
I'm seeing that an annual price ID was provided during the creation of that session:
https://dashboard.stripe.com/logs/req_isBwYhdSUyCY0L
Ahh I might have narrowed it down. Two sessions were being generated onClick - one with the annual price and the other monthly.
But it's interesting–the redirect should have used the URL from the session that corresponded to the button they clicked.
I'll try a fix for this and see if that resolves it, thank you for your help!