#Kaushik
1 messages · Page 1 of 1 (latest)
Hi there!
I'm not sure I understand your question. Can you clarify what you are trying to do?
$setupIntent = $stripe->setupIntents->create([
"payment_method" => $paymentMethod -> id,
"customer" => $customer->id,
"usage" => 'on_session',
"confirm" => true,
"description" => 'Payment For Balance'
]);
why we can used "usage" => 'on_session' ?