|
|
|
@ -93,7 +93,7 @@ public class WeChatPayProcessor extends IChannelPayService { |
|
|
|
public void refund(PaymentOrderRefund paymentOrderRefund) { |
|
|
|
try { |
|
|
|
Map<String, Object> reqParams = new HashMap<>(); |
|
|
|
reqParams.put("out_trade_no", paymentOrderRefund.getPaymentOrderId().toString()); |
|
|
|
reqParams.put("out_refund_no", paymentOrderRefund.getPaymentOrderId().toString()); |
|
|
|
reqParams.put("amount", new HashMap<String, Object>() { |
|
|
|
{ |
|
|
|
put("refund", paymentOrderRefund.getRefundAmount().multiply(BigDecimal.valueOf(100)).intValue()); |
|
|
|
|