Google Play按钮显示我添加卡,虽然在那里' SA卡使用付费弹套件添加

发布于 2025-02-05 12:05:01 字数 920 浏览 3 评论 0原文

按钮显示和所有内容,但它显示我在有卡时添加卡,我正在尝试付费包中的示例,但仍然没有任何更改,甚至没有错误,我也无法打印出数据 我已经在设备上注册了2个帐户,其中包括一个有卡的帐户,我试图删除所有帐户,并保留一个有卡的帐户,但仍然没有解决问题,

这是代码,

          GooglePayButton(
            paymentConfigurationAsset:
                'default_payment_profile_google_pay.json',
            paymentItems: _paymentItems,
            style: GooglePayButtonStyle.black,
            type: GooglePayButtonType.pay,
            margin: const EdgeInsets.only(top: 15.0),
            onPaymentResult: onGooglePayResult,
            loadingIndicator: const Center(
              child: CircularProgressIndicator(),
            ),
          ),
const _paymentItems = [
  PaymentItem(
    label: 'Total',
    amount: '99.99',
    status: PaymentItemStatus.final_price,
  )
];

请帮助我,因为我是我坚持了几天,我什至创造了一个问题,但没人回答我

The button shows and everything but it shows me add card while there's a card, I'm trying the example from the pay package and still nothing changed, and even there's no error and I can't print out the data
I've 2 accounts registered on my device including the one who has card, I've tried to remove all accounts and keep the one that has a card but still didn't solve the issue

Here's the code

          GooglePayButton(
            paymentConfigurationAsset:
                'default_payment_profile_google_pay.json',
            paymentItems: _paymentItems,
            style: GooglePayButtonStyle.black,
            type: GooglePayButtonType.pay,
            margin: const EdgeInsets.only(top: 15.0),
            onPaymentResult: onGooglePayResult,
            loadingIndicator: const Center(
              child: CircularProgressIndicator(),
            ),
          ),
const _paymentItems = [
  PaymentItem(
    label: 'Total',
    amount: '99.99',
    status: PaymentItemStatus.final_price,
  )
];

Please help me because I'm stuck for this for days , I've even created an issue but no one answered me

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文