#sergixel04
1 messages · Page 1 of 1 (latest)
$createdSubscription = $stripe->subscriptions->create([
'customer' => $user->stripe_id,
'items' => [
['price' => $priceId],
],
'automatic_tax' => ['enabled' => true],
'description' => 'Negocio extra: ' . $request->name,
'coupon' => $coupon,
]);
No
You can find all the supported parameters here:
https://stripe.com/docs/api/subscriptions/create
When confirming the related PaymentIntent, you can set the return_url:
https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams
Alright perfect, thank you very much!