No problems when I create an on-session payment, can't make a second charge when authentication required, don't understand an approach when Stripe must send a letter to the customer with a confirm link, the link lead to the Stripe hosted page like in Docs
The request with SCA required card I got a card error (authorization_required).
$intent = PaymentIntent::create([
'amount' => 1100,
'currency' => 'usd',
'payment_method_types' => ['card'],
'customer' => $customerId,
'payment_method' => $paymentMethodId,
'off_session' => true,
'confirm' => true,
]);
I found this approach here. Set settings in the Stripe dashboard for email. Maybe must be a relation with invoice API, but I don't see a flow in docs.
Expected a success paymentIndent creation with requires_confirmation status. Email sent to the customer with a confirmation button.