Commit cfe0332a6baa27f750adfebe406d68e84ba8e251
1 parent
4fe3eed2
Exists in
master
bug fixed: Multi-account invoke_unifiedorder key blank
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/wx_pay/service.rb
@@ -10,6 +10,7 @@ module WxPay | @@ -10,6 +10,7 @@ module WxPay | ||
10 | params = { | 10 | params = { |
11 | appid: options.delete(:appid) || WxPay.appid, | 11 | appid: options.delete(:appid) || WxPay.appid, |
12 | mch_id: options.delete(:mch_id) || WxPay.mch_id, | 12 | mch_id: options.delete(:mch_id) || WxPay.mch_id, |
13 | + key: options.delete(:key) || WxPay.key, | ||
13 | nonce_str: SecureRandom.uuid.tr('-', '') | 14 | nonce_str: SecureRandom.uuid.tr('-', '') |
14 | }.merge(params) | 15 | }.merge(params) |
15 | 16 |