#kristineannmon_webhooks

1 messages ยท Page 1 of 1 (latest)

vernal flickerBOT
#

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

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

grand mortar
#

Hi! Do you have the live event as well?

haughty shadow
#

Hi, I have the JSON payload for both live and test. FYI, the live payload is in different account (client account).

haughty shadow
#

Hi, just checking if you are still there?

grand mortar
#

Sorry! Still looking into it!

haughty shadow
#

No problem. Just keep me posted.

grand mortar
#

Thanks for waiting! Took a little bit of digging. Based on the settings of acct_1QSQrUClXFdOYfe1, the default payment method settings limit the payment methods to card and Link: https://dashboard.stripe.com/settings/billing/invoice

Due to this in_1R4DFxClXFdOYfe1KAhekQ2X couldn't be paid as the customer only had Becs. Hence, it became incollectible in invoice.payment_failed.

haughty shadow
#

Yes, I am expecting it to be uncollectible, but why is there a different status for live and test? I expect the test invoice.payment_failed status to also have a status of uncollectible. Currently, when I test both live and test scenarios, the status is inconsistent. Live has uncollectible status, but test has open status.

#

Is it because I can only set up the uncollectible status in live mode and the status settings is not inherited to test mode that's why the test invoice.payment_failed status is open?

grand mortar
#

Account acct_1NsMlXD2CzZDU24j has Australia BECS Direct Debit enabled as part of the default payment method. So the invoice in_1R4ysYD2CzZDU24jS39V1xB6 didn't become uncollectible.

haughty shadow
#

If it is part of the default payment method, does that mean it will not be uncollectible? Can you provide me more details when the status will be uncollectible for live and test?

grand mortar
#

If it is part of the default payment method, does that mean it will not be uncollectible?
Yes

#

Can you provide me more details when the status will be uncollectible for live and test?
Can you advise on what exactly are you testing?

haughty shadow
#

If it is Credit Card, once it reaches the max retries, it will not be uncollectible if the Cards payment method is included as Default payment methods?

#

We are trying to test the uncollectible status for both Credit Card and BECS Debit payment methods.

grand mortar
#

Give me a moment to check something.

haughty shadow
#

Sure, no problem.

#

Let me send a sticker to prevent idle chat haha. Because our thread might be closed.

grand mortar
#

I tested this on my end.

  • Since you are only creating invoices, you can set your retries on this page: https://dashboard.stripe.com/settings/billing/invoice
  • But to determine what should happen to your invoice after the retries you need to update the settings here: https://dashboard.stripe.com/settings/billing/automatic โ†’ Manage failed payments for subscriptions โ†’ Invoice status
  • For the Invoice status , when you indicate If all retries for a payment fail, mark the invoice as uncollectible , once all the re-tries are completed, the invoice will move to uncollectible state.
#

But for a retry to work, the payment method needs to be enabled on your account. For the live account Becs was not enabled so there is no retry and also because it's a unsupported payment method on the account it became uncollectible.

haughty shadow
grand mortar
#

Yeap

haughty shadow
#

If we configure the default payment method to include AU BECS Debit, and it fails, and we want to receive the uncollectible status, does that mean we should listen for invoice.marked_uncollectible rather than invoice.payment_failed? Because invoice.payment_failed will have an open status.

grand mortar
#

Yes! That is the best way to be informed about an invoice being uncollectible.

haughty shadow
#

Okay, thank you so much for your help.