#sarrielek_api

1 messages ¡ Page 1 of 1 (latest)

crisp ploverBOT
#

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

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

stark owl
#

So if you go to the link in the error message it shows you the list of options

#

It's wechat_pay not wechat

frosty saddle
#

I still get The payment method type "wechat_pay" is invalid.

#

I'm on test mode, does it make a difference?

stark owl
#

Can you share the request id

frosty saddle
#

req_2JQJUPzGvdtgFx

#

If I don't send any payment_methods, I only get card, ideal, sep_debit and link. (req_4097hTXjJl1cB8). But if I use payment intent with 'CAD' I get card, wechat_pay, klarna,... (req_4097hTXjJl1cB8). Am I missing a configuration there?

stark owl
#

So WeChat is only available for Chinese customers

#

Try creating a test Chinese customer

#

I think it may be that the customer you're passing is EUR based

#

Oh sorry that's not it

#

WeChat doesn't support SetupIntents

frosty saddle
#

ohhh, I see.

#

the customer is new

#

It will only show whatever is available for setupintents but on there is more types available on payment intents, right?

stark owl
#

It depends

#

You can also pass setup_future_usage to a paymentintent to set up a payment for future use

#

That would further restrict available payment method types

frosty saddle
#

ok

#

I missed that support table; thanks so much! it is really helpful

stark owl
#

No problem