#aeo_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/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.
- aeo_googlepay-connect-pmc, 2 hours ago, 96 messages
i'm not sure if I should ask the question here, or wait and see if you open the old thread?
Hi! You can ask your follow up questions here.
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.
Do you have the object IDs for the 2 PMCs?
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
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.
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?
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.
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?
how can I get the "platform" one?
Do you mean how do you getpmc_1SPypaAX55J9SsmJ4sLeFGMqwhich 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)?
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
I assume you are using this endpoint: https://docs.stripe.com/api/payment_method_configurations/list with the Stripe-Account header?
You can pass the application parameter (https://docs.stripe.com/api/payment_method_configurations/list#list_payment_method_configurations-application).
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?
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.
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
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.
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
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_
for example...
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
that shows "google pay" as enabled.... but it is not
even though its showing me THAT specific PMC
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.
thank you for the applicationId notes.... my other quetion remains π
I will need to look into your platform account to see what you are seeing. Could I get your help with approving this?
sure
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.
done
Thanks!
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 π
I understand. Just looking into it. Give me the moment π
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.
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?
i did it as the platform
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?
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.
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?
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.
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.
it linked me to stripe support... but its not like at a "create a ticket" screen
looks like this:
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?
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.
Can you click on contact support and let me know what you see?
i tried that, and it doesn't do anything
Nothing opens up? There should be a chat with an assistant.
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
All good! I see your ticket. I will be replying to it with my updates. Thanks!
βοΈ 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.