#rabots_api

1 messages ¡ Page 1 of 1 (latest)

ashen pastureBOT
#

👋 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.

round steeple
#

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?

grim plume
#

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

round steeple
#

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

grim plume
#

And also I'd like to use desktop orientation, not mobile orientation. Do you know how to do that?

round steeple
#

Not sure what you mean by that?

grim plume
round steeple
#

Great!

grim plume
round steeple
#

I don't believe you can change the orientation as such. It resizes automatically based on screen size

grim plume
#

Hmm...understood

#

Thanks for the help