#zlf_api

1 messages · Page 1 of 1 (latest)

gentle ermineBOT
#

👋 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/1362350039740973090

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

sturdy veldt
#

We are using the subscription update feature to implement our business requirements, but we've encountered an issue. What we know currently is that when we modify items in a subscription, an invoice is generated. However, the subscription items are already updated at that point. If the user does not pay the invoice, does Stripe support rolling back this update?

steep holly
gentle ermineBOT
sturdy veldt
#

I just tried it, and after using this method, the payment was automatically deducted. Is there a way to generate an invoice after modification and let the user pay manually?

native sorrel
#

Could you please share the Subscription ID? sub_xxx

sturdy veldt
#

Another question: Currently, we use the preview invoice to show users the updated price after modifying items. However, I couldn’t find how to remove an item from the subscription in the preview invoice. For example, if a subscription includes price1 and price2, but now we need to delete price1, how should I handle this when creating the preview invoice?

sturdy veldt
#

This is the subscription ID for the test environment.

native sorrel
native sorrel
sturdy veldt
sturdy veldt
gentle ermineBOT
waxen ivy
#

hi! I'm taking over this thread.

#

let le know if you have other questions

sturdy veldt
#

I've noticed that when using Pending Updates, the payment is processed automatically. Is there a way to require manual payment from users instead? Similar to subscription creation - generate an invoice first, then have the user pay that specific invoice.

waxen ivy
#

no that's not possible, a pending update will immediately try to charge the customer.

sturdy veldt
#

Is there any other way to modify the subscription and have the user manually pay for it? If not paid, this modification will be rolled back.

waxen ivy
#

no, that behavior only works with pending updates

sturdy veldt
#

What if the payment fails? Can they retry the payment for this change?

waxen ivy