如何解决payfort响应_message =无法查看欺诈屏幕
我在我的Andorid
应用程序中使用Amazone付款网关(PAYFORT SDK
)并获取 错误“未能检查欺诈屏幕”
在响应消息
private FortRequest getFortRequest(String token,String signature) {
Log.e(TAG, "getFortRequest token: " + token);
FortRequest fortRequest = new FortRequest();
Map<String, Object> hashMap = new HashMap<>();
hashMap.put("command", "AUTHORIZATION");
hashMap.put("customer_email", "[email protected]");
hashMap.put("currency", "SAR");
hashMap.put("amount", "100");
hashMap.put("language", "en");
hashMap.put("merchant_reference", "XYZ9236-ynm898");
hashMap.put("customer_name", "Ramesh kumar");
hashMap.put("customer_ip", "112.196.1.218");
hashMap.put("payment_option", "MASTERCARD");
hashMap.put("eci", "ECOMMERCE");
hashMap.put("order_description", "DESCRIPTION");
hashMap.put("sdk_token", token);
fortRequest.setRequestMap(hashMap);
return fortRequest;
}
FortRequest request = getFortRequest(token,signature);
request.isShowResponsePage();
FortSdk.getInstance().registerCallback(this,
request,
FortSdk.ENVIRONMENT.TEST,
5,
fortCallBack,
true,
new FortInterfaces.OnTnxProcessed() {
@Override
public void onCancel(Map<String, Object> map, Map<String, Object> map1) {
Log.e(TAG, "onCancel: " + map1.toString());
}
@Override
public void onSuccess(Map<String, Object> map, Map<String, Object> map1) {
Log.e(TAG, "onSuccess:map " + map.toString());
Log.e(TAG, "onSuccess:map1 " + map1.toString());
}
@Override
public void onFailure(Map<String, Object> map, Map<String, Object> map1) {
Log.e(TAG, "onFailure:map " + map.toString());
Log.e(TAG, "onFailure:map1 " + map1.toString());
}
});
e/paytag中:onfailure:map1 {量= 100, response_code = 10078,card_number = 512345 ****** 2346,card_holder_name = ramesh kumar, payment_option = mastercard,order_description =描述,Expiry_date = 2505, customer_ip = 112.196.1.218,eci =电子商务,语言= en,fort_id = 169996200005502088, 命令=授权,response_message =无法检查欺诈屏幕, sdk_token = 1FEA904F6EE3466A949F01761CB26F20,merchant_reference = xyz9236-ynm898,
i am using amazone payment gateway (payfort sdk
) in my andorid
application and getting
error "failed to check fraud screen"
in response message
private FortRequest getFortRequest(String token,String signature) {
Log.e(TAG, "getFortRequest token: " + token);
FortRequest fortRequest = new FortRequest();
Map<String, Object> hashMap = new HashMap<>();
hashMap.put("command", "AUTHORIZATION");
hashMap.put("customer_email", "[email protected]");
hashMap.put("currency", "SAR");
hashMap.put("amount", "100");
hashMap.put("language", "en");
hashMap.put("merchant_reference", "XYZ9236-ynm898");
hashMap.put("customer_name", "Ramesh kumar");
hashMap.put("customer_ip", "112.196.1.218");
hashMap.put("payment_option", "MASTERCARD");
hashMap.put("eci", "ECOMMERCE");
hashMap.put("order_description", "DESCRIPTION");
hashMap.put("sdk_token", token);
fortRequest.setRequestMap(hashMap);
return fortRequest;
}
FortRequest request = getFortRequest(token,signature);
request.isShowResponsePage();
FortSdk.getInstance().registerCallback(this,
request,
FortSdk.ENVIRONMENT.TEST,
5,
fortCallBack,
true,
new FortInterfaces.OnTnxProcessed() {
@Override
public void onCancel(Map<String, Object> map, Map<String, Object> map1) {
Log.e(TAG, "onCancel: " + map1.toString());
}
@Override
public void onSuccess(Map<String, Object> map, Map<String, Object> map1) {
Log.e(TAG, "onSuccess:map " + map.toString());
Log.e(TAG, "onSuccess:map1 " + map1.toString());
}
@Override
public void onFailure(Map<String, Object> map, Map<String, Object> map1) {
Log.e(TAG, "onFailure:map " + map.toString());
Log.e(TAG, "onFailure:map1 " + map1.toString());
}
});
E/paytag: onFailure:map1 {amount=100,
response_code=10078, card_number=512345******2346, card_holder_name=Ramesh Kumar,
payment_option=MASTERCARD, order_description=DESCRIPTION, expiry_date=2505,
customer_ip=112.196.1.218, eci=ECOMMERCE, language=en, fort_id=169996200005502088,
command=AUTHORIZATION, response_message=failed to check fraud screen,
sdk_token=1fea904f6ee3466a949f01761cb26f20, merchant_reference=XYZ9236-ynm898,
[email protected], currency=SAR, customer_name=Ramesh kumar, status=10}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我通过与Amazone客户服务联系来解决此问题
测试帐户有一些待处理
i have resolve this by contacting with amazone customer care
There is something pending with test account