mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-13 21:30:25 +00:00
fix 微信服务商关闭订单接口
This commit is contained in:
@@ -32,7 +32,7 @@ public class WechatPaySubCloseV3Service {
|
||||
public void close(PayOrder payOrder, WechatPayConfig weChatPayConfig) {
|
||||
WxPayService wxPayService = wechatPayConfigService.wxJavaSdk(weChatPayConfig);
|
||||
try {
|
||||
wxPayService.closeOrderV3(payOrder.getOrderNo());
|
||||
wxPayService.closePartnerOrderV3(payOrder.getOrderNo());
|
||||
} catch (WxPayException e) {
|
||||
log.error("微信关闭支付V3失败", e);
|
||||
throw new TradeFailException("微信退款V3失败: "+e.getMessage());
|
||||
|
Reference in New Issue
Block a user