google-pay - Google 钱包 API 权限被拒绝

标签 google-pay

我关注了this创建 Google 电子钱包通行证的指南。甚至运行 Github 代码 here 后我仍然只收到“403 Forbidden”错误:

pastebin 错误:https://pastebin.com/hFmwR3qt

预先感谢您的帮助!

编辑1: 我可能应该提到,我已经在 Google Pay Business 控制台上创建了一个发卡机构帐户。

最佳答案

我也遇到了同样的问题。这个答案帮助了我: Google Wallet API Codelabs example permission denied

只是为了澄清一些要点: 当您获得发行人 ID 和通行证类别 ID 时,Google 会将发行人 ID 添加到通行证类别 ID 的前面。。他们不应该这样做,你需要将其删除。 enter image description here

您应该只采用“Pass Class Id”中点后面的部分。

接下来,请注意“所有者”。

这是您在为临时发行人单击“创建”时输入的电子邮件地址。该电子邮件地址必须是 key.json 文件中的“client_email”值(文件中的第 6 行)。

关于google-pay - Google 钱包 API 权限被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73145195/

相关文章:

android - 尝试将 google pay 集成到我的 Android 应用程序中

ios - 如何在 iOS swift 中集成 Google Pay?

android - 从我的 Android 应用调用 Google Pay Intent 时出现错误 "You have exceeded the maximum transaction amount set by your bank"

android - Google Pay 不显示总价或 displayItems

android - 从我的 react-native 应用程序调用 UPI 应用程序在 iOS 中有效,但在 Android 中无效

android - Google Play与应用内结算

android - 使用 Google Pay for Xamarin 进行应用内预配

android - 如何从我的应用程序将信用卡添加到 Google Pay?

payment-gateway - 关于在网络上传输 Google Pay 支付 token 的安全问题

android-layout - 如何在Flutter中添加XML Google Pay按钮