This is my code where I'm using Stripe's embedded component, but I can't see any appearance customization options. Why is that?
<EmbeddedCheckoutProvider
stripe={stripePromise}
options={{
fetchClientSecret: () => result,
}}
>
<EmbeddedCheckout className="w-full" />
</EmbeddedCheckoutProvider>
This is my code where I'm using Stripe's embedded component, but I can't see any appearance customization options. Why is that?
<EmbeddedCheckoutProvider
stripe={stripePromise}
options={{
fetchClientSecret: () => result,
}}
>
<EmbeddedCheckout className="w-full" />
</EmbeddedCheckoutProvider>
Share
Improve this question
asked Mar 21 at 8:02
SujjeeeSujjeee
858 bronze badges
1 Answer
Reset to default 0Customising the appearance of hosted and embedded Checkout is limited and mostly controlled by the branding settings of the settlement account. It does not support the Appearance API, like Payment Element.
If you want complete control of your checkout UI then I'd recommend looking at using embedded components. This utilises the Checkout Sessions API, but allows you to build your own checkout UI with other components like the Payment Element.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744367406a4570774.html
评论列表(0条)