Is there a way to create an Exp:resso Store order programmatically? Whats the minimum requirements for it to show in the dashboard and be a valid order.

Thanks K

1 Answer 1


Store is fairly abstracted when it comes to order data. Take a look in the database at the tables starting with exp_store_order... - these all come into play for a single order.

Also, if you want to record payments of any kind with an order, you'll need an entry in exp_store_transactions.

  • What about the Order Hash? Could I put any random 32 character alphanumeric value? May 26, 2015 at 15:07
  • Yup. ee()->load->helper('string'); $hash = random_string('unique');. May 26, 2015 at 16:48
  • No problem - and please mark this answer as accepted if you feel it answers your question. May 27, 2015 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.