#sogord_docs

1 messages · Page 1 of 1 (latest)

peak birchBOT
#

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

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

polar remnant
#

hi there, can I confirm you are using Direct Charges? is Link turned on for your connected account?

compact pollen
#

Hi aure 🙂

I'm not 100% sure how to answer that.

I believe I'm using direct payments, and in my dashboard, I see the Link as off

polar remnant
#

the payment method settings you're showing is like for your Platform account. But direct charges uses the connected account payment method settings

#

If you don’t mind, could you share your account id so that I can take a closer look at how your integration works? You can find your account id by logging in to https://dashboard.stripe.com/settings/account . It'll have the prefix acct_ ?

compact pollen
#

acct_1QUHBhJeMNR9lP6L

polar remnant
compact pollen
#

One moment, i'm looking

#

I'm not seeing logs for the requests that seems successful on my end. It could be i'm doing things wrong.

I see a charge for Account ID: acct_1ReQ7eQqsGH3bz3o, which is the account of a "connected account". Though, i don't see those in the dev logs

polar remnant
#

are you creating payments in test mode?

compact pollen
#

yea

polar remnant
#

Okay so we can use req_XH289JJuFx7gZ1 for example, this request resides on the connected account and is a Direct Charge

compact pollen
#

Some more info:

Whenever a user initiates a connection with stripe (company entity in my app), it creates them an account_id. I store their account_id and use that as the "stripe_account" value in my api calls.

Each company has a concept of its own customers. For all these calls, I supply the company's account id they initialized themselves for the following api calls:

  1. Create a customer
  2. Create ephemeralKeys
  3. Create payment intent

What did confuse me is that the call for creating the payment intent supports a param "on_behalf_of", which sounds to me like this is supposed to be the company account id, but none of the other function calls support that.

polar remnant
#

give me awhile, i'm looking into why a payment created from req_XH289JJuFx7gZ1 could display Link despite you passing automatic_payment_methods: enabled: "false"

#

will you be able to share with me a screenshot of how Link appearing on your payment sheet?

compact pollen
#

yes, one moment

polar remnant
#

Ah, that's the Express Checkout Element

#

Let me check..

compact pollen
#

When they're entering a new card without any save it also shows up

polar remnant
#

Okay I see that Link is turned on for your connected account - acct_1ReQ7eQqsGH3bz3o. Could you try turning it off?

compact pollen
#

It shows up as "off" for me, i only have an option to turn it on

polar remnant
#

no I meant on the connected account

#

you're currently logged into acct_1QUHBhJeMNR9lP6L I believe

compact pollen
#

i see, one sec let me try

#

Okay now that worked!

Amazing.

Now my question is, am I able to adjust that default so it's always off for newly connected accounts?

polar remnant
#

Yeah when you create a Direct Charge, it uses the connected account's payment method setting. As a Platform you can control what payment methods are available to your connected account from your Connect settings. That would be Settings > Connect > Payment Methods > For your connected account

#

currently I see Link being "Default On" in your Platform's Connect settings

compact pollen
#

oh my god

#

thank you!

polar remnant
compact pollen
#

I see it now, thank you so much!!!