#ass-_unexpected

1 messages ¡ Page 1 of 1 (latest)

wide harnessBOT
#

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

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

past kraken
#

Having a look

#

Likely a race condition where your pay request is sent before the job to void them (because of the pause) is ran

pseudo gyro
#

The pause was set immediately after the subscription was created (and the first payment), and in this subscription you can see that two invoices were created with the status PAID after the pause.
These invoices are generated by Stripe on their side, right?

past kraken
#

Did you look at the request log link I just sent? Your integration initialised the request to pay the invoice (in_1S95zcLU3SZk0W7hB22iVB4W) generated on 9/19 which was the first invoice after the pause on 9/17. Stripe did not automate the payment for that invoice

past kraken
#

These invoices are generated by Stripe on their side, right?
Sure, we generated the invoices. But we didn't initiate the payment of them, your code did:

#

You need to understand why those API calls are being made, and stop them from happening

pseudo gyro
#

Got it. Thank you very much!