πŸ‡ΊπŸ‡ΈUnited States @bmelvin1

Account created on 3 December 2012, about 12 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States bmelvin1

You mentioned "change the controller route to accept both the bare route and the route with a .txt file." I read the documentation for Drupal routes β†’ as well as the page on parameters in the url β†’ , but don't see how to make the ".txt" optional. Although path: '/.well-known/{file_name}' should direct all requests to the module, it might cause a problem with other files that are expected to be in the .well-known folder.

πŸ‡ΊπŸ‡ΈUnited States bmelvin1

Whoa - the smoking gun! I found official Apple documentation that contradicts their other official documentation. Check it out: https://developer.apple.com/documentation/technotes/tn3103-apple-pay-on-...

Domain verification
Once your domain is configured in the Merchant ID Configuration page for example.com, you will be asked to verify your domain with a apple-developer-merchantid-domain-association.txt file. On your server, download the file and place it in the .well-known location:

https://example.com/.well-known/apple-developer-merchantid-domain-associ...

πŸ‡ΊπŸ‡ΈUnited States bmelvin1

Here's a good one: https://forums.developer.apple.com/forums/thread/744311
Reasonable people would expect Apple's tech to work as described in their documentation. Reasonable people could be wrong. :-/

πŸ‡ΊπŸ‡ΈUnited States bmelvin1

Google this: "apple merchant domain verification file extension" -- you will find many folks out there who believe that the verification file has a .txt extension. In some cases, they provide a file with a txt extension. In other cases, there is no extension. People naturally assume Apple would be consistent (why wouldn't they be!!?), but the evidence suggests they are not.

πŸ‡ΊπŸ‡ΈUnited States bmelvin1

Hi & thanks for the quick response! I am the monkey in the middle on this issue. My role is to maintain the berklee.edu domain. One of the Berklee departments uses a service called iDonate to accept charitable contributions for Berklee. iDonate is interfacing with Apple. They say:

"The file location is provided by Apple when we generate the domain verification file, and it does include the .txt extension. Can your IT rep host the file at the following location? https://www.berklee.edu/.well-known/apple-developer-merchantid-domain-as..."

The verification step is failing. As you can see from the enclosed screenshot, Apple is expecting it to have the .txt extension. So, naturally, it isn't finding it at https://www.berklee.edu/.well-known/apple-developer-merchantid-domain-as...

Granted, Apple's documentation never mentions .txt. The documentation suggests that there should be no extension. I've been assuming that iDonate is doing something wrong, but there's information out there to suggest that the .txt extension is common and might even be a new standard!?

Production build 0.71.5 2024