#aeo_api

1 messages Β· Page 1 of 1 (latest)

haughty galleonBOT
#

πŸ‘‹ 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/1488706091817898035

πŸ“ 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.

left shell
#

i'm not sure if I should ask the question here, or wait and see if you open the old thread?

supple void
#

Hi! You can ask your follow up questions here.

left shell
#

ok.

#

Well... #1 I was told / under the impression that there was only one "default" PMC per account. When I query an account with list on PMC... i'm getting 2 pmc's and both are "IsDefault" = true... and I'm not sure where the other one is even coming from

#

I guess that's both questions.. actually.

#

i feel like it might be possible my sandbox account is messed up in some way... but I really don't know.

supple void
#

Do you have the object IDs for the 2 PMCs?

left shell
#

yes.. one sec

#

pmc_1Sn4CrA5lfDXdOSxop1m2eIQ

#

pmc_1Sn4CqA5lfDXdOSxcDqiqeTI

#

the second one (ending in TI ) is the one that shows up in my dashboard

#

i'm not sure where the other one is coming from, or how it got created

#

but they both return "IsDefault" as true

supple void
#

Give me a min to look into this. Thanks!

#

pmc_1Sn4CrA5lfDXdOSxop1m2eIQ is a child PMC which belongs to the platform you are connected to. This is used as the default PMC when your platfrom creates a Direct charge for your account.

pmc_1Sn4CqA5lfDXdOSxcDqiqeTI is the PMC that belongs to your account. This is used as the default PMC when you create a charge on your own account.

left shell
#

hmmn. are both "active" ? I'm sorry for the beginner questions, I'm trying to understand how it all comes together.

#

I don't see that pmc_1Sn4CrA5lfDXdOSxop1m2eIQ in the dashboard?

#

i looked at settings > connect > payment methods... and I only have "pmc_1SPypaAX55J9SsmJ4sLeFGMq"

#

for reference ( i manage this platform) and i'm querying stuff for my connected platform accounts

#

follow up question: Can two PMC's be "active" at once for a connected account? like does it pull data from each in some heirarchial manner?

supple void
#

pmc_1SPypaAX55J9SsmJ4sLeFGMq is the master PMC which belongs to the Platform and controls the child PMCs like pmc_1Sn4CqA5lfDXdOSxcDqiqeTI. So if you are only seeing pmc_1SPypaAX55J9SsmJ4sLeFGMq this means you are looking at it from the platform's Dashboard. To see pmc_1Sn4CqA5lfDXdOSxcDqiqeTI you need to log in from the connected account's Dashboard.

#

are both "active" ?
Yes, both can be active.

#

follow up question: Can two PMC's be "active" at once for a connected account? like does it pull data from each in some heirarchial manner?

So these PMCs work differently. The 2 PMCs you provided belong to acct_1Sn4CJA5lfDXdOSx. Since this is a connected account, the platform is able to make Direct charges (using Stripe-Account header) for it. But this account is also able to create charges for itself.

When the platform makes the Direct charges (using Stripe-Account header), the default PMC that will be used is pmc_1Sn4CqA5lfDXdOSxcDqiqeTI.

When the connected accounts creates its own charges, the default PMC that is used is pmc_1Sn4CrA5lfDXdOSxop1m2eIQ.

So both PMCs can be active and default because they are used as default for different purposes.

left shell
#

interesting... i have a better understanding...

#

how can I get the "platform" one?

#

and ignore what might be created by the connected account for thier own use?

supple void
#

how can I get the "platform" one?
Do you mean how do you get pmc_1SPypaAX55J9SsmJ4sLeFGMq which is the master PMC for the platform or are you asking how do you only get the child PMC (pmc_1Sn4CqA5lfDXdOSxcDqiqeTI) from the connected account without its own PMC (pmc_1Sn4CrA5lfDXdOSxop1m2eIQ)?

left shell
#

when I call the PMC endpoint with "list", how can I find the platform "default" and ignore the "other one"

#

i'm ultimately trying to enable / disable googlepay/applepay for use in my platform (using direct charges)

#

so I need to find the PMC that is relavant to those choices... and ignore ones that I didn't create... or whatever... the one that My platform will ultimately use

left shell
#

i see

#

i think thats it..

#

now, when I do that... i should only get 1 result that has "IsDefault" true, correct?

#

i could test this.. but maybe you know right away... is the applicationId the same across sandbox and prod?

supple void
#

now, when I do that... i should only get 1 result that has "IsDefault" true, correct?
Yeap!

#

i could test this.. but maybe you know right away... is the applicationId the same across sandbox and prod?
No, they are different.

left shell
#

ok...I think I have my answer / solution... and its also likely why the dashboard (viewed as platform) would show inconsistant data

#

i think there is room for improvement there... because I was completely thrown off by the other PMC "overriding" my platforms choices in showing wether something was "enabled" or not

#

to be clear... if my platfrom is doing direct charges, it will ignore whatever PMC they might have created, and use the one that has my applicationId, right?

#

when the payment element is initatied through my platform.

#

excuse this question... where can I actually find the applicationId.... like in the dashboard? i found my sandbox one, by just looking at the data that was returned from the list endpoint..

#

and just so I don't make any other assumptions, my applicationId will be the same across all connected accounts?

#

@haughty galleon /help

#

@haughty galleon help

supple void
#

to be clear... if my platfrom is doing direct charges, it will ignore whatever PMC they might have created, and use the one that has my applicationId, right?
Yes

#

because I was completely thrown off by the other PMC "overriding" my platforms choices in showing wether something was "enabled" or not
To confirm, are you seeing something different on the parent PMC vs the Child PMC? If so, this might be because the platform allows the connected account to update the child PMC on their dashboard.

left shell
#

well... when I view the "Payment Methods" tab of a connected account, i've noticed my platform settings are not showing... it is like combining them somehow

supple void
#

where can I actually find the applicationId
You can go to Settings > Product settings > Connect > Onboard connected accounts > Onboarding options > oauth tab
The client ID starts with ca_

left shell
#

for example...

#

that shows "google pay" as enabled.... but it is not

#

even though its showing me THAT specific PMC

supple void
#

and just so I don't make any other assumptions, my applicationId will be the same across all connected accounts?
Your platform will have one client ID in live mode and another in Sandbox.

The live mode client ID will be the same for all live connected accounts.

The sandbox mode client ID will be the same for all sandbox connected accounts.

left shell
#

thank you for the applicationId notes.... my other quetion remains πŸ™‚

supple void
#

I will need to look into your platform account to see what you are seeing. Could I get your help with approving this?

left shell
#

sure

haughty galleonBOT
#

Hello @left shell, we have sent you a direct message, please check it at https://discord.com/channels/@me/1471666848004309155

  • πŸ”— The message has instructions on how to grant read and write access to your Stripe Dashboard for our Developer Support team, in order to help you more effectively.
left shell
#

done

supple void
#

Thanks!

left shell
#

you see what I mean?

#

google_pay shows as enabled... but it is not enabled in that PMC, look at the last request, that updated it about 30 minutes ago: req_m2HujXoqc8s4Xo

#

that's my confusion.. I brought it up in the previous chat... but it wasn't resolved.

#

so once you explained about how different PMCs can be "active" or whatever, i assumed this might be the issue with the dashboard display... however, I noticed that it is also specificly loading the pmc_1Sn4CqA5lfDXdOSxcDqiqeTI PMC to view

#

so idk anymore πŸ™‚

supple void
#

I understand. Just looking into it. Give me the moment πŸ™‚

left shell
#

no problem... just trying to give you all the info I know about.. but sounds like you've got a handle on it... thanks for looking πŸ™‚

#

Just going to leave one more bit of info here... earlier... i was looking at this (without all the knowledge I have now) and I tested something... this was in a different connected account, but I manually disabled google pay (like through the dashboard editor for payment methods), once I did that, enabling or disabling through the API seemed to update this accurately.

#

also... just adding this info as well, the PaymentElement seems to respect the application PMC, regardless of what the dashboard is showing.... but i'm still a little concerned about why this is happening, and if I'm missing something or doing something incorrectly.

supple void
#

Just going to leave one more bit of info here... earlier... i was looking at this (without all the knowledge I have now) and I tested something... this was in a different connected account, but I manually disabled google pay (like through the dashboard editor for payment methods), once I did that, enabling or disabling through the API seemed to update this accurately.
Did you manually disable Google Pay while logging in as the platform or the connected account?

left shell
#

i did it as the platform

supple void
#

also... just adding this info as well, the PaymentElement seems to respect the application PMC, regardless of what the dashboard is showing.... but i'm still a little concerned about why this is happening, and if I'm missing something or doing something incorrectly.
To cofirm, when you create the PaymentElement as the platform for connected account acct_1Sn4CJA5lfDXdOSx, Google Pay is disabled correct?

left shell
#

let me double check, but I believe so.

#

currently not showing google pay

supple void
#

I think this will take me some time to investigate. Is it okay if I get you to create a ticket (will send you a DM with how to create it) and I can continue looking into this? I will reply the ticket with my updates.

left shell
#

sure, that's fine... what is your general thoughts on if everything is ok? like is this just some kind of weird dashboard display issue? or is there a fundamental problem?

haughty galleonBOT
#

Hello @left shell, we have sent you a direct message, please check it at https://discord.com/channels/@me/1471666848004309155

  • πŸ”—The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
supple void
#

It's difficult to say at this point but I will update you the moment I figure the issue. Just dropped you a DM for the ticket creation.

left shell
#

it linked me to stripe support... but its not like at a "create a ticket" screen

#

looks like this:

supple void
#

The account showing at the top right hand corner is your platform account correct? If so, can you close this window and reopen the link we sent?

left shell
#

yes... that is the platform ( in sandbox).... i closed the window and clicked the link again, and same thing.

#

i tried exiting sandbox, and same thing.

supple void
#

Can you click on contact support and let me know what you see?

left shell
#

i tried that, and it doesn't do anything

supple void
#

Nothing opens up? There should be a chat with an assistant.

left shell
#

AI assistant was open at the right

#

still is

#

ok, well, i created a ticket.. i think πŸ™‚

#

sorry, it wasn't clear I had to use the AI agent to complete the task

#

anyways.. thanks for your help, and I look forward to your analysis of the problem. take care, have a good night / day

supple void
#

All good! I see your ticket. I will be replying to it with my updates. Thanks!

haughty galleonBOT
#

⛔️ Stripe developers have stepped away for a short while

Please leave your questions here, and we’ll respond as soon as we're back! If you need help urgently, you can contact Stripe support for help.