#horlaarsco_api
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/1420481633714307283
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, taking a look at the request now.
This behavior is expected and you can use the pending updates behavior: https://docs.stripe.com/billing/subscriptions/pending-updates#handling-failed-payments
A populated pending_update hash means the payment failed and your subscription update isn’t applied.
I just called get subscription on the subscription now and the pending_update is returned as null, and the subscription status is set to past due
Did you update the subscription: https://docs.stripe.com/billing/subscriptions/pending-updates#update-subscription with payment_behavior: 'pending_if_incomplete'?
Can you start with a new subscription and try making the updates please?
Yes, oh my payment behaviour is not set at all
If you can follow the above guide and try again, it might be what you'd want
Trying it out