1. Documentation /
  2. WooPayments Documentation /
  3. WooPayments: Payment Methods /
  4. Accepting Apple Pay with WooPayments

Accepting Apple Pay with WooPayments

WooPayments provides your store with Apple Pay, which makes it easier for customers to checkout using Touch ID or Face ID on Apple devices.

This document describes how to set up, test, and troubleshoot the Apple Pay feature in WooPayments.

Apple Pay button in the WooCommerce cart

NOTE: Apple Pay is available for all countries supported by WooPayments, but Apple Pay will only appear for customers who use an eligible device with an active Apple Wallet.

Setting up Apple Pay via WooPayments

↑ Back to top

To enable Apple Pay:

  1. Go to Payments > Settings.
  2. In the Express Checkouts section, check the box for Apple Pay / Google Pay.
  3. At the bottom of the page, click Save Changes.

These steps will:

  • Create a domain registration file on your site that Apple will use to verify your site can offer Apple Pay.
  • Communicate to our payment partners and Apple that your site is ready to accept payments via Apple Pay.

NOTE: There is no way to enable only Apple Pay without Google Pay. The two must be enabled together.

Customizing the Apple Pay experience

↑ Back to top

When Apple Pay is enabled, the Apple Pay button can appear in three places:

  • On the Checkout page.
  • On the Cart page.
  • On individual product pages.

You can customize which of these locations show the Apple Pay button by going to Payments > Settings and then clicking the Customize link for Apple Pay / Google Pay in the Express Checkouts section.

Once there, you can change:

  • Where the Apple Pay button shows up.
  • The text of the Apple Pay button itself.
  • The size and color scheme of the Apple Pay button.

Purchasing via Apple Pay

↑ Back to top

By checking out with Apple Pay, customers don’t need to go through the regular checkout process and spend time filling in all of their information. Everything is handled using the Apple Pay interface, where customers can select their billing and shipping details, as well as which Apple Wallet card to use.

Once the transaction is authorized via Touch ID or Face ID, WooPayments then processes the transaction and redirects the customer to the “Order Received” / “Thank you” page.

Testing Apple Pay via WooPayments

↑ Back to top

You can test Apple Pay by making purchases in test mode using a real Apple ID with a real Apple Wallet card.

To perform a test payment via Apple Pay:

  1. Enable test mode by following the guide linked above.
  2. Follow the guidance in the Purchasing via Apple Pay section.

With test mode enabled, a purchase made using Apple Pay will use the real card details in your Apple Wallet without incurring any actual charges.

To set up Apple Pay on your device, you will need a supported card from a participating card issuer. See the full list of requirements for Apple Pay users for more information.

Feature compatibility of Apple Pay

↑ Back to top

Apple Pay is very similar to card payments. As a result, it is compatible with many of the same features as credit or debit card payments — but not all of them. This section will dig into how Apple Pay handles many of these features.

Can I use Apple Pay without taking card payments in checkout?

↑ Back to top

No, there is no way to completely disable card payments during checkout while still using WooPayments for accepting Apple Pay.

Can I authorize charges with Apple Pay and capture them later?

↑ Back to top

Yes. If you have checked the “Issue an authorization on checkout, and capture later” option in Payments > Settings, you can manually capture authorized charges done with Apple Pay, just like other credit card transactions.

Can I issue refunds with Apple Pay?

↑ Back to top

Yes. WooPayments allows you to issue refunds for Apple Pay transactions just like normal transactions. This section of our Managing Money guide shows how to refund a payment.

Can customers pay with Apple Pay Later?

↑ Back to top

Yes. Customers can pay for goods and services via Apple Pay Later so long as the requirements set forth by Apple are met.

There are no additional transaction fees associated with purchases made via Apple Pay Later.

Can I test Apple Pay while in sandbox mode?

↑ Back to top

No. Apple Pay is not currently compatible with sandbox mode.

Product compatibility of Apple Pay

↑ Back to top

The Apple Pay integration in WooPayments is compatible with all of these product types:

1 Subscription product purchases require a customer to have or create an account. Guest users can only purchase subscription products via Apple Pay if account username and password generation settings are enabled at WooCommerce > Settings > Accounts & Privacy.
2 For these types of products, the Apple Pay button cannot be shown on the product page itself. It will appear on the cart and checkout pages, if those are enabled.

Troubleshooting Apple Pay

↑ Back to top

Before troubleshooting Apple Pay, ensure you have Log Error Messages enabled under Payments > Settings > Advanced settings. This lets you see any error messages from WooPayments under WooCommerce > Status > Logs, which could potentially be useful if you need to contact our support staff.

Apple Pay button does not appear

↑ Back to top

To ensure there isn’t a problem with your browser and device combination, try using the Apple Pay button on another website. You can try this demo, for example.

  • If Apple Pay does not appear on another site, there is likely not an issue with WooPayments itself.
  • If Apple Pay does appear on that demo, but not on your WooPayments store, this can happen for several reasons. To try to remedy the issue, please make sure:
    1. The Apple Pay / Google Pay setting is enabled under Payments > Settings.
    2. Your site is not in sandbox mode.
    3. Your site is served over HTTPS.
    4. You’re testing with an eligible device and that Apple Pay is enabled.
    5. One of the following combinations of settings are configured in WooCommerce > Settings > Accounts & Privacy:
      • Allow customers to place orders without an account is enabled.
      • Both Allow customers to create an account during checkout and When creating an account, send the new user a link to set their password are enabled.

NOTE: There’s also an ongoing bug where Apple Pay may not appear in the Safari browser unless you uncheck the “Allow websites to check for Apple Pay and Apple Card” setting under the Privacy tab of the Safari settings.

If you’ve ruled out all of those potential issues, that may mean that WooPayments was unable to verify your domain with Apple. See the section below for some background and potential fixes.

What is domain registration? Is my domain registered?

In order for your store to accept Apple Pay transactions, your domain must be registered with and verified by Apple. WooPayments handles this for you automatically when you enable Apple Pay; it does this, in part, by hosting aapple-developer-merchantid-domain-association file under your domain root.

This domain registration file should be accessible via your web browser at the following URL:


If you navigate to this URL in your browser and replace example.com with your site’s domain, it should return a very long string of numbers and letters. Here is how this file looks for woo.com:

Please check if this file is available from your own site by replacing example.com with your own domain.

The domain registration file is not accessible

If the apple-developer-merchantid-domain-association file is not accessible from your web browser, then WooPayments may be running into an issue creating it.

To recreate the file and go through the domain verification process again, you can:

  1. Navigate to Settings > Permalinks and make sure you have your permalinks set to anything other than Plain.
    • If they already are set to anything other than Plain, re-save your permalinks.
  2. Trigger domain registration again by:
    1. Navigating to Payments > Settings.
    2. Unchecking the Apple Pay / Google Pay box in the Express Checkouts section.
    3. Scrolling to the bottom of the page.
    4. Selecting Save Changes.
    5. Checking the Apple Pay / Google Pay box in the Express Checkouts section to re-enable Apple Pay.
    6. Scrolling to the bottom and click Save Changes again.
    7. Clearing your browser cache.
    8. Test if the button appears afterward.

If the button still does not show up, check the error logs under WooCommerce > Status > Logs and see if there are domain registration related errors. If you see an error, it may be that the apple-developer-merchantid-domain-association file is not publicly available from your domain root.

NOTE: In some cases, this can be caused by security plugins, .htaccess rules, or web application firewalls that are in place at the server level. You can speak with your host to check on these and be sure they’re not preventing the file from being publicly available.

Adding the domain registration file manually

If WooPayments cannot automatically write the apple-developer-merchantid-domain-association file to your server automatically, you can add it manually.

To upload this file:

  1. Download the file here.
  2. Use SFTP or SSH to upload it to the .well-known directory on your server.
    • You may need to create a .well-known directory in the root directory of your site if none exists

The final location should be:


Once uploaded, follow the steps here to trigger domain registration again and see if the button appears afterward.

Apple Pay button does not appear at a specific location

↑ Back to top

If the Apple Pay button is missing from only some locations, but not others (i.e., it appears on the Checkout page but not on the product page), this can happen for a number of different reasons:

  • The product may not be compatible with express checkouts.
  • Your theme may not support the necessary WooCommerce hooks, which are needed for Apple Pay to show up.

Other issues

↑ Back to top

If you experience any other issues with Apple Pay, please take the following steps:

  1. Enable test mode and logging under Payments > Settings > Advanced settings.
  2. Attempt an Apple Pay transaction.
  3. Review the logs under WooCommerce > Status > Logs.
  4. If you see any errors, please get in touch with support and provide the logs for review.