#Damo - (Red61)
1 messages · Page 1 of 1 (latest)
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
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
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?
yeah the account in question is just our standard stripe account, so not a "connect" account :
yeah sorry,
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?
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.
Yep that works fine if you want to go that route... you can also support Link right in Payment Element if you want by passing email or it will just show up if Link is enabled. See: https://stripe.com/docs/payments/link/alternative-integration#link-authentication-in-the-payment-element
So it is up to you whether you want to actually use LinkAuthElement itself or not
ah! that seems like it'll be the better flow,
i'll take a look into that, cheers much appreciated
Sure thing