[0032] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and illustrated in the drawings herein may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present invention.
[0033] See Figure 1-3 The embodiment of the present invention provides a payment method applied to a POS machine, the POS machine includes an image display device; the payment method includes:
[0034] Step S101: The POS machine obtains the price of the commodity to be paid;
[0035] Step S102: The POS machine generates a payment QR code, and the payment QR code carries the price of the commodity to be paid;
[0036] Step S103: The POS machine displays the payment QR code on the image display device, so that the payment terminal WeChat scans the payment QR code displayed on the image display device to perform WeChat payment.
[0037] Further, the POS machine further includes a camera and a network adapter. The POS machine obtains the price of the commodity to be paid, including:
[0038] The POS machine scans the barcode of the commodity through the camera to obtain barcode information;
[0039] The POS machine sends the barcode information to a server through a network adapter, and the server stores price information corresponding to the commodity barcode;
[0040] The POS machine receives the price information corresponding to the barcode information sent by the server.
[0041] Further, the payment method further includes:
[0042] After the payment terminal is successfully paid, the POS machine receives the successful payment feedback information sent by the payment terminal.
[0043] In the payment method provided by the embodiment of the present invention, after obtaining the price of the commodity to be paid, the obtained payment commodity price is embedded in the generated payment QR code, and the payment QR code is displayed on the image display device. The display mode is convenient for the payment terminal WeChat to scan the payment QR code displayed on the image display device for WeChat payment, so that the POS machine can complete the WeChat payment, which improves the existing POS machine that only supports bank card payment. Consumers forget to bring their bank cards and cannot complete the payment, which brings inconvenience to consumers.
[0044] Such as figure 2 As shown, the embodiment of the present invention provides a POS machine 200, the POS machine 200 includes an image display device, and the POS machine 200 further includes:
[0045] The commodity price obtaining unit 201 to be paid is used to obtain the price of the commodity to be paid;
[0046] The payment QR code generating unit 202 is configured to generate a payment QR code, the payment QR code carrying the price of the commodity to be paid;
[0047] The image display device driving unit 203 is configured to display the payment QR code on the image display device, so that the payment terminal WeChat scans the payment QR code displayed on the image display device to perform WeChat payment.
[0048] Further, the POS machine further includes a camera and a network adapter, and the POS machine further includes:
[0049] The barcode obtaining unit is configured to obtain the commodity barcode scanned by the camera;
[0050] The barcode sending unit is configured to send the barcode information to a server through a network adapter, and the server stores price information corresponding to the commodity barcode;
[0051] The price information receiving unit is configured to receive price information corresponding to the barcode information sent by the server.
[0052] Further, the POS machine further includes:
[0053] The feedback information receiving unit is configured to receive the successful payment feedback information sent by the payment terminal after the payment terminal is successful.
[0054] The POS machine provided by the embodiment of the present invention, after obtaining the price of the commodity to be paid, embeds the obtained price of the commodity to be paid into the generated payment QR code, and places the payment QR code on the image display device The display mode is convenient for the payment terminal WeChat to scan the payment QR code displayed on the image display device for WeChat payment, so that the POS machine can complete the WeChat payment, which improves the existing POS machine that only supports bank card payment. Consumers forget to bring their bank cards and cannot complete the payment, which brings inconvenience to consumers.
[0055] Such as image 3 As shown, the embodiment of the present invention provides a payment system, the payment system includes a POS machine 301 and a server 302;
[0056] The POS machine 301 is used to obtain the price of the commodity to be paid; to generate a payment QR code, which carries the price of the commodity to be paid; to display the payment QR code on the image display device , So that the payment terminal WeChat scans the payment QR code displayed on the image display device to perform WeChat payment.
[0057] In the payment method and system and POS machine provided by the embodiment of the present invention, after obtaining the price of the commodity to be paid, the obtained payment commodity price is embedded in the generated payment QR code, and the payment QR code is stored in The display mode of the image display device is convenient for the payment terminal WeChat to scan the payment QR code displayed on the image display device for WeChat payment, so that the POS machine can complete the WeChat payment, which improves the existing POS machine that only supports With bank card payment, if consumers forget to carry the bank card and cannot complete the payment, it brings inconvenience to consumers.
[0058] The above are only preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various modifications and changes. Any modification, equivalent replacement, improvement, etc., made within the spirit and principle of the present invention should be included in the protection scope of the present invention.