Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

Configure Apple Pay on the Web in Business Manager

公開日: Dec 29, 2023
説明
Environment: All instances

Objective: Register an instance with Apple Pay. This article assumes that you've already created a Merchant ID with Apple, and generated an Apple certificate.

Signs of an unregistered instance include:
  1. The payment sheet disappearing after opening.
  2. Errors like below
[2016-11-10 16:44:08.650 GMT] ERROR PipelineCallServlet|12076450|Sites-SiteGenesis-Site|__SYSTEM__ApplePay-ValidateMerchant|PipelineCall|hUcItofPcwzsIWPq0_TptAjcpcj4aQOPR_LaekflXLPAHsaZbsjaW7DnlMkLntjDS22Dyb-9Wu1UAebkUPgGvA== java.lang.String Sites-mysite-Site STOREFRONT hUcItofPcwzsIWPq0_TptAjcpcj4aQOPR_LaekflXLPAHsaZbsjaW7DnlMkLntjDS22Dyb-9Wu1UAebkUPgGvA== byw-A1gko9iDAgAK-0-00 9117310053296716800 Could not start Apple Pay session: 400 Bad Request { "statusMessage": "Payment Services Exception merchantId=XXXXunauthorized to service on behalf of merchantId=XXXX reason=\"The latter never authorized the former\"", "statusCode": "400" }
 
解決策
1. First make sure that the Alias file includes the proper HTTPS-host on Business Manager via Merchant Tools -> Site URLs -> AliasesThis value must reflect the hostname -- for example, www.mysite.com would map as:
{ "__version": "1", "settings": { "http-host": "www.mysite.com", "https-host": "www.mysite.com" } } For .demandware.net hosts, please use the "-" URL in the alias.

For example, this would be

{ "__version": "1", "settings": { "http-host": "development-web-mysite.demandware.net", "https-host": "development-web-mysite.demandware.net" } } 

2. Fill out your Apple Merchant ID information on Business Manager via Merchant Tools -> Site Preferences -> Apple Pay.

3. Fill out the Payment Integration Fields. If you are using a JWS key to authorize payments, make sure that your JWS Private Key Alias matches the name of the alias of the imported private key on Business Manager via Administration -> Operations-> Private Keys and Certificates.

4. Register the instance with Apple in the Apple Pay Settings. You would use the "Register Apple Sandbox" option to use an Apple merchant test account provided by Apple. If you wish to link the instance with a live iCloud account, you would use the "register Apple Production" option -- please note that the terms "sandbox" and "production" in this menu do not refer to Commerce Cloud instances; rather, these are referring to Apple accounts.

The complete process is available on InfoCenter via Enable Apple Pay in Your Storefront
 
ナレッジ記事番号

000391644

 
読み込み中
Salesforce Help | Article