#rabots_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/1349091683404480683
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Can you share the request body you're sending to create checkout session as well as the screenshot of the UI you're referring to?
sure
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
ui_mode: 'embedded',
customer_email: email,
line_items: [
{
price: price_id,
quantity: 1,
},
],
mode: 'subscription',
redirect_on_completion: 'never',
allow_promotion_codes: false
});
I want to disable that box
Gotcha. Hmm I'm not sure if there's a way to disable that unfortunately.
I'd recommend you talk to Stripe support via
https://support.stripe.com/?contact=true
They can help look into this and suggest a way to disable this section
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
And also I'd like to use desktop orientation, not mobile orientation. Do you know how to do that?
Not sure what you mean by that?
Found it! Config -> Payment Methods -> Link -> Disable
Great!
The image that I sent shows checkout on mobile orientation, but I'd like to setup to use desktop (landscape) orientation
I don't believe you can change the orientation as such. It resizes automatically based on screen size