Closed indykoning closed 1 year ago
Hi! Thank you for your message. We do fire this event when an order is set to PAID. Could it be that this issue is limited to B2B orders only? We do have a setting in our plugin where users can turn off invoices for certain payment methods.
Hi @indykoning, we fire this event on both PAID and AUTHORIZE statuses. However, some Buy Now Pay Later payment methods, specifically for B2B, have the option to turn off invoices. I will close this issue for now. If you need any further information please contact us via support@pay.nl
Extensions like https://github.com/elgentos/magento2-serversideanalytics/blob/c02a4df4300496d83e501029fb55aa1e40f048f2/etc/events.xml#L6 depend on the
sales_order_payment_pay
to know when an order has been successfully paid.Pay currently sets the status to paid without firing this event, for better compatibility with other modules this event should be fired at the right time when an order has been successfully paid