#Senthil-paymentintent-tax
1 messages · Page 1 of 1 (latest)
Hi there, we don't currently support specifying taxes (via Stripe Tax) on PaymentIntents that aren't created via Stripe Checkout or Stripe Billing.
ok, is it a good approach to query the tax id created? Is that suggested/possible?
I'm not exactly sure what you mean, can you clarify?
I am referring to https://dashboard.stripe.com/test/tax-rates
To avoid hardcoding is it a good approach to do a service call to get the appropriate tax rate?
Are you using Subscriptions/Invoices? Or Stripe Checkout?
PaymentIntent::create([
'amount' => $price * 1.066 * 100,
'currency' => 'usd',
'customer' => $pgwcustid,
'payment_method' => $pmid,
'off_session' => true,
'confirm' => true,
]);
Yeah okay so you are likely using Elements with PaymentIntents which doesn't support tax. So you can't use tax rates with this integration.
Yes, but can I query the tax rate in my custom code first and manually do the taxes?
Ah yeah if you want to just store the tax rates in Stripe and retrieve them and then add that to the amount you are charging then that certainly works.
yep, thanks for confirming. But is there a preferred approach on mapping the tax rates to the sale?
Not really. This is really up to you.
ok, understand. Any reason why this is not implemented?
It is on the roadmap!
ok great!