#dishaq_pmd-applepay-verified
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/1216726356373667870
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
hi, do you need any clarification?
you can use
curl -L -s https://<your-domain>/.well-known/apple-developer-merchantid-domain-association | shasum
if you get 66e294f14f03165bb73637f562179d3d9c6e0da9
this means Apple Pay should technically work
currently when i just hit this url https://<your-domain>/.well-known/apple-developer-merchantid-domain-association , some domains dont return 404 instead they are returning 200 but they dont have the cert file at that path.
would you mind sharing your domain? or the PMD ID
just give me a moment pls
Hi there ๐ jumping in as my teammate needs to step away soon. Can we take a step back real quick, when you say you want to check if these domains are verified, can you elaborate on that a bit? Checking the presence of the file alone doesn't confirm the domain has been verified successfully already.
From Stripe, you can retrieve the Payment Method Domain that you created, and check the apple_pay.status field to confirm whether the domain registered with us has been verified by Apple:
https://docs.stripe.com/api/payment_method_domains/object#payment_method_domain_object-apple_pay-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
dishaq_pmd-applepay-verified
sure, i want to check domains for apple pay cert file.
i don't have payment method domain object as i will show apple pay option only for those who have done their domain verification.
Sorry, I'm a bit confused by that. Is this pertaining to a Stripe integration you're building? If so, you register the domain with us and we handle the verification, it isn't something you typically check and use to adjust your UI.
i just want to achieve this functionality. like if i pass the url i should get the response against that url if this domain has been verified or not