mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🐛 #2634 【微信支付】修复财付通支付参数报签名错误问题
This commit is contained in:
parent
6390dea046
commit
303a0ea155
@ -110,7 +110,8 @@ public class EcommerceServiceImpl implements EcommerceService {
|
||||
@Override
|
||||
public <T> T partnerTransactions(TradeTypeEnum tradeType, PartnerTransactionsRequest request) throws WxPayException {
|
||||
TransactionsResult result = this.partner(tradeType, request);
|
||||
return result.getPayInfo(tradeType, request.getSpAppid(),
|
||||
String appId = request.getSubAppid() != null ? request.getSubAppid() : request.getSpAppid();
|
||||
return result.getPayInfo(tradeType, appId,
|
||||
request.getSpMchid(), payService.getConfig().getPrivateKey());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user