Closed vanberge closed 2 years ago
@vanberge
It seems you need to rebuild compressed javascript or disable that. Clearing the cache should help. Let me know if it works.
@phdhiren we did "Flush all caches" from the portal and still saw the same problem persist
@vanberge Can you disable 'Aggregate JavaScript files' from the Performance page, to identify which javascript is causing this error. Also, can you please confirm which page / action leads to 404 javascript error?
@vanberge
Disabling 'Aggregate JavaScript files' from the Performance page will help identify which module is causing the error.
Check the permission Manage own payment methods
for authenticated users, if that doesn't help check the original issue queue of commerce payment module.
(The functionality belongs to another open source plugin i.e. commerce module, you can ask for help at issue queue in payment category on Drupal.org)
@phdhiren we have enabled the manage own payment methods
permission for authenticated users, and the same error persist. I will work with the developers to disable aggregate javascript files. Could you elaborate on how/where to continue troubleshooting after that has been executed?
Also, I will point out that this works as designed when it is an admin user. So, I am not certain that makes the functionality / bug on commerce module still a possibility.
Thanks for your help @phdhiren, Confirmed that the javascript aggregation disable fixed the issue.
Description
When using Apigee Monetization as an administrator, the functionality is as expected. However, when using a "normal" user account, the Monetization addon throws a javascript 404 error.
Steps to Reproduce
Steps to reproduce the behavior:
Actual Behavior
Receive 404 code on javascript as noted in screenshot
Expected Behavior
Would expect all users to be able to execute this workflow, not just administrators
Screenshots
Notes
Tried both incognito and standard browser windows. Reviewed Apigee Monetization Permissions for Authenticated user vs. Administrator, but no clear path to resolution
Version Info
Drupal core 9.3.9 Apigee Monetization v2.0.1