#edb-custom-connect
1 messages · Page 1 of 1 (latest)
Hi there!
You would look at the capabilities hash: https://stripe.com/docs/api/accounts/object#account_object-capabilities
This will indicate whether OXXO is active inactive or pending
Then it sounds like it hasn't been requested yet
So you would update the account to request it using: https://stripe.com/docs/api/accounts/update#update_account-capabilities-oxxo_payments-requested
I requested it earlier. Does it take a while to process? The dashboard shows that it's On
Hrmm
Can you provide the request ID where you retrieved the account and aren't seeing it listed as a capability?
No it shouldn't take a while... it should appear instantly
I requested it from here: https://dashboard.stripe.com/settings/connect/payment_methods where it says "on by default". is that process independent of the request via API? i.e. do I have to do both?
Ah okay that clarifies things.
So that just means that if the Connected Account has that capability, then that Payment Method will be provided as an option when you are using Automatic Payment Methods.
This is totally independent of actually requesting the capability on the Connected Account
You can request the capability via the Dashboard by viewing the Connected Account
Or you can request it via the API
ok. how do I use the Stripe CLI to update a connected account in this instance? It says I'm not authorized
I don't see it from the Dashboard either
acct_1LTaf4RVgb9RL9IA
So go to your Dashboard here: https://dashboard.stripe.com/connect/accounts/acct_1LTaf4RVgb9RL9IA/activity
And scroll to the bottom
You will see a "Capabilities" section
WIth an "Edit" button
Don't see the edit button?
yeah, it's not in the list :/
Gotcha, let me check on that
thanks
I also tried using the Stripe CLI but no luck:
stripe accounts update acct_1LTaf4RVgb9RL9IA -d "capabilities[oxxo_payments][requested]"=true --live
{
"error": {
"message": "This application is not authorized to edit this account.",
"type": "invalid_request_error"
}
}
any luck?
Sorry helping several folks at once
sure
Hmm that's a strange error
Hi 👋 I'm stepping in as @split sluice needs to go.
Hi
Hmmm... this is strange. You are clearly the Connect Platform for this account acct_1LTaf4RVgb9RL9IA. If you retrieve the account from the API do you see anything in the requirements property?
Okay so the account doesn't have any outstanding requirements. So we know it's not that.
Yeah, I'm pretty baffled at this point
I'm looking in a few other places.
thanks
Okay I've found the logs that say your platform account is missing the account_update permission but I'm not sure how that would be possible. I've reached out to my colleagues to get some guidance on this.
ok, thanks
Okay we are still digging to make sure we find the root cause but the request you shared appears to have been made with a restricted key that does not include the ability to make updates to the Connect Account.
We're testing to make sure that's the issue right now
ok, thank you
Alright yes, the issue is the restricted key.
The API key you are using does not have the permissions to write to Connect accounts.
ok, let me create another one
You will want to specify Write permissions for All Connect resources
thanks
That should work but feel free to come back and ask more questions if it doesn't.
Hooray! Progress...
I was able to update the account. In order for oxxo_payments to be enabled by default do I need to include the request for that capability in the "create account" flow?
I believe so.
Now it's showing as "inactive". How can I activate it?
Check the requirements. Using OXXO may require additional verification checks for the Account
🤔
What happens if you create a new onboarding link for this account?
Hmm, what do you mean by onboarding link? FYI we're using Custom Connect and we're onboarding from our own UI
Right right right.
Any other suggestions? I also can’t see anything related to oxxo payments on the connect account’s dashboard
Have you activated the OXXO payment method for this account?
Yes. From the dashboard Payment Methods page
Unfortunately I don't think I am going to be able to help further. Account capabilities and what controls them go outside my scope. Your best bet to determine what is blocking this account from using OXXO is to write into Support
https://support.stripe.com/contact/email
I just don't have the permissions or expertise to offer guidance here.