Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have Drupal 7.31, Ubercart 7.x-3.8 and Recurring Order 7.x-2.0-alpha3 - I set this rule up but it doesn't work as I would hope. Any help would be greatly appreciated.
Event
Order status gets updated
Conditions
Check the order balance
(I attached an image for the details on the Condition)
Actions
Remove user role
Parameter: User: [site:current-user], Roles: paid_advisor
A payment got completed by an end user and their paid_advisor role was removed. What did I do wrong?
Comment | File | Size | Author |
---|---|---|---|
Conditions.png | 80 KB | fineartist99 |
Comments
Comment #1
fineartist99 CreditAttribution: fineartist99 commentedI may have found a solution, I have a dollar a day test product so I will see in 24 hours if this works.
I disabled the rule as stated above and created this new one
Event
Order status gets updated
Conditions
NOT Data comparison
Parameter: Data to compare: [updated_order:order-status], Data value: Completed
AND
Check if the order is a renewal
Parameter: Order: [order]
Actions
Remove user role
Parameter: User: [site:current-user], Roles: paid_advisor