我是 android 新手,将 payU money 集成为支付网关,但无法成功。我正在使用来自 github 的示例 PayU 演示,它运行良好。但当我改变
String merchantProductionKeys[] = {"Sskq6q", "smsplus"};
商家生产密钥与我的密钥,它开始显示错误 - 缺少强制参数哈希。而且我不知道在哪里可以找到商家产品密钥。
String merchantTestKeys[] = {"OygoFs", "OygoFs"};
String merchantProductionKeys[] = {"Sskq6q", "smsplus"};
String merchantKey = env == PayuConstants.PRODUCTION_ENV ? merchantProductionKeys[merchantIndex] : merchantTestKeys[merchantIndex];
String mandatoryKeys[] = {PayuConstants.KEY, PayuConstants.AMOUNT, PayuConstants.PRODUCT_INFO, PayuConstants.FIRST_NAME, PayuConstants.EMAIL, PayuConstants.TXNID, PayuConstants.SURL, PayuConstants.FURL, PayuConstants.USER_CREDENTIALS, PayuConstants.UDF1, PayuConstants.UDF2, PayuConstants.UDF3, PayuConstants.UDF4, PayuConstants.UDF5, PayuConstants.ENV};
String mandatoryValues[] = {merchantKey, "10.0", "myproduct", "firstname", "me@itsmeonly.com", "" + System.currentTimeMillis(), "https://test.payu.in/_payment.php", "https://test.payu.in/_payment.php", merchantKey + ":payutest@payu.in", "udf1", "udf2", "udf3", "udf4", "udf5", "" + env};
请帮忙。提前致谢