Order Management module
Learn more about the Order Management module.
The OrderManagement
module keeps the Digital River orders and WooCommerce orders in sync by managing the state of the orders.
Specifications
This module is responsible for handling different order lifecycle states. It will also enable users to download and view order invoices for their purchases.
Order Management methods
Order Manager class
This class is the module's entry point.
Order Container class
This class acts as a Dependency Injection container for providing dependencies to classes present in the OrderManagement
module.
State Manager class
This class updates the WC_Order
status to reflect the corresponding Digital River order status.
Fulfiller class
This class handles automatic order fulfillment.
Invoice Manager class
This class manages order invoices.
State Transition Handler Classes
These three Handler classes are responsible for the order state transition.
State transition classes must implement the StateTransition
interface. Optionally, they can also extend theBaseTransition
class.
State Transition Interface
Last updated