#a2e_erwizzair

1 messages ¡ Page 1 of 1 (latest)

neat jettyBOT
#

👋 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/1450847973893345393

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

cosmic plover
#

hi there!

#

can yuo share the failed Request ID (req_xxx)?

agile nymph
#

I will try to reproduce it. This will take me about 15 minutes, is that ok?

cosmic plover
agile nymph
#

Ah, true. It's this: req_zBtAlr8wIQj4y7

cosmic plover
#

thanks

#

cpmt_xxx is not a Payment Method Configuration

neat jettyBOT
cosmic plover
#

it should look like pmc_xxx

#

so it looks like you are using the wrong object here

agile nymph
#

So previous to that, I tried pmc_xxx and it also resulted in an error: see req_buaIPfYmmbon0z

cosmic plover
#

but that's a completely different error

#

the error message is pretty clear:

No valid payment method types for this Payment Intent.

#

so you need to enable more payment method in that pmc_xxx for things to work.

agile nymph
#

I am trying to add a custom payment method. It worked. I have cpmt_1SdZqc2cTUXY3q6QN6YYOH0s (see image).

However then when I try to configure an actual payment method pmc_1SdZr32cTUXY3q6QuRt4bqMU I don't see my custom payment method option in the list. See second image.

#

Are there any extra steps to enable a custom payment method? Will it work in sandbox?

weak pike
#

Custom payment methods are not added to payment method configurations, you have to pass those into the elements session explicitly by ID, as shown here:

agile nymph
#

I think there's a missing link or file.

weak pike
agile nymph
#

Ahh, thanks

weak pike
#

(just took me a sec to get the right link)