#kristineannmon
1 messages · Page 1 of 1 (latest)
What do you mean by bypassing the mandate in an invoice?
Hi @solar spire, when triggering bank payment and using offline type as the mandate data.customer acceptance in our request, we can bypass the mandate in payment intent. However, in an invoice, we can't skip mandate.
But you can also get the payment_intent from the invoice, and then proceed it with your existing flow right?
Yes we can but payment intent was automatically created during invoice payment.
I still don't quite understand the problem. Do you have any difficulty using that generated payment intent with your existing flow?
We would like to process invoice payment without mandate.
Yes, and your existing flow can handle this already, am I right?
How can we do that using an API callout?
Do you know that you can get a payment_intent from an invoice object (https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent) ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes we handled that part only if we are doing the payment intent without invoice.
Let me write down the steps
- create an invoice
- get the payment_intent from the invoice
- confirm the payment_intent with a
mandate_data( I assume this is how your "bypass" the mandate)
Thank you. Let me try this one.
Hi @solar spire, we followed the steps you provided but the payment intent will be created only if we "pay an invoice" BUT mandate is required when we pay an invoice.
https://api.stripe.com/v1/invoices/in_1OgLMSD2CzZDU24jf95SN5mK/pay