Skip to main content

Enable Apple Pay & Google Pay Express Checkout for WooCommerce

Express Checkout lets your customers pay instantly using Apple Pay or Google Pay, without manually entering card details or a shipping address.

On WooCommerce, Express Checkout requires a direct integration, meaning you verify your business directly with Apple and Google and enter the resulting credentials into the Mamo plugin settings.

Note: This is different from the self-serve domain-verification flow used for hosted/embedded checkout — see Enable Apple Pay if you're not using WooCommerce.

Prerequisites

Part 1: Apple Pay configuration

Step 1 — Create a Merchant Identifier

  1. Log in to your Apple Developer Account.

  2. Go to Certificates > Identifiers & Profiles.

  3. Select Identifiers from the sidebar, then click the + icon next to "Identifiers".

  4. Select Merchant IDs and click Continue.

  5. Enter a description (e.g. "Mamo WooCommerce") and an identifier (e.g. merchant.com.yourbusiness.checkout).

  6. Click Continue, then Register. Save this Merchant ID — you'll paste it into the Mamo plugin settings.

Step 2 — Generate a Certificate Signing Request (CSR) and private key

Open Terminal on your Mac (or any machine with OpenSSL installed) and run:

openssl req -out uploadMe.csr -new -newkey rsa:2048 -nodes -keyout private_key.key

You'll be prompted for details like country and organization — these can be left blank. This creates two files: private_key.key and uploadMe.csr.

Step 3 — Upload the CSR to Apple and download your certificate

  1. In the Apple Developer Portal, open the Merchant ID you created in Step 1.

  2. Under Apple Pay Payment Processing Certificate, click Create Certificate.

  3. Choose No if asked about payment processing in China (unless applicable).

  4. Upload the uploadMe.csr file you generated in Step 2.

  5. Click Continue, then Download the resulting certificate (e.g. apple_pay.cer).

Step 4 — Extract your public key

Convert the downloaded certificate into the text (PEM) format the plugin expects:

openssl x509 -inform der -in apple_pay.cer -out public_key.pem

You now have everything Apple Pay needs: the Merchant ID from Step 1, the public key in public_key.pem, and the private key in private_key.key from Step 2.

🔒 Handle your private key securely. It authorizes decryption of your customers' Apple Pay payments — treat it like any other credential and don't share it outside your own WooCommerce settings.

Part 2: Google Pay configuration

  1. Sign in and create a business profile if you haven't already.

  2. Once your business is verified, find your Google Pay Merchant ID (usually in the top-right corner or under the settings menu).

  3. Copy this ID.

Part 3: Configuring the plugin

With your Apple Pay and Google Pay IDs and keys from Parts 1 and 2, go to your WordPress Dashboard:

  1. Navigate to WooCommerce > Settings > Payments.

  2. Find Mamo (or Mamo Wallet) and click Manage.

  3. Scroll to the Mamo Wallet section.

General settings

  • Enable/Disable: check Enable Mamo Wallet.

  • Display Name: the name customers see at checkout (e.g. "Mamo Wallet").

  • Description: a short description (e.g. "Pay via Apple Pay and Google Pay").

Express Checkout: Apple Pay

  • Enable Apple Pay: check the box to activate it.

  • Apple Pay Merchant Identifier: the ID from Step 1 (e.g. merchant.com.yourbusiness...).

  • Apple Pay Merchant Name: your business name as it should appear on the payment sheet.

  • Apple Pay Public Key: open public_key.pem in a text editor and paste its entire contents, including the -----BEGIN CERTIFICATE----- / -----END CERTIFICATE----- lines.

  • Apple Pay Private Key: open private_key.key and paste its entire contents.

Express Checkout: Google Pay

  • Enable Google Pay: check the box to activate it.

  • Google Pay Merchant ID: the ID you copied from the Google Pay Console.

  • Google Pay Merchant Name: your business name.

Click Save changes at the bottom of the page.

Troubleshooting

  • Invalid Keys: make sure you copied the full text of the key, including the dashed header and footer lines.

  • Apple Pay not showing: your site must be served over HTTPS — SSL is required for Apple Pay.

Did this answer your question?