now do Wechat scan code payment mode 2. The completed mode is that the user selects the quantity, and then clicks to pay immediately. The QR code appears in the pop-up window, and a merchant order number will be generated at this time. Deposit a piece of data in the payment information record sheet. Change the payment status of the corresponding order after the user pays. But there will be a problem, that is, if a customer keeps clicking and paying immediately, but actually does not pay or only pays one of them. In this case, multiple payment records will be generated. At this point, how can I determine which payment record corresponds to the user"s order?
in addition, in the payment notice callback, I searched the Internet for a long time and did not find out how to tell Wechat that I had received and processed this payment notice. How can I return the data?