#ketaaa-SEPA
1 messages ยท Page 1 of 1 (latest)
hello! where are you seeing The PaymentMethod provided (sepa_debit) is not allowed for this PaymentIntent?
do you have the request id where you see that error? or the PaymentIntent where you encountered that error?
req_8FkEC62Cczjmff
here is the request ID
my request body contains the "off_session" and "confirm" flag to true, working fine with credit card
you passed in
enabled: "false"
},```. And since you didn't specify `payment_method_types` - it will default to ` [โcardโ]`
that's why you can't use SEPA for that PaymentIntent
so i have to pass sepa_debit on this body request?
or enable true will enable all?
You must provide a return_url when confirming using automatic_payment_methods[enabled]=true.
i just want the same behavior with credit card but working with sepa ๐
then try passing in sepa_debit as a payment method type and see if that works for you
trying now
i think it works
can we keep this ticket open ?
so i will update if i encounter any other problem
the thread will be closed after a while. If you have a new problem feel free to ask again in the channel ๐
okay thanks
it seems I can't do an offline payment setting automatic_payment_methods['enabled] = false
and setting payment_method_options
in the request
what's the request id?
req_EOgljDW9A6hesK
and if i'm not setting the automatic_payment_methods flag, my application throw an error so i'm kinda stuck
remove automatic_payment_methods i.e. don't include it in the request at all if you're specifying payment_method_types
okay
thanks
checking
any other way to use automatic_payment_methods flag?
Because I have this code in my application (developped by stripe team)
to check if a payment intent is valid or not
i'm not sure i understand, how does that code snippet check if a PaymentIntent is valid? What is a valid PaymentIntent?
Anyway I think it's out of your scope
I will do a modification other here
and I think it will work
alright, let me know if you have any other questions