Download & Extend

You do not have the correct permission to use this coupon.

Project:Ubercart Discount Coupons
Version:6.x-1.3
Component:Code
Category:support request
Priority:major
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I have installed uc_coupon, and set the permissions to:
coupon wholesale pricing - admin
manage store coupons - admin
view store coupons - anonymous, authenticated, admin

I created a coupon and set products to all, taxonomy terms to all, and restricted no users or roles.

When I try to use the coupon I get the following message, "You do not have the correct permission to use this coupon." Are there any other settings that need to be changed?

Comments

#1

You shouldn't even have to have "view store coupons" checked for anonymous or authenticated for them to still be able to use them. That permissions allows that role to view the coupons you have created which could be a bad thing if they are able to know the url and then use all your coupons when purchasing something.

It looks like everything your doing should be fine but make sure that under "Product classes:" you have your product class selected. Other than that I don't have a good answer without more info...

#2

Status:active» closed (fixed)

Cannot reproduce this, feel free to reopen with more info.

#3

Priority:normal» major

Hello,

I am still having this issue i also set the permission but when i use coupon code i face the "You do not have the correct permission to use this coupon." error.

Please help me..!!!

Thanks In Advance

#4

Status:closed (fixed)» postponed (maintainer needs more info)

What version of uc_coupon are you using? Also please send screenshot of your coupon settings page with all panes expanded, and role and permissions of the user trying to use the coupon. Thx.

#5

Hello,

Thanks for the fast reply...

I am using 6.x-1.5 version on uc_coupon module.

Please see attached snapshot....

AttachmentSize
coupon.JPG 46.23 KB
coupon_permission.JPG 36.13 KB

#6

Version:6.x-1.3» 6.x-1.5

Sorry if I wasn't clear - I meant the settings for the individual coupon in question (from admin/store/coupons/edit) and the roles/permissions for the particular user who is trying to use the coupon and rejected.

#7

Version:6.x-1.5» 6.x-1.3

Sorry for wrong snapshot.... please see the attached new snapshot:

AttachmentSize
coupon_edit_1.JPG 72.99 KB
coupon_edit_2.JPG 68.64 KB
coupon_edit_3.JPG 82.75 KB
coupon_edit_4.JPG 75.21 KB
coupon_edit_5.JPG 74.76 KB
coupon_edit_6.JPG 70.81 KB
coupon_role_permission.JPG 92.31 KB

#8

You still haven't told me the uid/roles of the particular user who is trying to apply the coupon, but I suspect you are using it as admin (uid:1) and haven't assigned yourself the 'promo_member' role. Thus validation passes the "User" restriction but fails on the "Role" restriction. The rules governing multiple restrictions are a bit arcane, but generally validation will fail if *any* criterion is met.

Also - you changed the version tag back to 1.3, but you say in #5 that you are using 1.5? Which is accurate?

#9

Hello wodenx,

I resolve that issue....Thanks for your response..

#10

Status:postponed (maintainer needs more info)» fixed

#11

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.