Java 交易被拒绝:付款方式无效。[或-ccseh-05]

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/53534040/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 00:50:09  来源:igfitidea点击:

transaction declined: invalid payment method. [or-ccseh-05]

javaandroid

提问by Muhammad Ahsan majeed

I integrate google pay in an android application, but when I test that after inserting Credit card details am facing this error

我在一个 android 应用程序中集成了 google pay,但是当我在插入信用卡详细信息后测试时遇到了这个错误

transaction declined: invalid payment method. [or-ccseh-05]

交易被拒绝:付款方式无效。[或-ccseh-05]

回答by Niki

Is you google account is activated..

你是谷歌账号激活了吗?

Please activate it if not and within a day, you're good to go.

如果没有,请激活它,一天之内,你就可以开始了。

Google Account verification link

Google 帐户验证链接

回答by Mantas

i've contacted google regarding this case, as i've been facing similar one and upon it's inspection i've received the following reply:

我已经就这个案例联系了谷歌,因为我遇到了类似的问题,经过检查,我收到了以下回复:


Upon checking, I understand that you're unable to add testing cards.
I would like to inform you that testing cards can't be added to Google Payment profile as payment Method.

Thanks!

Upon further investigation by payment service prividers i've been assured: For a bit of context on how Google Pay works to test payments. When you're using your test mode API keys, the actual details of the card are ignored, and they get replaced with the PSP 4242 test card. To test authentication you will not be able to add the test cards to your Google Pay account however there is a work around for this, you add our 3DS test cards to Chrome and use the PaymentRequest button with them (making sure to choose them, and not Google Pay itself). Unfortunately there is no direct method to testing this in your the app.

经过支付服务提供商的进一步调查,我得到了保证:有关 Google Pay 如何测试支付的一些背景信息。当您使用测试模式 API 密钥时,卡的实际详细信息将被忽略,并被 PSP 4242 测试卡替换。要测试身份验证,您将无法将测试卡添加到您的 Google Pay 帐户,但是有一个解决方法,您可以将我们的 3DS 测试卡添加到 Chrome 并使用它们的 PaymentRequest 按钮(确保选择它们,并且不是 Google Pay 本身)。不幸的是,没有直接的方法可以在您的应用程序中对此进行测试。