Domain verification is only required for pages you host. Whop-hosted checkout
pages and whop.com are already approved.
Prerequisites
Before setting up Apple Pay, check that you have:- A domain where you’re mounting Whop Elements
- The ability to host a file on that domain (to serve the Apple Pay verification file)
Self-hosted verification
To verify your domain, serve the Apple Pay merchant ID domain association file at a specific path on your domain, then register the domain with Whop.Step 1: Download the verification file
Download the Apple Pay verification file.Step 2: Host the file
Host this file at the following path on your domain:- Served over HTTPS
- Accessible without authentication
- Served with the correct content (no modifications)
- Next.js
- Nginx
- Vercel
- Cloudflare Pages
Place the file in your
public folder:Step 3: Verify file access
Test that you can access the file by visiting:Step 4: Register your domain
Register the domain from the dashboard or through the API. Either way, Whop checks that the file is reachable before registering the domain with Apple.- Dashboard
- API
Navigate to your checkout settings and find the Apple Pay and Google Pay for embedded checkout section. Select Configure to open Payment domains.
Select Add domain, choose Self-hosted verification, and enter your domain.
A domain listed as Needs verification is still waiting on the file. Fix the hosting, then select Verify domain.


Troubleshooting
Self-hosted file returns 404
Self-hosted file returns 404
- Verify the file is in the correct location:
/.well-known/apple-developer-merchantid-domain-association. - Check that your web server serves files without extensions.
- Make sure your hosting configuration doesn’t block the
.well-knowndirectory.
Next steps
Express Checkout
Add one-press Apple Pay and Google Pay buttons to your site
Checkout Links
Create shareable checkout links for your products

