#nukesforbreakfast_sandbox-account-capabilities

1 messages · Page 1 of 1 (latest)

wispy needleBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

rancid gorge
#

How did you create your Sandbox? Did you clone your existing Account?

winged pollen
#

Yes, I cloned the existing account. There were no connected accounts showing after sandbox creation. I had to create those separately.

rancid gorge
#

Okay and you are saying that the behavior doesn't match what we describe here:

Sandboxes and test mode ignore capability statuses. They allow an account to perform capability-dependent actions even when the associated capability’s status isn’t active.

winged pollen
#

wksp_test_6Sxrv53zSQ3nQwfkvaLEAjI this is the sandbox ID.

winged pollen
rancid gorge
#

Okay yeah I dug into this with my colleague and unfortunately that blurb is missing some context. It's not true that we skip all capabilities. We only skip capabilites for local payment methods like Klarna or Swish

#

So you still need the basic capabilities like Transfers and Cards

winged pollen
#

oh alright

#

I guess can the docs be updated to be more clear then?

rancid gorge
#

I'm filing that feedback currently

winged pollen
#

Is there an API based method to forcibly update the capabilities in test mode to be active? I don't really have the onboarding front end done right now. I guess I could always just hack together some embedded components...

rancid gorge
#

Unfortunately we don't have a mechanism to force capabilities to be active. It requires at least a minimal onboarding. You can always generate Account Links yourself and just print out the URL so you can open the Stripe UI and click through it.

It's what I do when I need a fresh Connected Account.

winged pollen
#

does that work for accounts configured to use embedded dashboard components?

rancid gorge
#

Ah you mean where the Platform is responsible for collecting the required info?

#

I think it should still work.

#

Looking at the earlier step here it suggests taht as long as you have requested the capabilities and set the Account country, you should be okay.

winged pollen
#

yes

#

let me get the log

#

req_g6dimdK1GjN9g2 for example

#
{
  "business_profile": {
    "mcc": "9399",
    "name": "City of Poway"
  },
  "business_type": "government_entity",
  "capabilities": {
    "card_payments": {
      "requested": "true"
    },
    "link_payments": {
      "requested": "true"
    },
    "transfers": {
      "requested": "true"
    },
    "us_bank_account_ach_payments": {
      "requested": "true"
    }
  },
  "company": {
    "name": "City of Poway",
    "structure": "governmental_unit"
  },
  "controller": {
    "fees": {
      "payer": "account"
    },
    "losses": {
      "payments": "stripe"
    },
    "requirement_collection": "stripe",
    "stripe_dashboard": {
      "type": "none"
    }
  },
  "country": "US",
  "metadata": {
    "jurisdiction_id": "org_2cpUAjak7ET7nMjloDl8EcJfD7o"
  },
  "settings": {
    "branding": {
      "icon": "file_1RtFdzBtIpo4XHMmswUcMRgz"
    },
    "card_payments": {
      "decline_on": {
        "avs_failure": "true",
        "cvc_failure": "true"
      }
    }
  }
}
#

this was the request body

rancid gorge
#

Yep. So you should be fine using the Account Link approach

winged pollen
winged pollen
rancid gorge
#

No

#

I'm saying that the request above is enough to allow you to use Account Links to onboard the account you created

winged pollen
#

gotcha

rancid gorge
#

You asked if using Account Links would work for accounts that have no dashboard access

#

And we do allow Account Links for accounts with no dashboard access IF you specified the country and requested capabilities in the creation request.

rancid gorge
#

😅 I have all URL unfurling deactivated