Apple Pay (Checkout Champ - Legacy)

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

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.


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.


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

  • As noted above, this must be downloaded from your Apple Account and converted to PEM format along with your downloaded Apple Pay Merchant Identity Certificate.

  • Once converted, 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.


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.

Apple Pay Buttons as shown in the Web Builder.
Apple Pay Buttons as shown on published checkout page on Apple devices.

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

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!