#martin-gaibisso_api
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/1290751977373827114
๐ 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.
- martin-gaibisso_unexpected, 1 day ago, 20 messages
- martin_checkout-bug, 3 days ago, 23 messages
Hello
Please provide detailed information. Copy pasting the same text in all the text field isn't helpful at all
yeah sorry, was about to do that
if i use this endpoint https://docs.stripe.com/api/payment_method_configurations
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and list the PMCs of our connected account, i get 2 objects on the list
one with application field and one without
none of them reflect what stripe dashboard shows
for example:
this is one of our connected account: acct_1NKeo4R9O4MIU0jT
if i list PMCs for this account, i get two objects
for LINK, one shows: {
available: false,
display_preference: { overridable: null, preference: 'off', value: 'off' }
}
and the other: {
available: true,
display_preference: { overridable: true, preference: 'on', value: 'on' }
}
and for google pay, the exact oposite, hence, none of these objects show me what i see in stripe dash
You probably also have a payment method configuration as a platform which is being returned with the API request..
Give me a moment to look
thanks
can you share the complete objects you're getting back from the API?
Since you allow connected accounts to customise their own pamyent methods - there are two payment method configurations
- The one that connected account configures for itself (this is the one without
applicationparam) - The one that platform configures for connected account (this is the one with
applicationparam)
In the second object, you also see a parent field which points to pmc_1NJeABJFieew03j4Bn4d1RlT which exists on platform
gotcha, but why the application one shows LINK available and ON and the stripe dashboard shows OFF ?
Connected account config is pmc_1Q5B65R9O4MIU0jTLh3ftGiF where link is off
https://jsonblob.com/1290757753260597248
so i should be looking at the one with application: null ? ๐ค
whats the other one for?
Depends on your usecase.. If you only want to render the payment methods that your connected account enables then yeah you should be looking at the one where application is null
You get to choose
which payment method configuration you want to use
#1290751977373827114 message
Let's take an example.. You are a connect platform.. Let say you're account A and you have a connected account B..
As a platform, account A can configure the payment method types that are offered in connect payment scenarios which is what pmc_1NJeABJFieew03j4Bn4d1RlT is.
application is the bridge between account A and account B. With pmc_1NJeABJFieew03j4Bn4d1RlT you are technically configuring the payment methods that will be enabled on account B.
Now, as per my first screenshot above, you as a platform (account A) allow connected account (account B) to manage their own payment method types which override what pmc_1NJeABJFieew03j4Bn4d1RlT sets..
pmc_1Q5B65R9O4MIU0jTLh3ftGiF is that override..
So to summarise,
the payment method configuration with application field is configured by platform (account A)
the payment method confirmation with application: null is configured by connected account itself (account B)
that makes sense but i dont get why there are 3 configurations here.
pmc_1NJeABJFieew03j4Bn4d1RlT is the parent, the platform config. i get that
pmc_1Q5B65R9O4MIU0jTLh3ftGiF is the override for that CA
so what is pmc_1NKesFR9O4MIU0jTZ02wCcUW ?
since pmc_1NJeABJFieew03j4Bn4d1RlT object is owned by Platform account - we create a copy of it on the connected account which is pmc_1NKesFR9O4MIU0jTZ02wCcUW
So you can think of it as an object owned by connected account which inherits configs pmc_1NJeABJFieew03j4Bn4d1RlT