Can Google Pay be implemented in LIFF?
Implement Google Pay in LIFF
Google Pay Web API says that Google Pay is supported in LIFF by returning
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?
- 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