#sogord_docs
1 messages · Page 1 of 1 (latest)
👋 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.
hi there, can I confirm you are using Direct Charges? is Link turned on for your connected account?
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
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_ ?
acct_1QUHBhJeMNR9lP6L
I don't see any direct charges created in acct_1QUHBhJeMNR9lP6L. Is there a specific request ID for payment creation you can share with me?
Here’s how you can find the request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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
are you creating payments in test mode?
yea
Okay so we can use req_XH289JJuFx7gZ1 for example, this request resides on the connected account and is a Direct Charge
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:
- Create a customer
- Create ephemeralKeys
- 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.
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?
When they're entering a new card without any save it also shows up
Okay I see that Link is turned on for your connected account - acct_1ReQ7eQqsGH3bz3o. Could you try turning it off?
This is the page I'm looking at: https://dashboard.stripe.com/test/settings/payment_methods/pmc_1ReQ8EQqsGH3bz3ouh2eB4lR
no I meant on the connected account
you're currently logged into acct_1QUHBhJeMNR9lP6L I believe
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?
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
this dashboard url should bring you directly to the page: https://dashboard.stripe.com/settings/payment_methods/connected_accounts?config_id=pmc_1Re4CeJeMNR9lP6L0xr6x9m8 (please login to acct_1QUHBhJeMNR9lP6L to view this link)
I see it now, thank you so much!!!