diff --git a/README.md b/README.md index 4c72ba66..57a3a830 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ [![Monthly installs][ico-downloads-monthly]][link-downloads] ----- +test! -# JetBrains OS licenses `payment` had been being developed with PhpStorm under the free JetBrains Open Source license(s) granted by JetBrains s.r.o., hence I would like to express by thanks here. diff --git a/composer.json b/composer.json index a8ea8cb2..c2993d36 100644 --- a/composer.json +++ b/composer.json @@ -1,17 +1,9 @@ { - "name": "riverslei/payment", + "name": "521daichen/payment", "type": "library", "description": "支付宝支付、微信支付、招商一网通支付php SDK。方便快速接入,最完整的开源支付 php sdk", "keywords": ["alipay", "weixin", "支付宝支付", "微信支付", "集成支付接口SDK", "招商一网通", "一网通"], - "homepage": "https://helei112g.github.io/categories/payment-3/", "license": "MIT", - "authors": [ - { - "name": "helei", - "email": "dayugog@gmail.com", - "homepage": "https://helei112g.github.io/categories/payment-3/" - } - ], "require": { "php": ">=5.6", "ext-bcmath": "*", diff --git a/src/Common/Weixin/Data/Charge/PubChargeData.php b/src/Common/Weixin/Data/Charge/PubChargeData.php index ed277099..d842fed7 100644 --- a/src/Common/Weixin/Data/Charge/PubChargeData.php +++ b/src/Common/Weixin/Data/Charge/PubChargeData.php @@ -31,9 +31,9 @@ protected function checkDataParam() $subMchId = $this->sub_mch_id;// 如果是服务商模式,则 sub_openid 必须提供 $subOpenid = $this->sub_openid; - if ($subMchId && empty($subOpenid)) { - throw new PayException('公众号的服务商模式,必须提供 sub_openid 参数.'); - } +// if ($subMchId && empty($subOpenid)) { +// throw new PayException('公众号的服务商模式,必须提供 sub_openid 参数.'); +// } } protected function buildData()