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
You can use the event checkout_onepage_controller_success_action at Namespace\module\etc\frontend\events.xml:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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" /> </event>