Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { "rules_order_process" : {
- "LABEL" : "order_process",
- "PLUGIN" : "reaction rule",
- "REQUIRES" : [ "commerce_payment", "rules", "commerce_order", "entity" ],
- "ON" : [ "commerce_order_update" ],
- "IF" : [
- { "commerce_payment_order_balance_comparison" : {
- "commerce_order" : [ "commerce_order" ],
- "operator" : "=",
- "value" : "0"
- }
- },
- { "data_is" : { "data" : [ "commerce-order:status" ], "value" : "pending" } }
- ],
- "DO" : [
- { "commerce_order_update_status" : { "commerce_order" : [ "commerce_order" ], "order_status" : "processing" } }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement