Search code examples
stripe-paymentscheckoutstripe-tax

Is setting tax rates to Client only Stripe Checkout (no Sessions) Subscription possible?


I'm trying to implement Stripe Checkout without server integration (client-only). It seems like I cannot set tax rates when I call redirectToCheckout.

I've searched similar questions like the following but they aren't client-only and are using Sessions:

Stripe Checkout - Create Session - Apply Tax Rates on subscriptions

Tax Rate in new Stripe Checkout

This documentation seems to mention tax rates in Stripe Checkout but is using Sessions as well. I couldn't find any documentation saying it is not possible so I've decided to ask here.

Thanks in advance!


Solution

  • You cannot use Stripe Tax or tax rates with client-only Checkout. This is one of many limitations highlighted here. Stripe generally advises against using client-only Checkout for these reasons.

    If you'd prefer to integrate without a server component, then I recommend using Payment Links, which support taxes, instead.