是否可以为每个付款意图自动添加税率?
我有 19% 的固定税,它在某个 ID 下,例如:txr_9uuad8a9sud89...
我像这样创建付款意图:
$intent = \Stripe\PaymentIntent::create([
'payment_method' => $paymentMethods["data"][0]["id"],
'amount' => 11111,
'currency' => 'eur',
'customer' => $user->stripe_id,
'confirmation_method' => 'automatic',
'confirm' => true,
]);
但是找不到如何自动为这笔付款申请税款的方法。
有什么帮助吗?
qq_遁去的一_1
红颜莎娜