#MandalorianIV
1 messages · Page 1 of 1 (latest)
hi, what's the problem?
The problem is I was creating payment intent in my flutter app. but I realized that I should not keep the secret key at the local files
certainly not yep
So I retrieve the payment intent from backend
Dieser PaymentIntent pi_3NSdetDORf0YKnMO24oU1FxG kann nicht mit Ihrem veröffentlichbaren Schlüssel bestätigt werden, da dessenconfirmation_method auf manual eingestellt ist. Verwenden Sie stattdessen Ihren vertraulichen Schlüssel oder erstellen Sie einen PaymentIntent, bei demconfirmation_method aufautomatic eingestellt ist.
this error occures
as the error message mentions, you need to change the backend code to pass confirmation_method: "automatic" instead.
in the API call that your backend code is making to create the PaymentIntent
we re following this
we are adding confirmation method in authorize part
I know nothing about that library
try searching in your own backend code for the string confirmation_method and see where it's being used, and change the value
when we do that error pops
pi_3NSdetDORf0YKnMO24oU1FxG normally I should be able to confirm payment with this right?
I don't know what you mean
when we change confirmation method to automatic error pops
you need to fix the backend code to use confirmation_method: "automatic" and create a new PaymentIntent.
what does "error pops" mean?
that looks like an error from that library you're using, I don't recognise it as a Stripe error.
hmm
maybe look at your logs at https://dashboard.stripe.com/test/logs and see if any API request failed there.
I think we have struggling about settting that parameter