Active
Project:
Ubercart Discount Coupons
Version:
7.x-3.0-alpha0
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2012 at 03:25 UTC
Updated:
5 May 2014 at 08:25 UTC
Jump to comment: Most recent
Comments
Comment #1
wodenx commentedCreating a coupon is already possible via uc_coupon_purchase - see "clone a coupon and assign to a user" action (2.x) or "assign a coupon to a user" (3.x)
Unauthorizing shouldn't be difficult - look at the 'uc_coupon_workflow_assign' action definition in uc_coupon_workflow.rules.inc.
Comment #2
tparc commentedCould one of the maintainers add a rule to the module to deauthorize a user from using a coupon? I can think of several situations where this would be useful.
Thanks
Comment #3
kopeboyI second this.
I can't find a way to deauthorize a user in rules.
If you say its already possible please explain a bit (i changed this to support request, but a major one).
I am using the extended workflow and the coupon purchase submodule, 7.x-3.0-alpha0+3-dev.
I want to apply a coupon after a user shares the product. I already implemented this, authorizing the user to use the coupon.
After the purchase is completed with the coupon, I want to deauthorize. I think this way is more convenient than bulk coupon codes cause it maintains automatically.
Thanks