#llh_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/1263141098411528216
๐ 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.
- llh_api, 4 days ago, 19 messages
You can remove payment_method_data entirely from that call. I actually think passing just payment_method should confirm the payment intent properly.
payment_method_data is for when you are constructing a new PaymentMethod while making this call. So for a card you would be passing a raw PAN, which looks to be a different flow than what you are trying to do here
so I do want to pass in payment_method_data bc that contains billing_details ๐ฆ
for context I used to confirmPayment on the client side, but for dynamic MCC the doc says I gotta do it server-side, thus the whole dance
Can you send me a link to the doc that you are looking at?
the flow I'm doing is:
- BE creates PI
- FE calls
createPaymentMethodto from acardelements - FE calls BE to confirm and also set a different MCC
On your createPaymentMethod call I see you passing billing details. Is there a reason that you can't collect the additional details and add them there? https://dashboard.stripe.com/test/logs/req_N2iOE17Kgjd7C1
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Looking in to if it is possible to do this on the server side confirm but that may be an easier solution