This guide applies only to Apple Pay integration through Plexy WebSDK.If you use Plexy Hosted Checkout through Payment Links, Apple Pay works out of the box. No additional Apple Pay domain verification is required from your side.
The steps below are required only when Apple Pay is displayed directly on your website through Plexy WebSDK.
Before You Start#
| Requirement | Description |
|---|
| Plexy account | You need access to Plexy Dashboard. |
| Website domain | Example: shop.example.com. |
| Plexy WebSDK integration | Payment components must be integrated on your website. |
| Integration manager contact | Your Plexy technical integration manager must receive your domain list. |
Setup Flow#
1. Merchant prepares the list of domains.
2. Merchant sends all domains to the Plexy technical integration manager.
3. Plexy registers the domains on its side.
4. Merchant downloads the Apple Pay domain verification file from Plexy Dashboard.
5. Merchant uploads the verification file to the website server.
6. Merchant verifies the domain in Plexy Dashboard.
7. Merchant configures WebSDK payment components with merchantName.
8. Apple Pay becomes available in Plexy WebSDK.
Step 1. Prepare Domain List#
Prepare all domains where Apple Pay will be used.shop.example.com
checkout.example.com
example.com
Send every domain where the Plexy WebSDK payment components can be displayed.If Apple Pay is shown on a domain that was not registered and verified, Apple Pay may not appear or may fail during payment.
Step 2. Send Domains to Plexy#
Send the full domain list to your Plexy technical integration manager.Plexy must register the merchant domains on its side before you can complete domain verification in Plexy Dashboard.
Step 3. Wait for Plexy Confirmation#
Plexy will register the provided domains for Apple Pay processing.After registration, your technical integration manager will confirm that you can continue with domain verification in Plexy Dashboard.Do not skip this step. Domain verification in Plexy Dashboard should be done only after Plexy confirms that the domain has been registered.
Step 4. Open Apple Pay Domain Verification in Plexy Dashboard#
Open Plexy Dashboard and go to:Web Integration
→ Apple Pay Domain Verification
domain verification instructions;
verification file download button;
Step 5. Download Verification File#
Download verification file
apple-developer-merchantid-domain-association
Step 6. Upload Verification File to Your Server#
Upload the file to your website server at this exact path:/.well-known/apple-developer-merchantid-domain-association
For example, if your domain is:the file must be available at:https://shop.example.com/.well-known/apple-developer-merchantid-domain-association
The file must be publicly accessible over HTTPS.
Step 7. Check File Availability#
Open the file URL in a browser:https://shop.example.com/.well-known/apple-developer-merchantid-domain-association
the file opens without redirect loops;
the file is not blocked by firewall, CDN, WAF, or authentication;
the file content is not modified by your server.
If your website uses CDN or reverse proxy, make sure the .well-known path is served correctly.
Step 8. Verify Domain in Plexy Dashboard#
Return to Plexy Dashboard.If verification is successful, the domain will appear in the registered domains list.The domain is ready for Apple Pay when it is shown as verified in Plexy Dashboard.
How to Check Merchant Name#
Open Plexy Dashboard and go to:
Settings
→ Merchant Settings
→ merchantName (example: 85aa27ef-321a-49cb-934f-59b2fdfae290)
Step 10. Test Apple Pay#
After domain verification and WebSDK configuration, test Apple Pay on the verified domain.Apple Pay button is displayed;
merchant name is displayed correctly;
payment token is created successfully;
payment is processed by Plexy.
Apple Pay is available only in supported browsers, devices, regions, and cards.
Common Errors#
| Error | Cause | How to fix |
|---|
| Apple Pay button is not displayed | Domain is not verified | Verify the domain in Plexy Dashboard |
| Domain verification fails | File is missing or unavailable | Check the .well-known file URL |
| Verification file returns 404 | File uploaded to the wrong path | Upload it to /.well-known/apple-developer-merchantid-domain-association |
| Verification file redirects | Server/CDN redirects the request | Serve the file directly with HTTP 200 |
| Apple Pay fails in WebSDK | Domain was not registered by Plexy | Send the domain to your Plexy integration manager |
| Merchant name is missing | merchantName is not configured | Add merchantName to WebSDK payment components config |
| Wrong merchant name is displayed | Incorrect merchantName value | Update merchantName in WebSDK config |