#tarantino-47_error

1 messages ¡ Page 1 of 1 (latest)

fickle anchorBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1351630279634194492

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

sleek bobcat
#

Hello
WHat error are you getting?

rich bridge
#

this one
The provided capture_method (manual) does not match the expected capture_method (automatic). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.

sleek bobcat
#

Ah sorry missed that
Are you seeing the error on the API side of things?
Have you set capture_method when you create the PaymentIntent?

rich bridge
#

on the FE, let me check

#

but on the BE we also set capture_method manually

#

looks like the form is not being updated after the call
elements.update({
captureMethod: isManualCapture ? 'manual' : 'automatic',
});

sleek bobcat
#

Hmm that's weird. I can't seem to reproduce this.

rich bridge
#

so if you init the form with captureMethod: 'automatic', you can change the method to 'manual'? using elements.update ?

sleek bobcat
#

yup, let me double check in case I'm testing it wrong

#

okay yeah that works fine for me

#

I have this very simple code that updates capture method to manual

rich bridge
#

hm