#matheuscp-subscription-charge

1 messages ยท Page 1 of 1 (latest)

lost gate
#

Hello ๐Ÿ‘‹
Juggling between a few threads
Give me a moment to catch up

civic flare
#

OK! Thank you! I'm using laravel

lost gate
#

Could you provide more information on your integration?
How are you creating subscriptions?

civic flare
#

Ok

#

$pagamento = $stripe->subscriptionSchedules->create([
'customer' => $user_stripe_id,
'start_date' => 'now',
'end_behavior' => 'cancel',
'phases' => [
[
'items' => [
[
'price' => $plan->stripe_id,
'quantity' => 1,
],
],
// 'coupon' => $request->cupom_id,
'iterations' => 12,
],
],
]);

#

I'm doing like this

#

I would like it to appear on the card statement as soon as the customer subscribes. Without having to wait 1 hour

lost gate
#

Taking a look

#

are you seeing the schedule stay in scheduled state rather than going to active immediately?

unkempt oriole