前提・実現したいこと
Implement Google Pay in LIFF
発生している問題・エラーメッセージ
Google Pay Web API says that Google Pay is supported in LIFF by returning true
with paymentsClient.isReadyToPay()
.
However, when calling loadPaymentData()
method, it fails with below error message:
"this.Fa is not a function. (In 'this.Fa(a)', 'this.Fa' is null)"
I know that this.Fa
is in the file pay.js
(by Google), but cannot figure out why it isn't a function and how to make it one, because the source file is mangled and uglified.
Has anyone implemented Google Pay successfully in LIFF?
Reference
- pay.js: https://pay.google.com/gp/p/js/pay.js
- Google Pay document: https://developers.google.com/pay/api/web/guides/tutorial
該当のソースコード
You could use example code in Google Pay's document in LIFF: https://developers.google.com/pay/api/web/guides/resources/demos#authorize-payments-example
試したこと
N/A