#muhammadadeel_63187
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
$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?