我们正在开发基于remote-pay-android-go SDK的Apache Cordova插件,该插件将允许Ionic / Cordova应用程序与Clover Go设备集成。
Here是插件的链接。我们已经实现了初始化,连接,断开连接和进行销售的基本方法。每当通过设备进行销售时,我们都会收到错误消息“交易被拒绝。请使用另一种付款方式”,原因为“ charge_declined”。
我尝试了example SDK中的remote-pay-android-go代码,并且该代码给出了从设备出售的相同错误,并且对于手动交易非常有效。
有人可以帮助我了解我们可能失踪的地方吗?
提前感谢!
通过在三叶草论坛上关注David Marginian最近的answer,我得以克服了这个问题。
I believe there is something going on with the gateway emulator on sandbox, we are looking into it. In the meantime try transactions > 50 dollars, they should go through fine.
我认为由于默认货币设置为美分,所以我尝试的值始终保持在50美元以下。