#mitok_error

1 messages · Page 1 of 1 (latest)

ruby orbitBOT
#

👋 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/1342124345224462416

📝 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.

night maple
robust field
#

yes, I have this file

night maple
#

Are you using Connect with your website ?

robust field
#

yes

#

it is Connected Account

#

we were able to use apple pay about 2 months ago

#

and looks like nothing were changed

night maple
#

You need to register that domain for all your Connected Accounts

robust field
#

but I have 20 connected accounts, are you sure that I need to register my domain to all?

robust field
#

"Connect platforms must register all domains where Elements or Checkout’s embeddable payment form displays the payment methods listed above. The domain where the charge is being run needs to be registered for the user running the charge."

#

i don't need to register it to all my 20 connected accounts

night maple
#

If you are using Direct Charge then you need to register it for all Connected Account

#

Please continue to read the full section

robust field
#

are there any way to check if my domain is registered to the Connected Account?

night maple
#

You can iterate on each Connected Account and list their registred payment domains

ruby orbitBOT
robust field
#

but this api is for payment method domains, but not for connected accounts

#

i can't find the appropriate api endpoint in the documentation to list or get connected account(s) with registered domains

#

I can get details from payment method domain
{
"id": "pmd_1O7N5dHrxLAaYjng3ZLoSbo1",
"object": "payment_method_domain",
"amazon_pay": {
"status": "active"
},
"apple_pay": {
"status": "active"
},
"created": 1698778501,
"domain_name": "uat.flibco-ci.com",
"enabled": true,
"google_pay": {
"status": "active"
},
"link": {
"status": "active"
},
"livemode": false,
"paypal": {
"status": "active"
}
}

royal drift
#

So, yes, as my colleague suggests for direct charges patterns you need to register the domain using connect on the connected account

royal drift
#

Its the same api: you list the domains for the specified account

robust field
#

I have 20 connected accounts, should I register my domain to all connected accounts even if they are not related to this domain?

#

i want to understand what is happening with my payment methods

#

because on our QA environment everything is ok with apple pay, and UAT environment is not
and we use there different connected accounts

robust field
#

and still I see the issue

royal drift
#

If an account doesnt use that domain or doesnt need to show wallets, you dont need to register it

royal drift
#

So that needs to be re-enabled now

#

pmd_1ONDjsDMPmPwJSYhIQSJYdq6

#

You need to make an update request for that PMD id, using the connected account header

#

and set enabled=true

robust field
#

checking

#

pmd_1ONDjsDMPmPwJSYhIQSJYdq6

{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payment_method_domain: pmd_1ONDjsDMPmPwJSYhIQSJYdq6",
"param": "id",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_12bBNlRHJFfFMZ?t=1740063127",
"type": "invalid_request_error"
}
}

Learn more about Stripe API error codes and how to resolve them.

#

something wrong with this new payment method

#

now I have this one pmd_1O7N5dHrxLAaYjng3ZLoSbo1 enabled

#

but I can't find pmd_1ONDjsDMPmPwJSYhIQSJYdq6

royal drift
#

You didnt use the stripe-account header -- that PMD belongs to the connected account you mentioned

royal drift
#

You request also does not include any POST body (eg, enabled=true) so make sure to add that too

robust field
#

I was able to send the request with stripe-account header, but it is not documented here

#

checking the payment methods on the ui

robust field
#

stripe-account header for activation of PMD

royal drift
#

It's documented at the top of the API reference. As i said, it applies to all APIs

robust field
#

oh, I see, it was in different doc

#

I was able to pay via apple pay on my env

royal drift
#

Excellent!

robust field
#

thanks a lot

#

it is interestiing why it stoped working (I mean apple pay) but I guess you won't be able to tell me)