FAQ知識庫
金流FAQ | Apple Pay 憑證設定說明(站內付2.0 web) |
---|---|
Apple Pay 憑證設定說明 (站內付2.0 web)請於廠商管理後台->系統開發管理->ApplePay介接設定->新增設定
1.輸入欲使用的網域名稱: (https:// 不需要填入) ※注意※ 請留意網址前後是否有空白或多餘的 / 符號
2.在您的伺服器新增一個.well-known資料夾
3.將下載的檔案解壓縮後放置.well-known資料夾內 Apple官方將會連線到以下路徑測試,請確保位置正確且對外連線正常 https://網域名稱/.well-known/apple-developer-merchantid-domain-association
各伺服器存放路徑有差異,以下圖片是舉例
驗證失敗的常見原因:
1.檔案位置放置錯誤,導致Apple官方無法連線驗證
2.防火牆沒有打開,導致Apple官方無法連線驗證
3.請確認 SSL 憑證是否有達到A+等級 (https://www.ssllabs.com/ssltest)
4.請確認是否因為有開啟UrlScan 進而驗證失敗
5.Apple Pay 僅接受網站為https (使用Ngrok 建立SSL Tunnel)
The above in English: Following details the steps of setting the domain before integrating Apple Pay. For those merchants who integrate ECPay's Embedded Checkout page -- for webpage (站內付 2.0), before integrating Apple Pay, please follow the path on ECPay’s dashboard to set the domain and certificate: ECPay’s dashboard > System development management > ApplePay interface settings (綠界廠商後台 > ApplePay介接設定 > 新增設定)
1. Input a domain to be used (do not input https://)
2. Add a .well-known folder to your server. 3. Unzip the downloaded file from ECPay's dashboard and place it in the .well-known folder. Apple’s server will connect to the following path to verify the domain, so please make sure the location is correct and open to external connection. https://yourDomainName/.well-known/apple-developer-merchantid-domain-association
(Sample of the file location) Common errors of verification failed: 1. The file location is incorrect so Apple cannot connect to it verify. 2. The firewall is not turned on. 3. The SSL certificate does not reach A+ level. Please confirm whether the SSL certificate reaches A+ level: https://www.ssllabs.com/ssltest 4. Using UrlScan tool. 5. Not using https (Apple Pay accepts only https). (also see: Using Ngrok to create a SSL Tunnel) |