#intelagent_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1262865836134236211
๐ 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.
- intelagent_checkoutsession-custompayment, 1 day ago, 9 messages
I presume you are supplying a payment_method token in your request?
Oh man, of course I just found it.
on the first payment by the customer you need to create the intent with:
payment_intent_data[setup_future_usage] = "off_session"
then in subsequent requests you can pass the payment_method and customer.
I was looking for this if anyone ever stumbles upon this thread: https://docs.stripe.com/js/elements_object/create_without_intent#stripe_elements_no_intent-options-setupFutureUsage
We can close this, thank you
I tried to open a new thread, but it directed me here. I'm migrating my checkout flow to use confirmation tokens. The confirmation token is first generated on the client, and then sent down to the server to confirm the payment. However, we have 1 payment intent per cart so we first create the payment intent and update if needed on checkout. But when manually confirming the payment intent (since we don't want to create and confirm at the same time), I'm getting this error: confirm payment intent: {"status":400,"message":"Payment details were collected through Stripe Elements and cannot be confirmed with a Payment Intent configured with manual confirmation_method."}
๐ Stepping in for my teammate
Hey thanks!
I think there might be a misunderstanding here. Using confirmation_method: manual means you intend to confirm using a secret key. I think you intend to use confirm: 'false' instead? Since confirm defaults to false, there's no need to pass this parameter at all when creating the PaymentIntent
Oh I see. The golang docs say: Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment. You are correct, this worked but I still don't understand what this parameter means?
This can likely be explained better in our docs. Using manual confirmation means that funds will only ever move if the PaymentIntent is confirmed server side
I am confirming the payment intent server side in this case, so wouldn't I want manual confirmation?
Sorry, this is a little tricky to explain. "Manual confirmation" is not "server side confirmation". "Manual confirmation" means that a re-confirmation is needed server side to move funds.
Since you're using ConfirmationTokens, you should omit confirmation_method altogether (this will default to automatic) and confirm the PaymentIntent when you're ready
Also, "manual confirmation" is different from "manual capture"
Correct I think I'm clear on the differences there. Appreciate your help