banner



How To Create Merchant Id

Follow the steps on this page to set up and configure Apple Pay.

Before you start

Before you get started with Apple Pay, you need the following:

  • An Apple Developer account. Sign up for one here.
  • A domain with a valid SSL certificate (meaning your domain should start withhttps).
  • Access to a Secure Shell (SSH) terminal.
  • Access to your server's files, so you can upload files to your server.

Configure Apple Pay

Step 1: Create your merchant IDs in your Apple Pay Developer account

We recommend that you create separate merchant IDs for your test environment and for your live/production environment.

  1. In your Apple Developer account, go to theAdd Merchant IDs section, selectMerchant IDs and clickContinue.
  2. Add a useful description, likemerchant id for test environment.
  3. Type your desired merchant ID name in the Identifier section. We recommend that you use a descriptive name to indicate both the domain and the environment you will use it in, likemerchant.com.mywebsite.sandbox.

Step 2: Add Checkout.com as a payment processor

  1. Log in to your Hub account, go toSettings > Apple Pay and clickNew Certificate.
  2. ClickDownload your certificate signing request. This will give you the .csr file that you'll need for your Apple Developer account.
  3. ClickContinue until step 3 and then leave this page open.
  4. Log in to your Apple Developer account, go to theMerchant IDs list section, and click on the merchant ID you created in step 1.
  5. In theApple Pay Payment Processing Certificatesection (make sure you're not in theApple Pay Merchant Identity Certificate section), clickCreate Certificate.
  6. RespondNo to the question about processing in China and clickContinue.
  7. Upload the.csr file from earlier and clickContinue.
  8. ClickDownload to get your.cer file.
  9. Go back to your Hub account and upload this.cer file.

Step 3: Validate your domain

You must have a valid SSL certificate on your domain (meaning it begins withhttps).

  1. Log in to your Apple Developer account, go to theMerchant IDs list section and click on the merchant ID you created in step 1.
  2. Under theMerchant Domains section, clickAdd Domain.
  3. Enter your domain and clickSave.
  4. ClickDownload and you'll get a .txt file.
  5. Upload this file to your server so it's accessible at the following location (replacingyourdomain.com with the URL of your domain):https://yourdomain.com/.well-known/apple-developer-merchantid-domain-association.txt. To do this, create a folder called.well-known in the root directory of your website and put the .txt file in that folder.
  6. Once you've uploaded the file, clickVerify.

Step 4: Create your Apple Pay certificates

  1. Open a terminal and create a.csr and.key file using this command:

                  openssl req -out uploadMe.csr -new -newkey rsa:2048 -nodes -keyout certificate_sandbox.key            
  2. In the prompt, enter your details, and when asked for a password, leave it blank and click Enter. You will get a.csr and.key file. Keep the.key file at hand.
  3. Log in to your Apple Developer account, go to theMerchant IDs list section and click on the merchant ID you created in step 1.
  4. Under theApple Pay Merchant Identity Certificate section (make sure you're not in theApple Pay Payment Processing Certificate section), clickCreate Certificate.
  5. Upload the.csr file you just created from your terminal. It should be calleduploadMe.csr if you copy-pasted the command.
  6. ClickContinue and then clickDownload to get your.cer file. It will probably be namedmerchant_id.cer.
  7. Convert this.cer file into a.pem file so you can use it in your code. Enter the following command in your terminal:

                  openssl x509 -inform der -in merchant_id.cer -out certificate_sandbox.pem            

Step 5: Configuration outcome

If you followed the above steps correctly, you should now have the following:

  • A merchant ID (for example,merchant.com.mywebsite.sandbox).
  • Checkout.com linked to your merchant ID.
  • A domain verified by Apple.
  • A.key and a.pem certificate file.

We recommend that you repeat the above steps so you have a merchant ID, domain (it can be the same domain) and certificates for your test environment and your production environment. You should use descriptive names for each environment to avoid mismatches.

Integrate with Apple Pay

If you use an e-commerce platform where we support Apple Pay, like Magento or WooCommerce, the files and certificates you got in the configuration process above are enough to complete your integration. Just follow the instructions provided by your particular platform.

Follow Apple Pay's integration documentation to integrate Apple Pay:

  • Apple Pay Web. See a demo.
  • Apple Pay Mobile.

Once you've completed the integration steps, you will be able to display the Apple Pay button and validate an Apple Pay Session (required for the web version).

If you're struggling, watch this payment flow walkthrough:

Here's a diagram of the full payment flow:

Next steps

Now you've configured and integrated with Apple Pay, you're ready to accept Apple Pay payments through our payment gateway.

How To Create Merchant Id

Source: https://docs.checkout.com/payments/payment-methods/wallets/apple-pay/set-up-apple-pay

Posted by: tranwastookey.blogspot.com

0 Response to "How To Create Merchant Id"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel