Before access preparation
- By Payjq registered personal collection interfaces, the principle is to help you sign up and pay treasure micro-channel (do not need a business license), probably a few minutes can be opened, can be permanent use after opening.
NATIVE scan code to pay
-
Effect: When a user clicks pay, front-end network request your background, your background and then request payment interface Payjq pay two-dimensional code is returned to the front page showing micro-channel or pay two-dimensional code, mobile phone users to pay Alipay micro-channel or scan code
-
Scan code request step:
- Construction Request parameter
- POST parameters to request address
- Shows two-dimensional code based on the contents of return
- Users receive asynchronous notification of successful payment
- Applicable scene: PC Web site, PC software, APP
JSAPI pay
-
Effect: Users in the micro-channel browser after clicking paid out of the payment page, enter the fingerprint / payment password to complete payment
-
JSAPI interface requests the steps of:
- Get OPENID
- Jsapi get paid by the parameters of the order parameter configuration api
- By jssdk or WeixinJsBridge way to initiate their own pay
- Server to receive asynchronous notification
- Applicable scene: H5 user's page in the micro letter, calling JSSDK complete payment within a page. For example: micro-channel public number
The cashier to pay
-
Effect: the same way as the cash register is initiated by JSAPI way to pay, just to simplify the steps and processes. Applicable to micro channel environment webview
-
Checkout request step:
- Construction Request parameter
- Use browser parameters jump to carry cash register address
- User interface at the cash register click the button initiates a payment
- Server to receive asynchronous notification