#martin-gaibisso_api

1 messages ยท Page 1 of 1 (latest)

elfin flareBOT
#

๐Ÿ‘‹ 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.

vivid panther
#

Hello
Please provide detailed information. Copy pasting the same text in all the text field isn't helpful at all

rustic rock
#

yeah sorry, was about to do that

#

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

vivid panther
#

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

rustic rock
#

thanks

vivid panther
#

can you share the complete objects you're getting back from the API?

rustic rock
#

sure

#

i removed unused PMs for clarity

vivid panther
#

Since you allow connected accounts to customise their own pamyent methods - there are two payment method configurations

  1. The one that connected account configures for itself (this is the one without application param)
  2. The one that platform configures for connected account (this is the one with application param)

In the second object, you also see a parent field which points to pmc_1NJeABJFieew03j4Bn4d1RlT which exists on platform

rustic rock
#

gotcha, but why the application one shows LINK available and ON and the stripe dashboard shows OFF ?

vivid panther
#

It is on by default on the platform config:

rustic rock
#

yes, but OFF in the connected account config

#

it's my first screenshot

vivid panther
rustic rock
#

so i should be looking at the one with application: null ? ๐Ÿค”

#

whats the other one for?

vivid panther
#

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

rustic rock
#

what is the one with application field for?

#

sorry, i still dont get the difference

vivid panther
#

#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)

rustic rock
#

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 ?

vivid panther
#

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

rustic rock
#

ok, gotcha

#

but why google pay is disabled in pmc_1Q5B65R9O4MIU0jTLh3ftGiF

#

yet dashboard shows default (ON)

vivid panther
#

Hmm that one I'm not sure..

#

On the configuration, it does seem off

#

I think this might be a dashboard bug or something