#DopeScott-update-subscription
1 messages · Page 1 of 1 (latest)
Apologies for the delay on this. Still looking in to this question.
'cancel_at_period_end' => false,
'proration_behavior' => 'none',
'billing_cycle_anchor' => 'unchanged',
'items' => [
[
'id' => $subscription->items->data[0]->id,
'price' => 'plan id',
],
],
]);``` I've found this, but I'm not sure price implies plan change, right?
I think you can just use the new plan ID there
Have you tried making that call but with using the Plan ID?
In price?
Just found this, but, i'll try right now.
@fresh fjord let me know if you have more qs
Yeah, looking into it.
I just need to get client_secret from it, haven't got it right yet.
you won't get a PaymentIntent client_secret on just a subscription upgrade/downgrade right? there's no immediate payment, the payment happens on the next billing cycle (if I understood the above correctly)