#carbonara_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1390641435623293019
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
It doesn't unpause the subscription
because after doing:
Subscription::update($idStripeSubscription, [
'pause_collection' => ''
]);
I update the billing_cycle_anchor:
Subscription::update($idStripeSubscription, [
'billing_cycle_anchor' => 'now',
'proration_behavior' => 'none'
]);
but I get this error:
You cannot set billing_cycle_anchor to now while a subscription is paused. Resume the subscription first before setting billing_cycle_anchor.
would you mind sharing the request ID where you resumed the subscription?
or even the subscription ID?
ok so basically this subscription has been paused because the trial ended without a PM https://docs.stripe.com/billing/subscriptions/trials#create-free-trials-without-payment
so you just need to add a PM for that subscription
Ok, but the account has a default PM, so the problem is that the subscription doesn't have one
you need to set the invoice_settings.default_payment_method of the customer otherwise if the PM is just attached to the customer that won't take effect
Ok, it was probably a test created during the initial attempts at implementing subscriptions, because I just created a new one and it works as expected.