Showing results for 
Search instead for 
Did you mean: 

empty observer

empty observer

Hi All,


Im trying to do an offline payment where my customer wants to "payonbill". All works fine and i added

Thing is that the event is thrown for the offline payment however the event is empty. What can i do to resolve that? Or is there a better way to approach this scenario? At this moment i am receiving the orderId in the observer and continue from there.

Thank you for anyting


Re: empty observer

You can use the event checkout_onepage_controller_success_action at Namespace\module\etc\frontend\events.xml:

<config xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="checkout_onepage_controller_success_action">
<observer name="mymodule_controller_success_action" instance="Namespace\Module\Observer\MyObserver" />


If issue solved, Click Kudos & Accept as Solution.
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool