问题描述
该商家没有可接受的信用卡。
解决方法
这是我之前为类似问题提供的答案:There are no accepted cards available for use with this merchant - Google Pay
它与 API 中请求的支付方式和用户可用的卡的交集有关。
如果您无法访问用于 Google Pay 的真实付款方式,您可以按照 https://developers.google.com/pay/api/web/guides/resources/test-card-suite 或 https://github.com/google-pay/google-pay-button/discussions/70 中概述的流程使用测试卡。
该过程涉及登录和加入 googlepay-test-mode-stub-data 组。请注意,这可以是您的主要 Google 帐户,也可以是您用于测试目的的单独 Google 帐户。