#slim-shaggy_api

1 messages ¡ Page 1 of 1 (latest)

blazing groveBOT
#

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

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

solar fjord
#

Here is the full text of the error:
Please note that the type of payment method "promptpay" is incorrect. Please make sure that the specified type is activated in your personal account (https://dashboard.stripe.com/account/payments/settings ) and all the preview features you're trying to use are enabled in your account. {"User ID":2,"exception":"[object] (Stripe\Exception\InvalidRequestException(code: 0): The type of payment method "promptpay" is invalid. Please make sure that the specified type is activated in your personal account (https://dashboard.stripe.com/account/payments/settings ), and all the preview features you're trying to use are enabled in your account.

pallid crypt
#

Hello, looking in to this. Can you send the request ID (req_123) from one of the times that you got this error?

solar fjord
#

Where can I find it?

pallid crypt
#

You can either get them through your dashboard's log page or you can print it after making a request in the API

solar fjord
#

Thanks, I'll take a look now.

#

req_9QRFmGcCxK0tej

blazing groveBOT
pallid crypt
#

Thank you, taking a look

solar fjord
#

This cannot be due to the fact that the main account is not registered in Thailand?

pallid crypt
#

That could definitely be it, according to our docs we only support it on Thai accounts. Can you try adding on_behalf_of: 'acct_1234' to your API call where the account ID is replaced with the ID of your connected account? That will change the merchant of record and business location to the connected account's, so if promptpay works with that OBO parameter, that means that the account location is the reason behind the error
https://docs.stripe.com/api/payment_intents/create?api-version=2025-07-30.preview#create_payment_intent-on_behalf_of

solar fjord
#

Got it, I'll try it now.

#

That's right, the request passed

#

req_Cv7NT2cRd18Rxj

#

And the connected accounts must also be Thai?

pallid crypt
#

Thank you for testing, glad that narrowed it down. And yes, promptpay is only available for TH Stripe accounts

solar fjord
#

So you need users to create new accounts in Thailand?

#

OK, I'll get acquainted, thanks for the information!

#

And what does OBO stand for?

pallid crypt
#

Doing that would require them to live in Thailand, or to own a legal entity in Thailand. So I think it is moreso that Thai merchants can have that available, but registering a thai account would be done just to be able to offer promptpay

#

OBO = on_behalf_of , the parameter that we tested to see if that helped with the error

solar fjord
#

ok, thanks

#

Is there a possibility of moving the connected account from one region to another?

pallid crypt
#

The account owner can reach out to Stripe support if they are looking to do that I believe