Commit 86cae3d350419527afd71d66aaad7099ee1fb93b
1 parent
dfd5d148
Exists in
master
add tips that mch_id require String type
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
README.md
... | ... | @@ -37,7 +37,7 @@ Create `config/initializers/wx_pay.rb` and put following configurations into it. |
37 | 37 | # required |
38 | 38 | WxPay.appid = 'YOUR_APPID' |
39 | 39 | WxPay.key = 'YOUR_KEY' |
40 | -WxPay.mch_id = 'YOUR_MCH_ID' | |
40 | +WxPay.mch_id = 'YOUR_MCH_ID' # required type is String, otherwise there will be cases where JS_PAY can pay but the APP cannot pay | |
41 | 41 | WxPay.debug_mode = true # default is `true` |
42 | 42 | WxPay.sandbox_mode = false # default is `false` |
43 | 43 | |
... | ... | @@ -56,7 +56,7 @@ If you need to use sandbox mode. |
56 | 56 | |
57 | 57 | ```ruby |
58 | 58 | WxPay.appid = 'YOUR_APPID' |
59 | -WxPay.mch_id = 'YOUR_MCH_ID' | |
59 | +WxPay.mch_id = 'YOUR_MCH_ID' # required type is String, otherwise there will be cases where JS_PAY can pay but the APP cannot pay | |
60 | 60 | WxPay.debug_mode = true # default is `true` |
61 | 61 | WxPay.sandbox_mode = true # default is `false` |
62 | 62 | result = WxPay::Service.get_sandbox_signkey | ... | ... |