Note |
---|
Not all gateways support Apple Pay. Apple Pay is supported on Acquired3DS, Adyen, Authorize.netV2, Bambora, Braintree, cardstream, Celerispay, CheckoutV2, Dummy Gateway (dev only), Gala Technology, Merchant Warrior, MerchantConnect, MerchantConnectV2, NMI, NomuPay, PaysafeV2, Priority, SquareV2, SquareV2, StripeV2, Surgeify, Swipen, TotalApps, Truevo, Vantiv, VantivV2, Verifi, Whitelabel Payments, WorldlineV2, Worldpay. |
...
Note |
---|
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. |
Info |
---|
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.
...
Info |
---|
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:
Your Apple Pay Merchant Identifier
Can be found on your Apple Developer Account at https://developer.apple.com/account/resources/identifiers/list/merchant
merchantCert:
...
Download your Merchant Identity Certificate
...
This must be downloaded from your Apple Account and converted to PEM format
One option to convert to PEM is as follows:
...
On the Mac, open Keychain Access
...
From the sidebar, select System Roots
...
Locate the certificate to export
...
Select File > Export Items
...
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-----”.
...
The private key of your Merchant Identity Certificate
This 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.
Open 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-----”.
...
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
Go to https://developer.apple.com/account/resources/identifiers/list/merchant and select the Merchant ID that you are using with this funnel.
On the Edit or Configure Merchant ID page, go to Merchant Domains section and click Add Domain.
Enter your funnel domain and save.
Click Download and download the apple-developer-merchantid-domain-association txt file.
On your funnel Payments settings, click Choose File next to the Domain File label.
Select your downloaded verification text file and click Open.
Publish the funnel. This will upload the file to the .well-known folder on your funnel.
Click Verify back on your Apple Merchant Domain page.
Note |
---|
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. |
Info |
---|
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.
...
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
Info |
---|
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!
...
Apple Pay buttons can also be used on Upsell pages when first used on Checkout pages. Info
Info |
---|
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 |