E
E
Evgeny Nikolaev2019-07-05 16:33:37
1C-Bitrix
Evgeny Nikolaev, 2019-07-05 16:33:37

How to add a link to the page for generating a payment link for a client on the page of a specific order in bitrix?

Situation. An online store on bitrix, ordering and payment are written entirely on the API, standard bitrix modules were not used.
The client says, when he checks the order, he wants to send the client a link to pay by bank card to the client's e-mail.
5d1f52a02e955179767620.jpeg
The order ID is involved in generating such a link, so it would be optimal to offer the client the ability to generate it by clicking a link on the page of a specific order in the admin panel.
I am writing about redirection, but to the site page (on which the payment link will be generated), and not about immediately generating a payment link in the admin panel, because I assume that it will be more convenient for the client to copy the URL of the link from the TEXTAREA field, and if you place the link immediately, then not a warned manager can go through it instead of copying, than create an extra request to the bank to the acquirer, and it may not be something that needs to be copied from the browser.
To solve the question posed, it is permissible to create any fields at the stage of order formation, that is, by assigning any information to the $basket and $order objects (since the order id will be known after the order is formed, after which you can immediately update the information in the same file).
Please suggest solutions!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Panteleev, 2019-07-05
@s_panteleev

If I understood you correctly, you can add a block with the links/buttons/any other logic you need to the order page ( Customization of the administrative order form )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question