reactjs - Why is there no appearance customization option for Stripe's <EmbeddedCheckoutProvider>? - Stack

This is my code where I'm using Stripe's embedded component, but I can't see any appeara

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
Add a comment  | 

1 Answer 1

Reset to default 0

Customising 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条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信