#Damo - (Red61)

1 messages · Page 1 of 1 (latest)

untold lagoonBOT
cursive kraken
#

Hi there

#

What type of Connected Account is this

#

Ah nvm you shared the ID

#

Yeah this is a Standard account so there is no real way to do this currently other than that account logging into the Dashboard

#

We have heard this feedback before and hope to build an API to return this info in the future but currently there is no great way to do this

#

To be clear, capabilities don't apply to Standard Accounts. That is only an Express/Custom thing

gentle bramble
#

ahh, okay, no worries thanks for the clarification.

Ideally we were just trying to dynamically remove the "email" field required for Link payments if "Link" wasn't actually enabled on the account.
as it looks like

                     "var linkAuthenticationElement = elements.create(\"linkAuthentication\");\n" 
                    "linkAuthenticationElement.mount(\"#link-authentication-element\");" 

will always mount some kind of email field, even without Link actually being possible

cursive kraken
#

Yeah that's correct.

#

Actually I think you may be able to get this info via the Dashboard

#

Let me double check

#

Well this test account isn't controlled by the platform -- looks like it was just connected via OAuth?

#

So actually that won't be the case. Is that the set up you expect for your Standard Accounts?

#

Hmm actually the ID you gave me above doesn't look to be connected to any platform?

gentle bramble
#

yeah the account in question is just our standard stripe account, so not a "connect" account :

cursive kraken
#

Ah okay

#

So by "enabled" then you mean set for Automatic Payment Methods, right?

gentle bramble
#

yeah sorry,

cursive kraken
#

You can always dictate the payment method types explicitly if you are worried about it not being enabled on the account for Automatic Payment Methods

#

That might be the best path here if you are building a plugin or something?

gentle bramble
#

yeah this is just for displaying the payment-element form really.
what we'll probably end up doing is keeping the automatic payment methods enabled to allow the client to pick & choose their supported payment methods,
and instead just manage the "Link" email display by a seperate config param in our system.

cursive kraken
#

So it is up to you whether you want to actually use LinkAuthElement itself or not

gentle bramble
#

ah! that seems like it'll be the better flow,

#

i'll take a look into that, cheers much appreciated

cursive kraken
#

Sure thing