I have installed and set donate module. However, when a form is created, I can only see it when signed in as the administrator. Anonymous & any authenticated user sees access denied. I thought it was because be form wasn't attached to another node but unlike 6.x there is nothing that allows it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eclauset’s picture

same problem here, only admin user can access the form.

eduardo.flores’s picture

I have the same problem. I installed Pay, Donate and Authorize.net modules and created a donation form but only admin user can access it, other users get Access Denied.

Does anyone know the solution for this issue?

Thanks.

jeffnine’s picture

I'm in the same boat. Pay, Donate, & Authorize.net enabled here as well. Need this to work for anonymous.

eduardo.flores’s picture

Status: Active » Needs review
FileSize
361 bytes

I found an error on donate_permissions function, the error is on the Make Donations permission key.

I'm atacching a patch with the fix.

Dave.Ingram’s picture

Priority: Major » Critical
Status: Needs review » Reviewed & tested by the community

I can confirm that this patch fixed the issue for me and pretty clearly was the problem. Nice catch edufk88.

haleagar’s picture

Yes this fixes the permission issue for me.
Not apparently working in D7 yet however.

breethink’s picture

Status: Reviewed & tested by the community » Active

No, not working for 7.

meeeee’s picture

You have to first make changes to donate.module as explained by " edufk88 " above.
And if still problem exists then you have to make changes inside "role_permission" table which is inside your drupal website database.
-> grant permission "make donations" to respective role_id against donate module.
-> and if spelling of "make donations" is "make dontations" then change it to "make donations".

These two things works for me, i hope it works for you too. :)

rsiegel201’s picture

Assigned: Unassigned » rsiegel201

I have both Admin & Site Admin rights for my Drupal 7 site. I get "Access denied. You are not authorized to access this page." error when I try to view the donation form I've created. I checked all my permissions & that wasn't the problem.

It seems there is a typo in the word "donation" within the code, which is causing the problem. I'm still learning Drupal, so I'm not willing to take a shot at fixing anything at this point. Any chance this bug & other related issues will be fixed soon for the Donate module (and Pay API module, Authorize.net module)? I'd really rather use this Donation module set than the UberCart one(s). Please let me know.

rsiegel201’s picture

Assigned: rsiegel201 » Unassigned

Let's try this again. I'm still learning the interface. ;-)

I have both Admin & Site Admin rights for my Drupal 7 site. I get "Access denied. You are not authorized to access this page." error when I try to view the donation form I've created. I checked all my permissions & that wasn't the problem.

It seems there is a typo in the word "donation" within the code, which is causing the problem. I'm still learning Drupal, so I'm not willing to take a shot at fixing anything at this point. Any chance this bug & other related issues will be fixed soon for the Donate module (and Pay API module, Authorize.net module)? I'd really rather use this Donation module set than the UberCart one(s). Please let me know.

j4’s picture

I am also facing this problem..any progress in this?

Thanks!
Jaya

j4’s picture

Update: make the change in the module as suggested in comment 5, go back to the permissions page, and update the permissions for the people who can fill the form and then you are able to view the form!

Hope this helps someone!
Jaya

pritam.tiwari’s picture

Can some one, please update this change in module file. So new comers will not face this issue.
Thanks

realityloop’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community

The patch in #4 fixes the issue

sanjaykaronjiya’s picture

Thanx,

Comment #4 worked for me....

sureshcj’s picture

Thanks a lot..
The patch #4 worked for me....

vikasp@vgroupinc.com’s picture

I was facing the same issue but patch #4 helped me to get rid from this. Patch #4 works for me.

anbarasan.r’s picture

Had the same issue and the patch solved the issue, this needs to updated into the module ASAP. As this breaking basic use case.
Note, After applying the patch, you have to give the permission again.