I'm trying to send a text message right after shipment was created in admin panel. I'm observing
sales_order_shipment_save_after which works fine. The problem is this event fires on invoice creation too.
I couldn't find the right event for observing only shipment creation. Any suggestion?
I'm on 126.96.36.199.
I listed all events by adding
dispatchEvent method in
app/Mage.php. These are the ones which seem related (and I didn't try them already):
sales_order_shipment_save_commit_after controller_action_postdispatch_adminhtml_sales_order_shipment_save core_copy_fieldset_sales_convert_order_to_shipment
Which one should I use?