Access order data at a system plugin

  • Posts: 1
  • Thank you received: 0
6 years 9 months 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: 82683
  • Thank you received: 13337
  • MODERATOR
6 years 9 months 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.056 seconds
Powered by Kunena Forum