#jb_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/1488871585304674526
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share a session that is open?
Also, what specifically is the issue? Is there an error thrown? What code are you using?
Is the %2F part normal/expected?
Just checking with my colleague on the error
Up-to-date IDs:
"stripe_checkout_session_id": "cs_test_b1S18l7SOBkT2guSOkdzRlOxUrhWm8FCOQJGdsw0Ena7YRZMogsftXXKoc",
"stripe_checkout_session_client_secret": "cs_test_b1S18l7SOBkT2guSOkdzRlOxUrhWm8FCOQJGdsw0Ena7YRZMogsftXXKoc_secret_fidnandhYHdWcXxpYCc%2FJ2FgY2RwaXEnKSdwbEhqYWAnPydmcHZxamgneCUl"```
We're finding it's just stuck loading without any error
Using the checkout elements
Can you share the exact code? There's also likely an error thrown that's uncaught and probably logged in the browser console
FWIW, I can generate a session that returns %2F in the secret and it mounts Elements fine
So there's no issue with the client_secret per se, it's likely something else โ but no idea what with the few details you've shared
Have just spied a potential issue - they're going to debug further but we'll come back if there seems to be a more concrete problem ๐
Thank you for confirming re the client secrets though!
I don't think that's the actual error, just warning. Seems like you include the Stripe.js script separately and use the stripe-js package in your app, and they're conflicting?
Oh the actual error is about the client secret
But my guess is that the cause of that error may be the mismatch in major version
So have suggested they sort that first
Yeah that's because clientSecret param was added in Clover: https://docs.stripe.com/changelog/clover/2025-09-30/update-init-checkout-synchronous
Yet you're loading Basil, somewhere
If you fix that conflict and actually use Dahlia, via stripe-js lib, then you should be good