- Issue created by @peduardo
- ๐ฎ๐ณIndia Anita verma
Anita Verma โ made their first commit to this issueโs fork.
- Status changed to Needs review
10 months ago 10:07am 6 January 2024 - ๐ฎ๐ณIndia Anita verma
Hi
I created test user, after login add product in cart and purchased the product, I have successfully payment with manual payment method.
You need to check permission to the user. It seems working fine.
Thank you, - Status changed to Fixed
10 months ago 8:36am 8 January 2024 - ๐ฎ๐ฑIsrael jsacksick
I think this is just a matter of permissions? Did you grant the permission to create any payment? Or the administer payments permission?
Automatically closed - issue fixed for 2 weeks with no activity.
- ๐ซ๐ทFrance oturpin
Hio,
Same issue for me. I am connected as Administrator.
When requesting Add Payment Method, I get an error "Access Denied".
Administrator is authorized to administer Payment Methods in the "Rights" section.
Using Drupal 10.2.4dev
using Machine name: commerce_payment Version : 8.x-2.38
thx - ๐ฉ๐ชGermany gogowitsch
The error means that you have no payment gateway or the gateway has no attached
add-payment
form. Go to the /admin/commerce/config/payment-gateways page to fix this. - ๐ซ๐ทFrance kumkum29
Hello,
I re-open this issue, because I get the same problem: access denied for the administartor (account 1) with the right permissions (all options are checked). Have you found a solution for this ?
Thanks.
- ๐ญ๐ฐHong Kong richard cheung
I have the same issue.
The condition check is performed on the order's customer role at /admin/commerce/config/payment-gateways/{payment method}.
Can we have the condition check on the user roles? - ๐ฎ๐ฑIsrael jsacksick
@Richard Cheung: Are you saying your payment gateways have a condition on the order customer role rather than the current customer role?
We now have a condition on the current user role (See #2965067: Add a condition to filter by current user role โ ).