Advertisement
Guest User

Untitled

a guest
Mar 7th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement