Sunday, October 9, 2022

好,我要用功了!again!

 這次要紀錄怎麼以開發者的角度使用 Google Pay 來幫店家販售商品~


為什麼我會想研究怎麼串接 Google Pay 呢?

主要是... 

  1. 無腦選擇相信它
  2. 常被問到能否幫忙做他們家的 app 販售商品


先來翻說明書吧~

https://developers.google.com/pay/

首先,恩... 語系只有這些











恩,有三個分類,我會先看熟悉的 Android, 再看 Transaction Events,最後看 Web






  1. The user taps the Google Pay payment button and sees a payment sheet with a list of supported payment methods.
  2. The user selects a payment method and Google Pay securely returns a payment token for that method to your app.
  3. Your app submits the payment token, along with details about the purchase, to its backend.
  4. To execute the payment, the backend processes the purchase and sends the payment token to the payment service provider





ㄜ,馬上卡關==b


  1. Review and adhere to our Google Pay API Terms of Service and Acceptable Use Policy.
  2. Look through the supported processors and gateways list to find the reference documentation for your payment processor or gateway.

看起來一定要透過很厲害的 PSP, 自己想弄是狠難的XD

好,到這邊我覺得我只能接接 API, 想成為 Google Pay GDE 應該是無理 XD



喔喔!!居然在一堆陌生的名字裡面看到眼熟的,但是網址點開就只是首頁而已!?

試試看線上客服,記得好像只到幾點就沒了,沒想到國慶連假深夜居然還有,只是要等五個人XD(事實證明... 好像系統壞了,一下說維護,然後斷線,再上去改口說要等十人,接著 loop ... 等白天再試試看好了)


等的時候喵了一下 Tutorial 裡面還是有列出中國信託的資訊,但 Developer docs 還是直連到首頁,但 Tip 的說法貌似還是可以進行測試啦~


但目前有點累了,明天繼續吧~










No comments:

Post a Comment