I have a site that I've designed that requires the use of changing a users role based on whether they've bought something from the store. I've decided that I want to do this using Rules.
I need it to check that the order is completed, then add the role Paid to the user.
So far I have the following:
Event: Order status gets updated (I had tried this on Checkout is completed but it wasn't working)
Conditions: NOT User has role(s) (Parameter: User: [site:current-user], Roles: paid user)
AND
Check an orders state (Parameter: Order: [updated-order], Order state: Completed)
Actions: Add user role (Parameter: User: [site:current-user], Roles: paid user)
It hasn't done anything so far. As I said, I've tried it on Checkout is completed but that didn't fix it, and a variety of different ways as well. I'm getting quite frustrated, but this is required for the main functionality of my site so I need it to work. Am I maybe missing something with Rules caching, or is there another reason that my Rule is consistently not working? Can someone please help me?
Thank you so much!
~Kelli