#muhammadadeel_63187

1 messages · Page 1 of 1 (latest)

timber spokeBOT
grave ice
lime viper
#

req_Mq3rLZu3pTG7LS

#

hi there
i sended request id

grave ice
#

Yes thanks, checking...

#

The issue is that you are not registred for collecting tax

lime viper
#

$paymentIntent = $stripe->paymentIntents->create([
'customer' => $user->stripe_id,
'amount' => $amount * 100,
'currency' => Setting::CURRENCY,
'application_fee_amount' => $plateFormFee * 100,
'automatic_payment_methods' => ['enabled' => true],
'transfer_data' => [
'destination' => $slot->provider->stripe_connect_id
],
'payment_method_options' => [
'card' => [
'setup_future_usage' => 'off_session',
],
],

  ]);

this is my payment intent
on confirm this intent
stripe collect tax form vendor or destination account
i need to collect tax from customer/end user

#

how can i do that?

grave ice
#

You can't collect tax using PaymentIntents API

#

you need to calculate the tax rate (e.g. using the tax calculation API above) and then pass the final amount to the PaymentIntent

#

Otherwise you'll need to use Stripe Invoices or Checkout if you want Stripe to collect tax for you