Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { "rules_test" : {
- "LABEL" : "test",
- "PLUGIN" : "reaction rule",
- "REQUIRES" : [ "userpoints_rules", "commerce_checkout" ],
- "ON" : [ "commerce_checkout_complete" ],
- "DO" : [
- { "userpoints_action_grant_points" : {
- "user" : [ "site:current-user" ],
- "points" : [ "commerce-order:commerce-order-total:amount" ],
- "tid" : "76",
- "entity" : [ "commerce-order" ],
- "description" : "Test",
- "operation" : "Add",
- "display" : 1,
- "moderate" : "approved"
- }
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement