Asp.net Core micro-channel payment applet

Recently to do a micro-channel function of small programs to pay on the Internet to find a bit .net Core micro-channel demo do blog and pay little 

Own research for several days taken a lot of big cattle blog barely make out because the parameters are not such opid applet domain so simply test a little simulated callback micro-channel payment request follow-up and other projects line will be back to fill the pit 

The first look at the api documentation applet to pay to see my face now forced to simply ignorant about it first on an official map 

Process payment applet is this first single user to generate orders and then call back a unified payment api (note that this is not just considered a micro-channel payment under the single pre-notification under I want to pay you to give me a few parameters) and then unified under single API returns back to you five to five parameters and parameter signature to return to the front at the front end of a single 

The user then confirmation of payment will be a micro-channel asynchronous callbacks

(Here unified call orders need to use opid micro letter that a login is not elaborated) 

About unified under a single

The single configuration parameter - call API interface - the process returns Results - returned to the front end

First of all unified under a single structure of the required parameters

Http request and then sends the result of receiving the return

Then the five parameters returned to the front desk.

 Micro letter also pay a callback

Get micro-channel payment data return processing traffic data analysis

It should be noted that the receive mode core

ok here first summarize the test finished no problem until the back fill the hole and attach the complete code

Guess you like

Origin www.cnblogs.com/zhangxiaoxia/p/11423224.html