Domain verification is only required for embedded checkout. Whop-hosted checkout pages already support Apple Pay without any additional setup.
Prerequisites
Before setting up Apple Pay, ensure you have:- A domain where you’re hosting the embedded checkout
- Access to your domain’s DNS settings (for Whop-hosted verification) or file hosting (for self-hosted verification)
@whop/[email protected]or later if using thehideSubmitButtonoption in React
Choose a verification method
There are two ways to verify your domain for Apple Pay:Whop-hosted verification
Recommended for most users. Whop handles the verification file hosting - you just need to add DNS records.
Self-hosted verification
For advanced users who prefer to host the verification file themselves.
Whop-hosted verification
This method lets Whop host the Apple Pay verification file on your behalf. You’ll temporarily point your domain to Whop’s servers to complete verification, then revert your DNS settings.Before you begin: Take a screenshot or export your current DNS records for the domain you’re verifying. While the verification wizard will show revert instructions after completion, these are best-effort and may not capture all edge cases. Having your own backup ensures you can restore your DNS configuration accurately.
Step 0: Lower your DNS TTL (optional)
If the domain you’re verifying is actively serving traffic, consider lowering the TTL (Time To Live) on the existing DNS record for that domain before starting. This ensures DNS changes propagate faster when you switch records and when you revert them. If you skip this step, downtime may last longer while DNS caches expire.How to lower your TTL
How to lower your TTL
- Find the existing A or CNAME record for the domain you want to verify (e.g., the record for
checkout.yoursite.com) - Lower its TTL to 60-300 seconds
- Wait for the previous TTL duration to pass (e.g., if it was 1 hour, wait 1 hour) so all DNS caches refresh
- Then proceed with the verification steps below
Step 1: Open payment domains settings
Navigate to your checkout settings and find the Apple Pay for embedded checkout section. Click Configure to open the domain management panel.
Step 2: Add your domain
Click the + button (or Add payment domain if no domains exist yet). From the dropdown menu, select Whop-hosted verification.
checkout.yoursite.com or yoursite.com). You’ll need to acknowledge that your domain will experience temporary downtime during the verification process by checking the confirmation checkbox, then click Start verification.

Step 3: Add DNS records
After adding your domain, you’ll see a list of DNS records that need to be added to your domain’s DNS settings. These typically include:- A record or CNAME record - Points your domain to Whop’s verification servers
- (optional) TXT record - Proves domain ownership


Step 4: Wait for DNS propagation
DNS changes can take anywhere from a few minutes to 48 hours to propagate, though most changes are visible within 5-15 minutes. The verification wizard will automatically detect when your DNS records are properly configured.Step 5: Complete verification
Once the DNS records are verified, Whop will:- Issue an SSL certificate for your domain
- Host the Apple Pay verification file
- Register your domain with Apple
Step 6: Revert DNS settings
After verification is complete, revert your DNS settings to point back to your original hosting. The Apple Pay verification will remain valid. The wizard will show you the records to delete and restore.
Self-hosted verification
If you prefer to host the verification file yourself, you can do so by serving the Apple Pay merchant ID domain association file at a specific path on your domain.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 the file is accessible
Test that the file is accessible by visiting:Step 4: Open payment domains settings
Navigate to your checkout settings and find the Apple Pay for embedded checkout section. Click Configure to open the domain management panel.
Step 5: Register your domain
Click the + button (or Add payment domain if no domains exist yet). From the dropdown menu, select Self-hosted verification.

Troubleshooting
Apple Pay button doesn't appear
Apple Pay button doesn't appear
DNS verification is taking too long
DNS verification is taking too long
- DNS propagation can take up to 48 hours in some cases
- Use a tool like dnschecker.org to verify your records have propagated
- Ensure you’ve added the records to the correct DNS zone
- If using Cloudflare, make sure the DNS record is set to “DNS only” (gray cloud), not “Proxied” (orange cloud) during verification
SSL certificate verification failed
SSL certificate verification failed
- Ensure your DNS records are pointing to the correct values
- Wait a few minutes for the certificate to be issued
- If the issue persists, try removing and re-adding the domain
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 is configured to serve files without extensions
- Ensure the
.well-knowndirectory is not blocked by your hosting configuration

