設定
Google Pay API 可提供簡便的線上購物體驗。只要設定這個 API,購物者就不必在您的網站中手動輸入付款資訊。這是因為購物者看見付款選項對話方塊時,系統便已預先填入姓名、電子郵件地址、帳單和運送地址等付款資訊。購物者選取付款方式時,API 會透過支援的付款閘道傳回付款資訊,或是直接在您經過加密的安全伺服器中處理。
只要將自家服務與 Google Pay API 相互整合,就能讓已在 Google 帳戶中儲存信用卡或簽帳金融卡付款資訊的數億名 Google 使用者享受一鍵快速結帳體驗。
事前準備
開始導入 API 之前,請先確認您符合下列先決條件:
申請正式版服務的存取權
在您的 Google Pay API 導入項目可用於正式版之前,您必須先在 Google 系統中登錄資訊並接受《服務條款》。網站通過 Google 審核後,您會收到 Google 商家 ID。詳情請參閱整合作業檢查清單。
您必須符合以下條件,才能申請正式版服務的存取權限:
網站獲得核准之後,您會收到一組 Google 商家 ID。每次傳送 Google Pay API 要求時,都必須加入這組 ID。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-10-16 (世界標準時間)。
[null,null,["上次更新時間:2024-10-16 (世界標準時間)。"],[[["The Google Pay API enables a quick and seamless online checkout experience by allowing customers to use pre-filled payment information from their Google accounts."],["Integrating the Google Pay API gives you access to a vast user base of millions who already have payment methods stored with Google."],["Before implementing the API, ensure your website uses HTTPS, is accessed through a supported browser, and that you have a Google account with an added payment method, while also adhering to the Google Pay API Acceptable Use Policy."]]],["The Google Pay API allows users to make online purchases without manually entering payment details. It displays a pre-filled payment dialog with information like name, email, and addresses, which is then processed through a payment gateway or directly on the secure server. Integration offers one-touch checkout to Google users with saved payment methods. To implement, you need an HTTPS site, a supported browser, a Google Pay payment method, and adherence to the API's policy. Publishing requires checking additional information.\n"]]