Skip to content

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.

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.

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.

  • _is_ess_services_orders set to yes marks 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-date stores the seller’s delivery date.
  • requirement_notification_sent and completed_service_order are guards used by the scheduled tasks.
  • _edd_product_type set to service marks a Download as a service.
  • edd_sell_service_users stores the assigned user ids (co-authors and support agents).
  • edd_service_reviews stores an array of reviews for the product.