Skip to content
New issue

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

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

Already on GitHub? # to your account

对微信服务商的支持 #82

Merged
merged 3 commits into from
Mar 6, 2018
Merged

对微信服务商的支持 #82

merged 3 commits into from
Mar 6, 2018

Conversation

krissss
Copy link
Contributor

@krissss krissss commented Feb 26, 2018

麻烦看下对服务商的支持采用这种形式可以吗(基本都改了,但暂未测试)?

$config = [
    'appid' => 'wxb3fxxxxxxxxxxx', // APP APPID
    'app_id' => 'wxb3fxxxxxxxxxxx', // 公众号 APPID
    'miniapp_id' => 'wxb3fxxxxxxxxxxx', // 小程序 APPID
    'sub_appid' => 'wxb3fxxxxxxxxxxx', // 子商户 APP APPID
    'sub_app_id' => 'wxb3fxxxxxxxxxxx', // 子商户 公众号 APPID
    'sub_miniapp_id' => 'wxb3fxxxxxxxxxxx', // 子商户 小程序 APPID
    'mch_id' => '146xxxxxx', // 商户号
    'sub_mch_id' => '146xxxxxx', // 子商户商户号
    'key' => '4e538260xxxxxxxxxxxxxxxxxxxxxx', // 主商户 key
    'notify_url' => 'http://yanda.net.cn/notify.php',
    'cert_client' => './cert/apiclient_cert.pem', // optional,退款等情况时用到
    'cert_key' => './cert/apiclient_key.pem',// optional,退款等情况时用到
    'log' => [ // optional
        'file' => './logs/wechat.log',
        'level' => 'debug'
    ],
    'mode' => 'service',
]

@krissss
Copy link
Contributor Author

krissss commented Feb 28, 2018

已经测试过

@yansongda yansongda merged commit ac303d9 into yansongda:master Mar 6, 2018
@yansongda
Copy link
Owner

感谢支持!

目前已发布一个 beta 版本针对本 PR:v2.1.0-beta

欢迎体验测试微信服务商的支持!

@yansongda
Copy link
Owner

对了,麻烦方便的时候完善下文档

感谢

@krissss krissss mentioned this pull request Mar 6, 2018
@mr-chen-king
Copy link

你好,这个子商户的公众号还有子商户的小程序需appid不是必选的,因为服务商特约商户可以不申请公众号的吧?

@yinchuanjiang
Copy link

服务商支付的回掉验签的config配置需要哪些字段,麻烦方便的时候完善下文档

@fhb9527
Copy link

fhb9527 commented Jan 13, 2025

我小程序微信支付 v2版 服务商模式 一直是提示签名错误怎么回事

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants