#donpuz_api

1 messages ยท Page 1 of 1 (latest)

opal hemlockBOT
#

๐Ÿ‘‹ 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/1379909243091685386

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

fair apex
#

Hey! Looking into this for you

opal hemlockBOT
cedar pollen
#

๐Ÿ‘‹ stepping in here

#

It looks like you advanced time past the resumes_at timestamp.

#

Can you clarify what is unexpected here exactly?

tired flare
#

ah you're right for that. usually ive been pausing collection for a single subscription renewal by setting resumes_at to +10 of current_period_end. so i guess a related issue is that the subscription renewal still goes through. do i need to keep the subscription paused for the entire time the invoice is in draft state?

cedar pollen
#

Let's back up... what are you trying to do exactly?

tired flare
#

upon receipt of invoice.created (invoice in draft) I want to pause the subscription such that the invoice is voided for this cycle

cedar pollen
#

Gotcha, that's not really the purpose here of pasuing payment collection... that is used for future generated Invoices.

#

Instead you would just Finalize and Void the Invoice yourself here

tired flare
#

right ok, seems like my current subscription setup finalizes and gets paid immediately, is there a param i need to set for that?

cedar pollen
#

The initial Invoice for a Subscription will always finalize immediately.