Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gateways:apple-pay [2018/03/01 15:00] – [Setting Up Apple Pay for FoxyCart] foxyjoshgateways:apple-pay [2020/11/25 08:45] (current) – [Creating Merchant Identity Apple Pay Certificate] adam
Line 1: Line 1:
 ---- dataentry gateway ---- ---- dataentry gateway ----
 type               : gateway # do not change this line type               : gateway # do not change this line
-name               : Apple Pay (Auth.Net)  +name               : Apple Pay (Auth.Net) 
-countries          : US  +countries          : US 
-support-added      : 2.0  +support-added      : 2.0 
-support-removed    :  # +support-removed    :
 auth-net-emulation :  # enter "yes" or "no" (without quotes) auth-net-emulation :  # enter "yes" or "no" (without quotes)
-supports-3dsecure  # enter "yes" or "no" (without quotes) +supports-3dsecure no # enter "yes" or "no" (without quotes) 
-gateway_url        : https://www.apple.com/apple-pay/ +gateway_url        : https://www.apple.com/apple-pay/
 ---- ----
 +
  
  
  
 ====== Apple Pay (Auth.Net) ====== ====== Apple Pay (Auth.Net) ======
 +
 +<WRAP round tip>
 +**NOTE: Apple Pay in Foxy is changing soon**
 +Please reach out to us if you'd like to enable Apple Pay. We're working on a method that makes it much easier than described in this page.
 +</WRAP>
 +
 +<WRAP round alert>
 +**In the EU? Contact us.**
 +Authorize.net is not supporting 3D Secure, which makes it less useful for EU merchants moving forward. Please contact us to discuss alternatives and/or Apple Pay.
 +</WRAP>
 ===== Setting Up Apple Pay for FoxyCart ===== ===== Setting Up Apple Pay for FoxyCart =====
 Apple Pay requires an Apple development and Authorize.net account. Apple Pay requires an Apple development and Authorize.net account.
Line 49: Line 60:
   - In the Apple Pay section, click Sign Up.   - In the Apple Pay section, click Sign Up.
  
-==== Generating the CSR ==== +==== Generating the CSR and Apple Pay Payment Processing Certificate ==== 
-You must submit a Certificate Signing Request (CSR) to Apple in order to receive a necessary payment entitlement certificate.+You must submit a Certificate Signing Request (CSR) to Apple in order to receive a necessary Payment Processing Certificate.
  
 To generate the CSR: To generate the CSR:
Line 60: Line 71:
  
  
-==== Submitting the CSR file to Apple (creating Payment Processing Apple Pay Certificate) ==== +After you have the CSR, you need to submit it to Apple within your Apple Developer account in order to generate the required Payment Processing Certificate
-You must submit the CSR to Apple in order to receive the required payment entitlement certificate.+
  
-To submit the CSR file to Apple:+  - Within the Apple Developer account, proceed to the "Certificates, Identifiers & Profiles" section and select "Identifiers" from the sidebar 
 +  - Under "Identifiers", select "Merchant IDs" using the filter in the top-right. 
 +  - On the right, select your merchant identifier. 
 +  - Under "Apple Pay Payment Processing Certificate", click Create Certificate. 
 +  - Upload the CSR you received from Authorize.Net 
 +  - If renewing the certificate - you may need to click "Activate" on the new certificate to replace the existing one. 
 + 
 +You don't need to do anything with this certificate - but it needs to be generated and activated to ensure Authorize.Net is able to process the payment details coming via Apple Pay. It will also need to be renewed before it expires (by completing this and the previous step again), but you should receive a notice by email from Apple when this is coming up. 
 +==== Creating Apple Pay Merchant Identity Certificate ====
  
   - Navigate to the [[https://developer.apple.com|Apple Developer]] website and login if not already.   - Navigate to the [[https://developer.apple.com|Apple Developer]] website and login if not already.
Line 69: Line 87:
   - Under "Identifiers", select "Merchant IDs".   - Under "Identifiers", select "Merchant IDs".
   - Select the merchant ID from the list, and click Edit.   - Select the merchant ID from the list, and click Edit.
-  - In the "Payment Processing Certificates" section, click "Create Certificate". Follow the instructions to obtain or generate your certificate signing request (CSR), and click Continue.+  - In the "Apple Pay Merchant Identity Certificate" section, click Create Certificate. Follow the instructions to obtain or generate your certificate signing request (CSR), and click Continue.
   - Click Choose File, select your CSR, and click Generate.   - Click Choose File, select your CSR, and click Generate.
 +  - Download the certificate by clicking Download, and click Done.
 +  - Double-click downloaded file to insert it into keychain access.app. This should automatically get appended to the existing entry for your Private key in keychain access.app, within the "My Certificates" category.
 +  - Right-click that certificate (probably named "Merchant ID: merchant...." from within keychain access.app (you may need to expand the private key entry to see the certificate under it) and select "Export 'Merchant ID merchant....' ". You will need to export as a ''.p12'' filetype, which it should be selected as default.
 +  - You will be prompted to "enter a password which will be used to protect the exported items". Enter a password here, and make note of it, as it will be entered as the "merchant identity cert password" in your Foxy payment settings.
  
 +==== Verify domain ====
  
-==== Creating Merchant Identity Apple Pay Certificate ====+You will need to verify your FoxyCart store domain, to provide permission for Apple Pay to be presented as an option to customers there.
  
-  - Navigate to the [[https://developer.apple.com|Apple Developer]] website and login if not already. +To do that, you will need to register and verify your store's domain within your Apple Developer account. Apple have a guide on doing that here: https://help.apple.com/developer-account/#/dev1731126fb.
-  Once logged in, proceed to the "Account" section and then to the "Certificates, Identifiers & Profiles" section. +
-  - Under "Identifiers", select "Merchant IDs"+
-  - Select the merchant ID from the list, and click Edit. +
-  - In the Merchant Identity Certificate section, click Create Certificate. Follow the instructions to obtain or generate your certificate signing request (CSR), and click Continue. +
-  - Click Choose File, select your CSR, and click Generate. +
-  - Download the certificate by clicking Download, and click Done. +
-  - Double-click downloaded file to insert it into keychain access.app. this should automatically get appended to the existing entry for your Private key in keychain access.app +
-  - Right-click that certificate (probably named "Merchant ID: merchant...." from within keychain access.app (you may need to expand the private key entry to see the certificate under it) and select "Export 'Merchant ID merchant....' ". This will default to exporting a xxxx.p12 file to your desktop.+
  
-==== Verify domain ==== +For the domain, you would use your FoxyCart store subdomain, either in the standard format of ''https://yourstore.foxycart.com'' or ''https://store.yourdomain.com'' if you have a custom subdomain configured for your store.
-Good 'How Toyou can read here https://developer.apple.com/documentation/applepayjs +
  
 +After registering the domain, you will be presented with a file - you will specify this as part of the settings for Apple Pay on the "Payments" section of your store's Foxy administration, for the ''domain validate file'' option. After saving the file in your payment settings, you will then be able to verify the domain within your Apple Developer account.
 ==== Set up the Apple Pay Sandbox ==== ==== Set up the Apple Pay Sandbox ====
 To use Apple Pay while developing your site, you'll need to use the Apple Pay Sandbox. Getting it set up takes just a few minutes. To use Apple Pay while developing your site, you'll need to use the Apple Pay Sandbox. Getting it set up takes just a few minutes.

Site Tools