A
A
Alexander2020-10-26 20:19:42
1C-Bitrix
Alexander, 2020-10-26 20:19:42

How to make a payment using a QR code when placing an order in an online store?

How can you implement a payment by QR code in an online store on CMS 1C-Bitrix,
so that you can generate a QR code with the customer's details after placing an order and place it on the account that will go to the customer?

An example such as in CRM Bitrix24 https://www.info-expert.ru/blog/formiruem-qr-kody-...

As I think, the QR code generator should be launched at the OnSaleOrderSaved event, the event handler receives the data of the created order and starts a QR code generator function that will use the methods of a third-party PHP library.

How correctly did I describe the technical side and what library would you recommend for generating QR codes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2020-10-26
@rpsv

You can generate a QR code on the fly, if it is needed in an invoice, then when creating an invoice. Further, when sending a letter with an invoice, generate a PDF document with an existing QR.
Regarding the libraries: https://habr.com/en/post/92094/ , https://snipp.ru/php/qr-code
I haven't used any, so I can't recommend it, but I think there shouldn't be any problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question