#ro-bazh_api

1 messages ยท Page 1 of 1 (latest)

white flintBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

meager drift
#

Hi there ๐Ÿ‘‹ what are you seeing in the response to your requests? (we don't log the output of GET requests) And where are you looking in the dashboard?

My suspicion is that you are looking at Payment Method Domains for your own Platform account in the Stripe Dashboard, but this request you shared is retrieving the Payment Method Domains for your Connected Account. If that's a correct assumption, the responses shouldn't necessarily be the same since you're looking at two different accounts.

latent badge
#

nop I'm looking direclty to the connected account not on mine

#

here's the request to create the payment method domain on the account acct_1S8o2SPmV7RMt2m0

req_JVIe7ufyWorSm5 it returned the id pmd_1SSPrGPmV7RMt2m0tmNCtgnL

#

sorry that was not the request

#

I fixed it, but the pmd pmd_1SSPrGPmV7RMt2m0tmNCtgnL is not visible in the dashboard but and if I visit the dashboard the pm that is visible is id pmd_1SSlmNPmV7RMt2m0dKtK9224

#

but I make a get request such as req_P4wSfOqPTOscuZ on the API it only returns the pmd_1SSPrGPmV7RMt2m0tmNCtgnL

meager drift
#

Gotcha, taking a closer look

#

When you're looking in the Dashboard, are you using "View Dashboard as [Connected Account]" feature?

latent badge
#

no in this case the client gave me access to their dashboard, so I'm seeing it directly

meager drift
#

So I think what you're seeing is the PMDs they control for their own account when you're in their dashboard, but in the API you're only seeing the domains relevant for your Platform that are on that Account.

latent badge
#

ummm... that's sounds weird tbh

meager drift
#

But my teammates and I really aren't that well versed in the dashboard. That's usually something our Support team knows better than we do. From a technical standpoint, there are two separate PMDs in this case. One for the Account doing it's own payments, and one for your Connect integration for this Account. Then I think it's reasonable to block you from seeing each others, so you can't mess with them and possibly break an integration.

latent badge
#

umm the funny thing is that when I created the pmd over the API the pmc was still requesting to add the domain to use apple pay and google pay

meager drift
#

Can you elaborate on this part, what does this mean?

the pmc was still requesting to add the domain to use apple pay and google pay

latent badge
#

and even if I make the request using the secret api for the client directly instead of using the "connect" way I get the same result over the API

latent badge
# meager drift Can you elaborate on this part, what does this mean? > the pmc was still request...

so our platforms uses Apple pay and google pay for express donation, and was not visible on the forms of the clients so we added the domain over the API and didn't fix anything, so the client gave me access to their dashboard to debug, and the pmc on the google pay option had a message that a step was missing and that step was adding the domain, so I reviewed it on the dashboard a no pmd was visible so I added it on the dashboard and that fixed the notice

#

does that make sense?

meager drift
#

That sounds like something isn't being initialized correctly for Connect then if settings on the Connected Account are changing payment behavior, but I still don't have much context on your integration. Is it safe to assume you're using a Direct Charge flow for your Connect structure? And are you using Payment Element + Payment Intents for the payment processing, or maybe Checkout Sessions?

latent badge
#

umm I mean, sounds like, but it got solved when I added the domain on the dashboard

#

but yes, we're using the wallet elements with payment intents

meager drift
#

Which is why it sounds like your Connect integration isn't set up correctly.

Are you creating your Payment Intents before or after the Express Checkout Element?

latent badge
#

after

meager drift
#

Gotcha, can you share your code for initializing Stripe.js?

white flintBOT
latent badge
meager drift
#

Does that publicKey belong to the Connected Account or your Platform?

latent badge
#

direct charges and it's their account

meager drift
#

Then the PMDs that you can see from the API should be the ones being used.

hasty oak
#

๐Ÿ‘‹ Toby has to head out so I'll be taking over the thread. Just getting caught up.

latent badge
#

umm ok.. so to create the client's domains I need to create those on my account instead of the connected account?

latent badge
#

ok

#

so this went like very far from my original question xD so thank you for your help, it make sense now

hasty oak
#

Of course! I'll let Toby know since they did all the heavy lifting here ๐Ÿ™‚

latent badge
#

haha thanks, have a great day ๐Ÿ™‚