總覽
全球有數億名使用者在 Google 帳戶儲存了卡片資訊,這些人只要透過 Google Pay API 就能在您的網站快速輕鬆地完成結帳程序。
運作方式
圖 1. 網頁付款流程
按一下 Google Pay 付款按鈕之後,使用者就會看見付款畫面。付款畫面會顯示他們儲存在 Google 帳戶中的付款方式,以及運送地址等選填欄位。接著,使用者就能快速選取付款方式、新增額外的運送地址,或是增添新的相關資訊。
付款流程如下:
- 按一下 Google Pay 付款按鈕之後,使用者就會看見付款畫面。付款畫面會列出系統支援的付款方式。
- 使用者選取付款方式之後,Google Pay 會將所選方式的付款權杖安全傳回您的網站。
- 接著,您的網站會將付款權杖和該項交易的詳細資料提交至後端。
- 後端會處理該項交易,並將付款權杖傳送給付款服務供應商,以便執行付款作業。
開始使用
執行下列步驟以開始使用 Google Pay API:
- 詳閱並遵守 Google Pay API 的《服務條款》和《使用限制政策》。
-
查看支援的處理方與閘道清單,找到付款處理方或閘道的參考說明文件。
- 詳閱並遵守 Google Pay 的《品牌規範》。
- 完成教學課程和整合作業檢查清單。
- 透過商家主控台申請 Google Pay API 的正式版存取權。
資源
請使用下列資源完成整合作業:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-01-10 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]