From 86cae3d350419527afd71d66aaad7099ee1fb93b Mon Sep 17 00:00:00 2001 From: Hging Date: Mon, 2 Mar 2020 15:14:30 +0800 Subject: [PATCH] add tips that mch_id require String type --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 59ffc9c..d5b58f4 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Create `config/initializers/wx_pay.rb` and put following configurations into it. # required WxPay.appid = 'YOUR_APPID' WxPay.key = 'YOUR_KEY' -WxPay.mch_id = 'YOUR_MCH_ID' +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 WxPay.debug_mode = true # default is `true` WxPay.sandbox_mode = false # default is `false` @@ -56,7 +56,7 @@ If you need to use sandbox mode. ```ruby WxPay.appid = 'YOUR_APPID' -WxPay.mch_id = 'YOUR_MCH_ID' +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 WxPay.debug_mode = true # default is `true` WxPay.sandbox_mode = true # default is `false` result = WxPay::Service.get_sandbox_signkey -- libgit2 0.21.0