#peter.toth - failed invoice payments
1 messages · Page 1 of 1 (latest)
Hello
Let me gather a few resources really quick
Also, are these invoices for one-time payments or subscriptions?
One time
I know about these:
https://stripe.com/docs/error-codes
https://stripe.com/docs/declines/codes
Yeah also take a look at: https://stripe.com/docs/declines
If you are using Stripe invoices, then Stripe hosts the invoice page
Where/how are you trying to notify the customer?
Inside our app
To make sure that we can collect the funds as fast as possible
Would you recommend to let only Stripe to deal with it? I mean with pinging the customer to provide a new payment method when it is needed etc
Gotcha
If you are using invoices, then when the customer tries to check out, it will let them know if there's a problem with their card
You can try this out in test mode with some of our test cards to test different behavior: https://stripe.com/docs/testing
We are not using the checkout flow, we use the offline charges
Specifically this section: https://stripe.com/docs/testing#cards-responses
Oh ok
You can listen to this webhook event then: https://stripe.com/docs/api/events/types#event_types-invoice.payment_failed
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Then notify the customer
Cool, but I think that I've seen it somewhere that Stripe reaches out for the customer as well, is it correct?
Like when the customer needs to authorize the payment (3DS) or when the customer needs to provide a new payment method
For 3DS specifically you can enable Stripe to send an email
But you have to enable it specifically in your settings: https://dashboard.stripe.com/settings/billing/automatic
Cool, can we customize those emails?
Only somewhat: https://dashboard.stripe.com/account/branding
Cool, thanks for the assistance!
No problem!