#refikimi_api

1 messages ¡ Page 1 of 1 (latest)

vapid swiftBOT
#

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

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

elder breach
#

Are you asking about event delivery retry or payment retry?

vocal orbit
#

Event delivery for the event: invoice_payment_failed when I get this event, I want to know will the payment process be retried in the future? If no, to warn me on slack so somebody from our team takes a look into it

#

example when this invoice_payment_failed raised the event, the process won't be retried again, then I want to inform our team

elder breach
#

Can you share with me the invoice ID?

vocal orbit
#

OK, this one in particular: in_1PmY0dHzzIMXxbBCPrAIFTHf

Basically I got a message that the invoice failed but it was actually succesful

#

and also I check on the event invoice_updated:
when (next_payment_attempt is None AND not auto_advance AND amount_paid !+ amount_due )

(the ANDs represent the logical and in code)

#

as well as this:

event.data["next_payment_attempt"] is None
            and event.data["auto_advance"]
            and event.data["amount_paid"] != event.data["amount_due"]
elder breach
vocal orbit
#

oh sure: here is the payment intent: pi_3PblG2HzzIMXxbBC0Goem9uk

elder breach
#

You'll find the invoice's status becomes uncollectiable and next_payment_attempt is null

vocal orbit
#

so uncollectiable and next_payment_attempt must be set, second to null and I am sure this will not be retried?

elder breach
#

Yes you are right

vocal orbit
#

Thanks a lot for your help ❤️