#llh_api

1 messages ยท Page 1 of 1 (latest)

modern hawkBOT
#

๐Ÿ‘‹ 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.

crisp epochBOT
#

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.

pastel zealot
#

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

orchid crystal
#

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

pastel zealot
#

Can you send me a link to the doc that you are looking at?

orchid crystal
#

the flow I'm doing is:

  1. BE creates PI
  2. FE calls createPaymentMethod to from a card elements
  3. FE calls BE to confirm and also set a different MCC
pastel zealot
#

Looking in to if it is possible to do this on the server side confirm but that may be an easier solution

orchid crystal
#

ohhh yeah I can do that

#

let me give that a try