Cart total amount to checkout rules "Grant points to a user"?
I am trying to add action rule to checkout, when customer makes payment.
What I planned to do is:
After payment, customer receives user points so much, how much customer was paid for all products in cart he added.
So how I do this?
So I need to do something in checkout settings - checkout rules - page. I added a new rule to event "Completing the checkout process", there i added action "Grant points to a user" and settings in there for user data selector I added "commerce-order:owner" but question is: What I should put in "Points" data selector, so customers receive points so much as they have total balance in shopping cart?