Home > Article > Backend Development > Scan the QR code on WeChat and jump to the web page to initiate payment.
I recently made a webpage and wanted to use the WeChat payment function. The general meaning is that the product has its own QR code, which is the URL link. Use the get method to carry the parameters. After WeChat scans the code, it will jump to my webpage, and then activate the payment. Function.
I think the logic should be roughly described. I want to know whether this is WeChat official account payment or WeChat scan code payment, because it is just a process of calling jsapi on an h5 page, which is not very clear yet.
Then is it difficult to implement? I use PHP language. Can anyone who knows it give some tips?
What parameters should be carried in the QR code? I think it should at least include the amount. I’m not sure about the others. I also looked at the API list for WeChat Pay. For example, the order number and prepaid order number are not clear.
I hope friends who have made payments can Any advice
Thank you