Legacy Apple Pay Setup (Apple Pay Plugin)

Not all gateways support Apple Pay. Apple Pay is supported on Acquired3DS, Adyen, Authorize.netV2, Bambora, cardstream, Celerispay, CheckoutV2, ComputopV2, Easy Pay Direct, Gala Technology, Merchant Warrior, MerchantConnect, MerchantConnectV2, NMI, NomuPay, PaysafeV2, Priority, SquareV2, SquareV2, StripeV2, Surgeify, Swipen, TotalApps, Truevo, Vantiv, VantivV2, Verifi, Whitelabel Payments, WorldlineV2, Worldpay.

This Apple Pay setup method should only be used if you are using your own Apple Pay Developer Account with the Apple Pay plugin.

Apple Pay setup requires successful configuration of your Apple Pay Certificates, Identifiers & Profiles in your Apple Developer account. You can find more information on how to properly configure your Apple Pay account on the Apple side in the Apple Developer docs: Configure Apple Pay

Payments cannot be processed without a valid Payment Processing Certificate from your Gateway. You will upload your Gateway’s Payment Processing Certificate (a “csr” file with a .certSigningRequest file extension) to your Apple Developer account.

Please Note: Your Gateway’s Payment Processing Certificate EXPIRES every 25 months. You will need to generate and upload a NEW certificate to your Apple Developer account prior to the expiration date.

The button ONLY displays if customer's Apple Pay wallet is configured AND device supports Apple Pay (mac or iphone with touch ID).


Step 1: Login and navigate to the funnel on which to add Apple Pay


Step 2: Click the gear button on the top left to open the funnel settings


Step 3: Open the Payments section


Step 4: Choose an existing Apple Pay plugin / Merchant ID configuration or click the plus sign to create a new one.

If you click the plus sign to create a new plugin, you will need to copy and paste the credentials detailed in Step 5.


Step 5: Add the Apple Pay Merchant credentials

merchantIdentifier:

Download your Merchant Identity Certificate and its Private Key

  • To download your Merchant Identity Certificate and its Private Key, first open Keychain Access.

  • Navigate to the “Certificates” section.

  • Highlight both the certificate and the key (down arrow).

  • Right click.

  • Export 2 items.

  • File format Personal Information Exchange (.p12)

  • Convert the .p12 file to PEM format

    • Launch the terminal on your Mac.

    • Change directory to the folder where you have saved the .p12 file.

    • Run the following openssl pkcs12 command to generate a .pem file:

      • openssl pkcs12 -in pushcert.p12 -out pushcert.pem -nodes -clcerts

merchantCert:

  • Your Apple Pay Merchant Identity Certificate

  • As noted above, this must be downloaded from your Apple Account and converted to PEM format.

  • Open your new PEM file in a text editor, like Notepad. Copy the contents of the text file and paste into the “merchantCert” box.

  • Pasted text must include everything from “-----BEGIN CERTIFICATE-----” to “-----END CERTIFICATE-----”.

certPrivateKey:

  • The private key of your Merchant Identity Certificate

  • This must be converted to PEM format along with your downloaded Apple Pay Merchant Identity Certificate

  • Open your new PEM file in a text editor, like Notepad. Copy the contents of the text file and paste into the “certPrivateKey” box

  • Pasted text must include everything from “-----BEGIN PRIVATE KEY-----” to “-----END PRIVATE KEY-----”.

displayName:

  • Default merchant name to display to the customer while authorizing payment

    • Ex: "Touch ID to Pay My Store (displayName) $118.00"


Step 6: Save and Continue


Step 7: Configure Apple Pay funnel settings.

  • Gateway: Gateway on which to process a transaction the with Apple Pay token. Gateway is optional. Not entering a gateway will process the transaction on the gateway assigned to the product purchased. Do ensure the gateway is in the supported list at the top of this document. Also ensure you have uploaded a valid Payment Processing Certificate from your Gateway in your Apple Developer account.

  • Plugin: Apple Pay plugin / Merchant ID configuration settings to use to create Apple Payment Sessions. This is required.

  • Merchant Name: Customizable funnel merchant name to display to the customer while authorizing payment. If not entered, the session will default to the plugin settings displayName.

    • Ex: "Touch ID to Pay My Store (displayName) $118.00"

  • Country: Country to use for Apple Pay Session

  • You will upload Domain File in Step 9.


Step 8: Save and Continue


Step 9: Upload Apple’s Domain Verification File and verify your domain on your Apple account

  1. Go to https://developer.apple.com/account/resources/identifiers/list/merchant and select the Merchant ID that you are using with this funnel.

  2. On the Edit or Configure Merchant ID page, go to Merchant Domains section and click Add Domain.

  3. Enter your funnel domain and save.

  4. Click Download and download the apple-developer-merchantid-domain-association txt file.

  5. On your funnel Payments settings, click Choose File next to the Domain File label.

  6. Select your downloaded verification text file and click Open.

  7. Publish the funnel. This will upload the file to the .well-known folder on your funnel.

  8. Click Verify back on your Apple Merchant Domain page.

When using Apple Pay in multiple funnels published to the same domain, you will need to upload the file to a single funnel and publish that funnel as the default funnel.

If integrating with Stripe and verification returns a 404 error from Stripe, you may need to submit a Checkout Champ support ticket to have our development team manually remove the “.txt” file extension from the uploaded file.

Likewise, submit a Checkout Champ support ticket in the event an incorrect Domain File is uploaded, or an existing file needs to be replaced.


Step 10: Edit Checkout page and add Apple Pay button

Step 10-1: Customize size of button by clicking on the button and dragging the highlighted corners or use Dimensions tab for advanced edits.

An Apple Pay button on a published page will be visible only on Apple devices, and its appearance will follow Apple Pay button CSS styling.


Step 11: Save the page and exit the page builder.


Step 12: On the arrow leaving the checkout page, choose the Apple Pay button for navigation.


Step 13: Upsell pages

There are 3 options for upsell pages. Communicate with your gateway about the appropriate workflow.

Option 1:

Your gateway supports a 1-click upsell on Apple Pay using a payment token returned from the gateway at checkout

Place one or more standard buttons on each upsell page. Follow standard instructions for those buttons to submit the upsell. Add class cc-one-click-btn to each button. There is no need to have an Apple Pay button on each page. The buttons will submit using the original payment token.

Option 2:

Your gateway does not support Option 1. You prefer to have a generic button on upsell pages instead of an Apple button.

Place one or more standard buttons on each upsell page. Follow standard instructions for those buttons to submit the upsell. The buttons will automatically support Apple Pay or non-Apple Pay based on the checkout. Apple Pay will redirect the consumer to Apple to complete the upsell. No additional work is needed.

Option 3:

Your gateway does not support Option 1. You prefer to have an Apple button on upsell pages.

Place one or more standard buttons AND one or more Apple Pay buttons on each upsell page. Choose all the buttons on the arrow(s) leaving the page. When the live page loads the standard buttons are removed if the checkout was with Apple Pay. Pressing the Apple Pay buttons will redirect the consumer to Apple to complete the upsell. When the live page loads the Apple Pay buttons are removed if the checkout was not Apple Pay. The standard buttons will submit the upsell.


Step 14: Publish the funnel. You’re done and ready to test!

Apply Pay checkout is available only on Apple devices. Apple Pay buttons on a live page will only display on Apple devices. https://support.apple.com/en-us/HT208531

Last updated