#mp_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/1348657480862797895
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
The question is why 0.00 invoice got generated
Was the other request probably in error hence the invoice is 0
Hi, both of these requests were created from your code. What is the invoice id?
in_1PivKbJqE5f9ucQhqWEs8j0L -> charged
in_1PivKrJqE5f9ucQhpFxXylQA -> 0
Taking a look
The reason why you see a $0 invoice is because of prorations, https://docs.stripe.com/billing/subscriptions/prorations
You're making two requests at around the same time to update the subscription. Since the invoice from this update, https://dashboard.stripe.com/logs/req_36vRofDctbcs6X is already charged just a second prior and the second request to update the subscription for the same amount, it prorates and no payment is due: https://dashboard.stripe.com/logs/req_2BYSN9ELtjnnXG
You should debug your code to better undrerstand why you're sending the same request twice within seconds.
@lone burrow are you still here?
Hi, sorry. Going through your message
Sure