M
M
mills2020-07-26 13:55:49
1C-Bitrix
mills, 2020-07-26 13:55:49

What is the best way to implement an action after a successful payment on the Kiora Yandex.Checkout module?

Hello!
I use the "Kiora Yandex.Checkout" module, there is a task to make an action to add an element to the infoblock after a successful payment. But I can't figure out how to do it.
I'm trying in the file KIYK_PaymentEvents.php, where the mail message about successful payment is being sent on line 52, I entered the addition of an element, but it is not created.
Has anyone implemented something similar? Maybe somehow an event in init.php can be registered? Please share.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yaroslav Alexandrov, 2020-07-27
@alexyarik

You can write a handler either with old order events https :
//dev.1c-bitrix.ru/api_help/sale/events/even... bitrix/sales/events...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question