#darth-subscription-upgrade
1 messages ยท Page 1 of 1 (latest)
darth-subscription-upgrade
Hey @valid yoke ! We cover this in details in https://stripe.com/docs/billing/subscriptions/upgrade-downgrade and https://stripe.com/docs/billing/subscriptions/prorations.
Passing billing_cycle_anchor: 'now' would definitely create an immediate Invoice for this
Hey, @halcyon jackal, so only setting the billing_cycle_anchor to now should do the trick?
it is one option yes. See https://stripe.com/docs/billing/subscriptions/billing-cycle
ok, and the proration_behavior: 'always invoice' is ok to be passed?
sure! Sorry this is all explained in details in the docs I shared. So the next step is to pause and read those carefully first
I've read the docs, that's why I'm asking since I thought I missed something, because I tried to update the customer subscription and the invoice instead of having the status as paid was open ...
๐ stepping in as koopajah needs to step away
If you update the billing anchor to now or set proration behavior to always_invoice then a new Invoice is generated
yes, I see that
So totally possible it could be open if there wasn't a successful payment
Does your Sub have a default payment method?
Sure, also feel free to send me the Invoice ID that you are looking at
in_1OJi6nKaxhelao9Wa3fmbK50
Thanks looking
There is no payment attempt because you are using payment_behavior: default_incomplete
That indicates it shouldn't attempt payment without an explicit confirmation request
ohhh
If you use allow_incomplete (the default behavior) then you will see a payment attempt on the update
make sense
so I should use allow_incomplete and with this the payment will be done right away by stripe, am I right?
Yep
ok, let me please try
Sure thing