Order Statuses
Service order state is stored per product on the order (payment) meta key edd_order_status_<productid>. Because the key includes the product id, one order can carry several service products, each with its own state.
Status keys
Section titled “Status keys”| Key | Label | Set when |
|---|---|---|
edd_services_waiting_for_requirement |
Waiting For Requirement | A service is purchased |
edd_services_work_in_progress |
Work In Progress | Requirements submitted, or a conversation message sent |
edd_services_waiting_for_approval |
Waiting For Approval | Seller submits the final delivery |
edd_services_waiting_for_review |
Waiting For Review | Buyer accepts the delivery (payment completed) |
edd_services_order_complete |
Order Complete | Buyer submits a review |
The label list is filterable through edd_order_statuses.
Progress widget statuses
Section titled “Progress widget statuses”A separate, display only progress indicator uses its own set of steps, filterable through edd_service_widget_statuses: Placed Order, Provide Requirements, Order in Progress, Approve Final delivery, Order Completed, Review the Delivery. For subscription payments the approve and review steps are omitted.
Related order meta
Section titled “Related order meta”_is_ess_services_ordersset toyesmarks an order as containing a service.edd_sell_req_data_<paymentid>_<productid>stores the submitted requirement answers.edd_sell_req_data_saved_<paymentid>_<productid>flags that requirements were submitted.edd_services_req_data_attachment<paymentid>_<productid>stores requirement upload URLs.edd_final_delivery_<paymentid>_<productid>stores the final delivery message id.edd_accept_delivery_<paymentid>_<productid>stores the buyer’s acceptance record.edd-update-delivery-datestores the seller’s delivery date.requirement_notification_sentandcompleted_service_orderare guards used by the scheduled tasks.
Product meta
Section titled “Product meta”_edd_product_typeset toservicemarks a Download as a service.edd_sell_service_usersstores the assigned user ids (co-authors and support agents).edd_service_reviewsstores an array of reviews for the product.

