#chengyu
1 messages · Page 1 of 1 (latest)
Is this for your platform account? Or a connect account?
ideally we need to support both scenario
we can have clients platform account or we ask them to register as connect account
so for both cases we need a programtically way to know certain payment method are supported in order to render corresponding payment buttons
Ah, okay. In that case, just retrieve the Account object and look at Account.capabilities.wechat_pay_payments: https://stripe.com/docs/api/accounts/object#account_object-capabilities-wechat_pay_payments
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
got you! thanks so much
srry we tried your method, we did not see Account.capabilities.wechat_pay_payments
request id req_mwkPQaYol6GoxT
I can't see the payload from that request. Can you copy/paste the payload you got from it?
It looks like it might not be enabled or allowed on the account. Are you looking at a connect account? Or your own platform account?
When you go here --> https://dashboard.stripe.com/test/settings/connect/payment_methods do you see a section for Connect accounts as well as Your Account?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Is WeChat pay set to "On" for both?
emm
it should be the platform account
let me have a check
acct_17AugEFSpmyprLKw
this is the account id
I do not know if it is a connected or not
but it should be our platform account
do u have the permission to check if wechat payment method enabled on this account
I can't really tell you unfortunately. I would recommend looking at this page and turning it on yourself: https://dashboard.stripe.com/settings/connect/payment_methods
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
but in setting page
did I miss any thing
you can see I can not turn on the wechat payment by default in connects account settings
Ahhhh, so that message should give you everything you need. What type of Connect accounts are you onboarding?
express account
In that case you would need to use this method via the API to request wechat capabilities: https://stripe.com/docs/api/capabilities/update