#Lozzzko
1 messages · Page 1 of 1 (latest)
I am jumping in meeting and I will be back in 15 min sorry
Hi
My idea is to charge the customer directly in our app when we have the cards on file.
You can follow this guide for this:
https://stripe.com/docs/payments/save-during-payment
This isn't using Checkout Session, because this use case is quiet advanced. You need more customizable integration using Stripe Elements for that.
Does our back-end receive the errors?
You can set up webhooks for that and listen forpayment_intent.payment_failed
https://stripe.com/docs/api/events/types#event_types-payment_intent.payment_failed
so if I understand we will receive the error from Stripe and we can visualize it to the customer?
And does the customer receives a notification from Stripe (email etc..) for failed payment attempt
Your backend can receive a notification (webhook event) yes, you can show the customer the error from the frontend too
no
does the stripe support if contacted by the customer can provide the reasons for the failed attempt?
They need to reach out to you first.
Yes of course, don't hesitate to come back if you have issue in your integration.