修复 微信V3:商户上送敏感信息时加密秘钥错误问题

修复 支付宝:交易查询接口调用getBizContent方法tradeNo与outTradeNo弄反问题
This commit is contained in:
pengkaibing
2023-06-02 23:46:11 +08:00
parent c2e9b16809
commit c102c2a1f3
4 changed files with 28 additions and 4 deletions

View File

@@ -503,7 +503,7 @@ public class AliPayService extends BasePayService<AliPayConfigStorage> implement
OrderParaStructure.loadParameters(bizContent, "query_options", assistOrder);
//设置请求参数的集合
parameters.put(BIZ_CONTENT, JSON.toJSONString(getBizContent(assistOrder.getOutTradeNo(), assistOrder.getTradeNo(), bizContent)));
parameters.put(BIZ_CONTENT, JSON.toJSONString(getBizContent(assistOrder.getTradeNo(), assistOrder.getOutTradeNo(), bizContent)));
//设置签名
setSign(parameters);
return requestTemplate.getForObject(getReqUrl(assistOrder.getTransactionType()) + "?" + UriVariables.getMapToParameters(parameters), JSONObject.class);