Admin not showing Customers > Worldpay Payments menu entry, and denying page access.
I have been inching my way uphill with Worldpay integration for the last few days/weeks. Nearly there and this is one of the remaining problems:
In various locations, including here http://www.zen-cart.com/showthread.p...Support-thread, I have read that there should be a new page accessible from the Customers menu, namely Customers > WorldPayments or Customers > Worldpay Payments. I have installed the latest version of the Worldpay addon (v2.09), but the new entry has never appeared in my Customers submenu.
After a hunt through the code, I have established, using print_r(), that the correct details for this page are being added to the $za_contents array in worldpay_response_customers_dhtml.php, but just not being displayed in the submenu.
I tried to view the Worldpay Payments page directly, using the url in the array (http://[myshopdomain]/[admin]/worldpay_response.php), but I was redirected to the following URL:
and presented with error message:
I see the $za_contents array is sent to zen_draw_admin_box() in customers_dhtml.php. In that function, the page link is put through page_allowed(). It seems to me that this function is deciding that I am not allowed to access the page.
Sorry, your security clearance does not allow you to access this resource.
Please contact your site administrator if you believe this to be incorrect.
Sorry for any inconvenience.
I am logged in as the main admin for the site.
Anyone have any idea what is causing this problem and how I can fix it?
By cem1 in forum General Questions
Last Post: 22 Apr 2012, 03:42 PM
By haykgrigory in forum Built-in Shipping and Payment Modules
Last Post: 28 Jul 2010, 04:06 AM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC