#heenatejwani_docs
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/1407606942209282156
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! do give me some time to take a look at this
Could you share the code snippet of your implementation where the error occurred?
Do remember to remove any secret keys inside.
Can you confirm first if I can use 2023-10-16 version for embedded component
Are you aware of this kind of error?
on this code I am getting this ReferenceError : stripe is not defined
checkout = await stripe.initCheckout({
fetchClientSecret: () => promise,
elementsOptions: { appearance },
});
Embedded components requires passing in the enum SessionCreateParams.uiMode.custom and this was only introduced from SDK version 29.0.0 - 2025-04-01 onwards
Stripe Java SDK chengelog: https://github.com/stripe/stripe-java/blob/v29.4.0/CHANGELOG.md#2900---2025-04-01
Okay I am passing 2025-03-31.basil version
on this code I am getting this ReferenceError : stripe is not defined , is this correct ?
const stripe = Stripe("pk_test_123" , "acct_123");
checkout = await stripe.initCheckout({
fetchClientSecret: () => promise,
elementsOptions: { appearance },
});