SHARE
TWEET

Untitled

a guest Mar 7th, 2012 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. { "rules_order_process" : {
  2.     "LABEL" : "order_process",
  3.     "PLUGIN" : "reaction rule",
  4.     "REQUIRES" : [ "commerce_payment", "rules", "commerce_order", "entity" ],
  5.     "ON" : [ "commerce_order_update" ],
  6.     "IF" : [
  7.       { "commerce_payment_order_balance_comparison" : {
  8.           "commerce_order" : [ "commerce_order" ],
  9.           "operator" : "=",
  10.           "value" : "0"
  11.         }
  12.       },
  13.       { "data_is" : { "data" : [ "commerce-order:status" ], "value" : "pending" } }
  14.     ],
  15.     "DO" : [
  16.       { "commerce_order_update_status" : { "commerce_order" : [ "commerce_order" ], "order_status" : "processing" } }
  17.     ]
  18.   }
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top