#_iapp_technologies_llp

1 messages · Page 1 of 1 (latest)

potent sinewBOT
#

Hello! We'll be with you shortly. 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.

oblique lily
#

Hi there!

fallen mango
#

Here is a screenshot

oblique lily
#

can you share the Request ID?

fallen mango
#

Yes

#

Give me a minute

#

I am using it like this.

#

Payment Method ID: pmc_1OM6SMKvxJTGGvn7Z5uiDDEK

oblique lily
#

Thanks, but can you share a request ID (req_xxx)?

fallen mango
#

Yes please give me a few minutes. I will locate and send.

fallen mango
oblique lily
#

wait, you are passing pmc_1OM6SMKvxJTGGvn7Z5uiDDEK in the payment_method parameter?

#

pmc_xxx is not a payment method, but a payment method configuration

#

so it's expected to not work

#

what are you trying to do exactly?

fallen mango
#

I am trying to choose a payment method to create a payment intent for live payments.
For test payments I am using pm_card_visa

oblique lily
#

so you want to create a PaymentIntent, but you don't already have a saved payment method for that customer? then remove the payment_method parameter

fallen mango
#

Okay but without sending the payment_method parameter the confirm payment api is not working

#

It shows the following error:
"You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method."

oblique lily
#

if you don't have a payment method, then you need to collect one on the frontend with the Payment Element