Access order data at a system plugin

  • Posts: 1
  • Thank you received: 0
2 weeks 3 days ago #286997

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.1

Is there any event such as onAfterOrderConfirm that is accessable after payment successfully complete? I need such event to interact with my component.

Please Log in or Create an account to join the conversation.

  • Posts: 60981
  • Thank you received: 8627
  • MODERATOR
2 weeks 3 days ago #287002

Hi,

You can use onAfterOrderUpdate and check the new order status in $order->order_status and the previous status in $order->old->order_status

The following user(s) said Thank You: alx

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum