Closed (fixed)
Project:
Ubercart
Version:
8.x-4.0-alpha5
Component:
Orders
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2017 at 09:42 UTC
Updated:
14 Jul 2017 at 01:15 UTC
Jump to comment: Most recent
Comments
Comment #2
tr commentedComment #3
mrphilipwarner commentedFor anyone else with a similar problem I thought I'd post my fix.
In uc_cart.api.php in the ubercart/uc_cart module you'll find the hook_uc_checkout_complete function, which takes the order and the user account as arguments. To get the order status I simply called $order->getStatusId().
Comment #4
kiwad commentedMarking fixed per #3