#Ricky-invoice
1 messages · Page 1 of 1 (latest)
Hi jack.
What do you mean by an invoice with no payment method attached?
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.
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.
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.
The charge.failed isn't an invoice specific event, and that's why it doesn't contains the information related to retry.
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?
3 days before the expiry of the trial
ahh. vs the stripe automatic email is sent 7 days before...