问题
I was trying to integrate Google Pay to a native Android app. I read the doc and played around with the sample project and I noticed that there is no total price displayed on the popup for Google Pay. (There is email, shipping address, card info though) I also tried in my app and it is the same. In my code, I also added displayItems
and they are not shown either. Sorry no code is attached here. But all I wonder is whether it is normal for the Google Pay popup not to show total price or display items on the Android app, or is it because I didn't do it correctly?
回答1:
You didn't miss something, I faced the same problem and contacted google pay support, they said
To display final amount at Google Pay payment sheet is only available for website. For now this is not available for Android Integration.
回答2:
I believe a fix for this is being rolled out soon. Unfortunately I don't have an estimated time of arrival for the fix.
If you get in contact with the Google Pay support team they may be able to get this fix out to you sooner.
https://pay.google.com/business/console/ > Contact Support
来源:https://stackoverflow.com/questions/60481771/google-pay-does-not-show-total-price-or-displayitems