From f305e18b300fd5cefa0559d2b9759887de1bb869 Mon Sep 17 00:00:00 2001 From: Theo Date: Sat, 5 Sep 2015 18:00:02 +0800 Subject: [PATCH] remove transaction_id & out_trade_no from INVOKE_REFUND_REQUIRED_FIELDS --- lib/wx_pay/service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wx_pay/service.rb b/lib/wx_pay/service.rb index 504d651..d791254 100644 --- a/lib/wx_pay/service.rb +++ b/lib/wx_pay/service.rb @@ -38,7 +38,7 @@ module WxPay params end - INVOKE_REFUND_REQUIRED_FIELDS = %i(transaction_id out_trade_no out_refund_no total_fee refund_fee) + INVOKE_REFUND_REQUIRED_FIELDS = %i(out_refund_no total_fee refund_fee) def self.invoke_refund(params) params = { appid: WxPay.appid, -- libgit2 0.21.0