When enabling Apple Pay and integrating it into your website, you may need to upload an Apple Pay verification file to the website location https://WEBSITEADDRESS.com/.well-known
This feature is available on sites with the WordPress.com Business and Commerce plans, and the legacy Pro plan. If you have a Business plan, make sure to activate it. For sites on the Free, Personal, and Premium plans, upgrade your plan to access this feature.
You may upload the file to your website using SFTP. To do so, please open an SFTP client and log into the website using the SFTP credentials provided at Settings → Hosting Configuration. In this guide, we use the Transmit app (macOS). You may also use your preferred SFTP client.

Upon connecting, you should see your website’s root directory (/htdocs).

Right-click on the root folder, and click ‘New Folder’.

A new folder should be created on the root directory. Set the name of the folder to .well-known (don’t forget the dot (.) at the beginning of the folder name!)

The .well-known folder should be created. Double click the folder to open it.

Locate the Apple Pay verification file on your computer on the sidebar of your SFTP client. Right click on the file, and click the option ‘Upload “apple-developer-merchantid-domain-association.txt”‘. Note that the Apple Pay verification file is usually in the TXT format.

Your file should be uploaded successfully on the website.

If you require further assistance, please contact a Happiness Engineer.