The difference between WeChat scan code payment mode 1 and mode 2

Mode 1 and Mode 2 provide two different capabilities, suitable for different scenarios, depending on the specific needs of merchants.

 

The two modes have certain common processes in the payment process:

The order is generated and the user pays.

 

The difference is:
Mode 1, scan the code first, and then generate the order.
Mode 2, first generate an order, and then scan the code.

 

The generation of an order represents whether the amount paid to the merchant this time has been determined. In mode 1, the QR code scanned by the user may not yet determine the actual amount to be paid.

In mode 2, the amount of the QR code scanned by the user is already determined.
It can be understood that the QR code in Mode 1 is the QR code of the product.

The QR code in Mode 2 is the QR code of the order, and because this is the QR code of the order, it must be time-sensitive.

 

Then there can be an obvious difference in the gameplay of these two scenarios.
Mode 1 is more suitable for unattended vending machines. All commodities have a fixed QR code, and the price is relatively stable. When the user scans the QR code with WeChat Pay, WeChat then requests the back-end interface of the vending machine's service provider. Note that this request contains Commodity ID and user information, in this way, the merchant system can determine the actual amount to be paid by the user based on the commodity ID and the identity of the user.

 

Mode 2 is more suitable for occasions where someone is on duty and the payment amount is very uncertain. For example, if you go to a restaurant to eat, although the amount of each dish is fixed, the amount of a table of meals is not fixed, and you may even use the vouchers issued by the restaurant in advance. At this time, the cashier needs to create an order in advance, determine the amount, and then scan the QR code to pay.

Of course, it is also possible to use mode 2 to realize unattended vending machines. It's just that the vending machine has to undertake some more interaction and business logic, and create an order before generating the QR code.

 

The two implementation modes of scanning code payment are actually offline payment and online payment
. Scan the QR code of the product to get the product details and choose whether to confirm the purchase;

2. Mode 2—that is, online payment. In this mode, the customer selects the product online and chooses to call WeChat payment, and the merchant platform responds accordingly and completes the purchase action.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326940750&siteId=291194637