#mejackreed_best-practices
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/1366845087778341004
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there. If it is helpful, there is a setting in the dashboard that pauses collection on all currently active Subscriptions
But, beyond that, you would need to programatically list Subscriptions and iterate over the list and cancel them https://docs.stripe.com/api/subscriptions/list
Great thanks that is helpful. I didn't know it was possible from the UI, that helps out a lot.
Do you know if I pause all, and mark behavior=void, would I then be able to issue refunds on any payments made in the past 30days via API calls?
Yes - I mention pausing collection to make sure you don't collect more payments that you would then have to refund
yes thanks. We should have done this 29 days ago, but didn't realize the impacts unfortunately. Here is what I think we need to do:
- Pause all subscriptions
- Refund all payments made in last 30 days via API call
- Cancel all subscriptions?
That's right.
If you only collect Subscription payments on your Stripe account and want to refund only payments in the last n days, the refunding should be a similarly straightforward process - you can list Charges and create Refunds:
https://docs.stripe.com/api/charges/list
https://docs.stripe.com/api/refunds/create