#poldo

1 messages ยท Page 1 of 1 (latest)

elfin pierBOT
icy pelican
#

I haven't played around with embedded checkout too much yet. Is this deployed somewhere so I can take a look?

elfin pierBOT
pallid crater
#

but it's just dev/qa environment, I can remove your user afterwards,

#

you need to go to QA -> signup -> Subscription Tab -> hit Upgrade button

upper fulcrum
#

Without going to the page just yet, are you putting the embedded element in a <div> that's sized that way?

pallid crater
#

this is my div

                {clientSecret && (
                    <EmbeddedCheckoutProvider
                        stripe={stripePromise}
                        options={{ clientSecret }}
                    >
                        <EmbeddedCheckout/>
                    </EmbeddedCheckoutProvider>
                )}
            </div>
upper fulcrum
#

Right, but is that nested under another smaller div?

pallid crater
#

and if I add more content inside the checkout div, it displays on a good size

#

oh, sorry. no it's not limited by a parent div

upper fulcrum
#

Ahhh gotcha. I repro'd on my end and got the same thing. I don't think you can resize it.

If you want a full-page sized Checkout, then I'd just redirect to the Checkout URL, which is Stripe hosted.

pallid crater
#

oh ok ๐Ÿ˜ฆ

#

do you think it will be possible in the future?

#

I mean, is there any way we can fill a request for it?

#

because even on Stripe Branding section it shows a better way

upper fulcrum
#

Err, wait. You already have those

#

Do you have a Checkout Session ID I can look at for your page?

pallid crater
#

yes, I do have a logo ๐Ÿ˜…

#

how can i get a checkout session ID?

upper fulcrum
#

Also, I wasn't able to get into your QA environment, so if you can include more precise instructions that might be helpful

pallid crater
#

ok! my last checkout session created was
"id": "cs_test_a10LmAH294mVfkNVvNwNsDmxZecDxxVm3t5X8hEiTnyCfbld2CmoaoDhe4",
"object": "checkout.session",

#

I'll check my QA env.

#

@upper fulcrum I found out that if you set the parent div wide enough, the embedded form goes wide too ๐Ÿ™‚

#

thanks for working together with me! Have a great weekend

upper fulcrum
#

Yup, that makes sense. Glad it's working now

#

You have a good weekend as well!

pallid crater
#

just for future ref: the threshold is in the range of 1000px ๐Ÿ˜„

#

cheers