- 🇮🇳India pgdev
Hi, all. I'm on drupal 10.1.6, also facing this issue while redirecting to payment gateway(I'm building the module bdw). I did several things which are given in diff drupal threads but none worked for me.
In last 3 days list of things I did :
-> Enabling permission nodes, blocks, content, commerce related permission for anonymous user (including bypass access control permission) in admin/people/permissions.
-> Tried Rebuilding permissions.
-> Updating "entity, inline entity, commerce, profiles, state_machine" modules which were pending for updates.
-> Addingrequirements: _access: 'TRUE'
in my route file.
-> Deleting module.route.yml file from folder.
-> Commenting out "onReturn, onCancel" functions code to check if that were responsible.None of them worked. The "ACCESS DENIED" error is immortal. I can't get rid of this. I'm running out of options how to resolve this.. Please can anybody help me in anyway.