#mitok_error
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/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.
- mitok_error, 23 minutes ago, 40 messages
Have you added the virfication file as mentioned here:
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#verify-domain-with-apple
Are you using Connect with your website ?
yes
it is Connected Account
we were able to use apple pay about 2 months ago
and looks like nothing were changed
You need to register that domain for all your Connected Accounts
but I have 20 connected accounts, are you sure that I need to register my domain to all?
"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
If you are using Direct Charge then you need to register it for all Connected Account
Please continue to read the full section
are there any way to check if my domain is registered to the Connected Account?
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"
}
}
It's the payment method domain API, and ~all APIs can be accessed using connect pattern for connected account (there are some exceptions, but they are not relevant here).
So, yes, as my colleague suggests for direct charges patterns you need to register the domain using connect on the connected account
What do you mean by this?
Its the same api: you list the domains for the specified account
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
it was registered as I understand, because few months ago everything was ok, but I send the request
POST https://api.stripe.com/v1/payment_method_domains
with acct_1LqGkXDMPmPwJSYh and uat.flibco-ci.com
and still I see the issue
You should register the domain on any account where you want to conduct direct charge payments at that domain and show wallet payment methods
If an account doesnt use that domain or doesnt need to show wallets, you dont need to register it
that was my initial thought
That domain was registered and verified for that account, but was later disabled
So that needs to be re-enabled now
pmd_1ONDjsDMPmPwJSYhIQSJYdq6
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You need to make an update request for that PMD id, using the connected account header
and set enabled=true
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"
}
}
something wrong with this new payment method
now I have this one pmd_1O7N5dHrxLAaYjng3ZLoSbo1 enabled
but I can't find pmd_1ONDjsDMPmPwJSYhIQSJYdq6
You didnt use the stripe-account header -- that PMD belongs to the connected account you mentioned
the account here ☝️
You request also does not include any POST body (eg, enabled=true) so make sure to add that too
I was able to send the request with stripe-account header, but it is not documented here
checking the payment methods on the ui
What's not documented?
stripe-account header for activation of PMD
Excellent!