#Nadiya
1 messages · Page 1 of 1 (latest)
Payment Intent API
'amount' => $payment->price,
'currency' => 'jpy',
'customer' => $user->stripe_id,
'off_session' => true,
'confirm' => true,
]);```
can i use like this?
i've already default payment method set to this customer. do i still has to pass payment_method?
Um I think you don't need to. Let's try and see how it goes
(Request req_Ba2AnWujqq0uVu) You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method.
this one
Sure, that's expected – you're not passing the payment_method parameter when attempting to confirm