gpt4 book ai didi

android - 测试环境 "there are no accepted cards available for use with this merchant"Google play集成错误

转载 作者:行者123 更新时间:2023-12-03 15:21:21 28 4
gpt4 key购买 nike

我正尝试在这个演示之后集成 Google 支付钱包 https://github.com/google-pay/android-quickstart .但是当我尝试为测试环境付款时,出现错误“没有可用于该商家的已接受卡”。

我提供以下配置

val SUPPORTED_NETWORKS = listOf(
"AMEX",
"DISCOVER",
"JCB",
"MASTERCARD",
"VISA")

/**
* The Google Pay API may return cards on file on Google.com (PAN_ONLY) and/or a device token on
* an Android device authenticated with a 3-D Secure cryptogram (CRYPTOGRAM_3DS).
*
* @value #SUPPORTED_METHODS
*/
val SUPPORTED_METHODS = listOf(
"PAN_ONLY",
"CRYPTOGRAM_3DS")

商家配置为

val PAYMENT_GATEWAY_TOKENIZATION_PARAMETERS = mapOf(
"gateway" to PAYMENT_GATEWAY_TOKENIZATION_NAME,
"gatewayMerchantId" to "exampleGatewayMerchantId"
)

使用环境作为

const val PAYMENTS_ENVIRONMENT = WalletConstants.ENVIRONMENT_TEST

我在印度使用它(因为我有印度 gmail 帐户)但问题是我如何才能将测试卡添加到我的帐户。

最佳答案

我认为这是因为你确定了一个网关,但你的ID仍然是“example”

关于android - 测试环境 "there are no accepted cards available for use with this merchant"Google play集成错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56949413/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com