#ebellotpu6
1 messages · Page 1 of 1 (latest)
Are you following any docs for this?
Yes, I have achieved it but now I am getting this error:
This PaymentIntent requires a mandate, but none was found. Get the mandate acceptance from the client and try again. To do this, you must provide the acceptance data in the mandate_data parameter.
To pay this invoice, update the payment method and try the payment again.
How can I add the mandate?
You typically create it when you create the PaymentMethod
https://stripe.com/docs/payments/sepa-debit/accept-a-payment?platform=web&ui=element#web-collect-payment-method-details
How exactly did you create the payment method?
var options = new SetupIntentConfirmOptions
{
PaymentMethod = paymentMethodId,
MandateData = new SetupIntentMandateDataOptions
{
CustomerAcceptance = new SetupIntentMandateDataCustomerAcceptanceOptions
{
AcceptedAt = DateTime.Now,
Type = "offline"
}
}
};
I have the mandate in a document file
Can you share the SetupIntent ID? Just want to make sure I am on the same page 🙂
It should look something like seti_xxx
seti_1N1T90Ad02IkV8oWChVEo579
also please share the request ID where you're seeing this error
This PaymentIntent requires a mandate, but none was found. Get the mandate acceptance from the client and try again. To do this, you must provide the acceptance data in the mandate_data parameter.