M
M
Michael_Mel2019-07-25 18:39:15
1C-Bitrix
Michael_Mel, 2019-07-25 18:39:15

How to set up invoice output in PDF in Bitrix?

Hello! made a simple catalog with the ability to download an invoice for payment after placing an order. Created a payment system (bill), but after filling in the required fields and pressing the button to place an order, the system redirects to a non-existent page - katalog/ payment.php ?ORDER_ID=3&pdf=1&DOWNLOAD=Y. There is no such file in this section. I moved it from sale.order.ajax because I used it to customize the layout, but the payment.php file contains the following:
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();? ><?
if(file_exists($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/ru/payment/bill/payment.php"))
return include($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale /en/payment/bill/payment.
Please help with account creation!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question