There should be drush command implemented to place the order, list the products, make the payment, etc.

See:
http://drupal.stackexchange.com/questions/89412/programmatically-creatin...

CommentFileSizeAuthor
#2 commerce_order.drush_.inc_.patch3.08 KBkenorb

Comments

rszrama’s picture

Component: Order » Contributed modules
Status: Active » Postponed

I'd say start with a contributed module for any drush integration. It will be much more agile developed separately from the main project, and it's not really essential to the core of Drupal Commerce.

kenorb’s picture

StatusFileSize
new3.08 KB

Can you tell me if that kind of initial approach (see patch) would be accepted? If not, what are you proposing? Or it's a candidate for a separate project?

rszrama’s picture

Yeah, I'm just proposing a single "Commerce Drush" (or "Drush Commerce") module be created that contain this and other drush commands useful for working with Commerce.

kenorb’s picture

Status: Postponed » Closed (fixed)

Project page: https://drupal.org/project/commerce_drush

I've added you to the Maintainers list.

rszrama’s picture

Thanks for getting the ball rolling! I'll share it amongst the team here; plenty of drush fans inside Commerce Guys. : )

kenorb’s picture

Great, thanks. More people to test with some additional suggestions would be great.
I'm also planning to add payment completion via drush within next few days, so it would be useful for testing full process of ordering some products via specific user, as manual testing of Commerce+Sagepay+Salesforce is a bit nightmare and time consuming.