Giter Site home page Giter Site logo

Question: 请问对于微信子商户支付,除了要在Options参数中额外提供SubAppId和SubMchId应当如何使用呢? about paylink HOT 5 CLOSED

essensoft avatar essensoft commented on August 20, 2024
Question: 请问对于微信子商户支付,除了要在Options参数中额外提供SubAppId和SubMchId应当如何使用呢?

from paylink.

Comments (5)

roc916 avatar roc916 commented on August 20, 2024 1

nuget 已发布 3.1.5-beta.1,如果方便 希望能协助测试下

from paylink.

roc916 avatar roc916 commented on August 20, 2024

具体的可以看一下微信的开发文档:https://pay.weixin.qq.com/wiki/doc/api/app/app_sl.php?chapter=8_5

from paylink.

Anduin2017 avatar Anduin2017 commented on August 20, 2024

好的。明白了。我们自己试试改改。

不过,我建议保持此issue open,直到完全支持子商户支付。

from paylink.

roc916 avatar roc916 commented on August 20, 2024

我又翻了下微信文档:https://pay.weixin.qq.com/wiki/doc/api/app/app_sl.php?chapter=8_3

服务商后台主要交互说明:

1.接收到下单请求后,服务商系统调用微信支付【统一下单API】,微信返回prepay_id等参数,如图步骤2-4所示。

2.服务商系统获取到prepay_id后,按照【调起支付API】列表中的参数进行签名(服务商开发注意,appid和partnerid都不是服务商的参数,appid是子商户的应用APPID,partnerid是子商户的商户号),将数据返回给商户APP端,如图中步骤5-6所示。

似乎是在服务端做的,我尝试实现下

from paylink.

Anduin2017 avatar Anduin2017 commented on August 20, 2024

试了一下,完全没毛病! 💯 非常棒! 👍👍👍

from paylink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.