WechantPay for Mini Program
Introduction
Product Code
Product flow
- 1.Users enter the merchant's wechat mini program;
- 2.Users initiate payments in merchant's mini program, whch then calls the openid interface of wechat to obtain the users' "openid".
- 3.Merchants call Geoswift unified order interface(payment parameters+openid)
- 4.Geoswift calls Wechat's unified order interface to obtain wechat pre-payment parameters
- 5.Geoswift signs wechat pre-payment parameters and the parameters used in the mini program call, and then returns the pre-payment parameters to merchants
- 6.Users make the payment in the merchant miniprogram, and the merchant invokes the wx.requestPayment(OBJECT) method of the wechat miniprogram with the pre-payment parameter returned in the previous step so as to call the checkout of the wechat mini program.
Product Flow Chart
