#Ricky-invoice

1 messages · Page 1 of 1 (latest)

analog fiber
#

Hi there

halcyon ruin
#

Hi jack.

analog fiber
#

What do you mean by an invoice with no payment method attached?

halcyon ruin
#

the webhook invoice.payment_failed seems to trigger even if there isn't a credit card attached the customer, is that right?

#

Vs the webhook charge_failed will trigger only if there has been a card decline.

analog fiber
#

invoice.payment_failed will be fired when a payment for an invoice failed.

#

If you are interested in invoice related events, you should listen to invoice.payment_failed instead of charge.failed.

halcyon ruin
#

thanks, im actually interested in charge failed, this hook fires correctly, but it doesn't indicted to me the number of times the card has failed. as i know stripe retries 3 times.

analog fiber
#

The charge.failed isn't an invoice specific event, and that's why it doesn't contains the information related to retry.

halcyon ruin
#

okay i somehow have to manage the number of times the credit card has failed myself.

#

Also, the trail_ending webhook, does it trigger 7 days or 3 days before expiry of the trial?

analog fiber
#

3 days before the expiry of the trial

halcyon ruin
#

ahh. vs the stripe automatic email is sent 7 days before...