#dishaq_pmd-applepay-verified

1 messages ยท Page 1 of 1 (latest)

plush joltBOT
#

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

gray ivyBOT
kindred torrent
#

๐Ÿ‘‹ happy to help

worn hazel
#

hi, do you need any clarification?

kindred torrent
#

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

worn hazel
#

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.

kindred torrent
#

would you mind sharing your domain? or the PMD ID

worn hazel
#

just give me a moment pls

viral parcel
#

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

plush joltBOT
#

dishaq_pmd-applepay-verified

worn hazel
#

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.

viral parcel
#

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.

worn hazel
#

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