Jump to content

Host a Domain Association File?

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://www.coopdayton.org/donate


I'd like to add Apple Pay to my donation widget from an app called GiveLively.

GiveLively provides a "domain association file" to connect with Apple Pay and minimal instructions: https://www.givelively.org/resources/enable-and-disable-digital-wallets#toc-enable-apple-pay-on-the-simple-donation-widget

How specifically do I "host" the file on my site?

Thank you!

Link to comment
  • Replies 7
  • Views 2.3k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 11/19/2021 at 9:22 AM, ChelleM said:

I'd like to add Apple Pay to my donation widget. GiveLively provides a "domain association file" to host on your site at: /.well-known/apple-developer-merchantid-domain-association

This isn't possible on Squarespace. You cannot serve a file from a root directory or named subdirectory on Squarespace.

Squarespace is a 'website builder', and whilst this means that you can produce a professional-looking website very easily without technical knowledge, it also means that you do not have access to a 'server' and you cannot save files to a specific subdirectory or folder. All files added to Squarespace are placed in the /s/ "subdirectory".

I know this is not the answer you wanted, but I hope it saves you from endless searching for a solution that does not exist.

                                                    Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment
  • 2 months later...
  • 6 months later...
  • 3 weeks later...
  • 6 months later...
  • 4 months later...

Although I do not have a solution to the inability to host a Domain Association File on Squarespace, I do have good news for the original poster and anyone else who is looking into this matter specifically for Give Lively: 

It is unnecessary to host the ApplePay Domain Association File as part of the process for enabling Apple Pay on the Simple Donation Widget. Squarespace already has the Domain Association File built in, so Give Lively members on Squarespace-hosted websites actually have a much simpler process to enable Apple Pay.

Our instructions for Squarespace users have been updated here

Edited by clairatgivelively
Link to comment
  • 8 months later...

A client of mine would like to use apple pay, for which they need to host a certain file on a certain page (see instructions below). However, Squarespace doesn't let us set pages with a dot in the slug, nor can we host a file on a certain page. 

So I figured I could do this by just placing the file in the FTP under the right path. Now I know that I cannot access the FTP anymore with Squarespace 7.1. And I was wondering if anyone has experience with moving their hosting to an external host so that we can have full control over the FTP. Any downsides to that?

I'm not sure if that would be the solution but any tips are very welcome. 


Instructions from apple pay provider:

  1. Work with your designer to add a path for /.well-known/apple-developer-merchantid-domain-association on your website.
  2. Upload the domain associate file under that website path.
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.