A
A
Anton2018-05-09 09:53:57
1C-Bitrix
Anton, 2018-05-09 09:53:57

How to create an order in Bitrix via api?

I already did something similar on one of the sites, but I used D7, and now I need to do the same for Bitrix 14, where the new methods do not work. For some reason, the old methods from the documentation do not work for me:
The search gives a lot of information only on new methods. Here is a 1 in 1 error like mine - the code of the rules is already for everyone, substituted its data ....
http://bx-qa.com/?qa=55886/add-order
Why is ORDER_ID empty?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2018-05-10
@anton99zel

I will answer myself:
To diagnose errors when using this method, you need to use

$ex = $APPLICATION->GetException(); echo $ex->GetString();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question