Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加微信支付服务商支持 #408

Merged
merged 3 commits into from
Apr 29, 2016
Merged

增加微信支付服务商支持 #408

merged 3 commits into from
Apr 29, 2016

Conversation

takatost
Copy link
Contributor

因当前版本微信支付服务商支持不完整,需要每次在微信支付 attributes 中加入子公众号 sub_appid & sub_mch_id,现改成全局支持(若设置)

  • 增加微信支付服务商子公众号参数别名声明 sub_app_id => sub_appidsub_merchant_id => sub_mch_id
  • 增加请求前增加微信支付服务商参数 sub_appid & sub_mch_id 的支持

@@ -379,6 +399,8 @@ public function getMerchant()
*/
protected function request($api, array $params, $method = 'post', array $options = [], $returnResponse = false)
{
$params = $this->addIfServiceProvider($params);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其实不要这一步都可以的吧。

@overtrue overtrue merged commit ba17f63 into w7corp:master Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants