Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    44
    Plugin Contributions
    0

    Default Re: Whoops! Sorry, but you are not allowed to perform the action requested. You are s

    Hi Im sure this issue has been solved, but for others still with the same problem I can offer some advise that stumped me for a while.

    For me, when my user left the checkout to go t the 3-rd party website to make payment, often upon returning to my site I would get the "whoops" timeout error. now the user had paid successfully but the order was never recorded in ZC and therefore difficult to track the order.

    I tracked it down to work correctly in firefox, but not in IE.

    The issue was having or not having the "www" in the site name, by default any visitor to my site would get the www stripped, no issue with that. But I have set my payment module with the return URl of www.mysite which I believe caused issues because the sessions are tracked by cookies, it appeared the issue was, the cookie was being blocked by being read from the www.mysite since it was originally set without the www.

    obvisouly the cookie security is set per browser, and FF and IE handle this differently.

    If you need to, you can add code into your htaccess file to always add or always remove the www to ensure this issue won't come up.

    Hope this can help someone.

    Flamer.

  2. #2
    Join Date
    Nov 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: Whoops! Sorry, but you are not allowed to perform the action requested. You are s

    Hi, I know this thread is a little dated but I recently installed Stock by Attributes v1.4.14 on a Zencart v1.3.8a and this issue came up. I tried the suggested methods but they didn't work on my project, so I tried my best to find another solution and so far this has worked:

    /** NOTE: MAKE A BACKUP OF THE FILES YOU EDIT! **/

    1. navigate and open file: /includes/classes/shopping_cart.php
    2. backup this file
    3. lookup function restore_contents(), at the end of this method add these:

    PHP Code:
        // this is an experimental fix for stock by attributes issue:
        // (1) time out issue after adding items then logging in
        
    if (is_array($this->contents) && count($this->contents) > 0) {
            
    // assign a temporary unique ID to the order contents to prevent hack attempts during the checkout procedure
            
    $this->cartID $this->generate_cart_id();
        } 
    right before:
    PHP Code:
        $this->notify('NOTIFIER_CART_RESTORE_CONTENTS_END');
        
    $this->cleanup(); 
    I hope this helps somebody.


    Signe

 

 

Similar Threads

  1. Replies: 5
    Last Post: 15 Nov 2013, 12:37 AM
  2. v151 Whoops! Sorry, but you are not allowed to perform the action requested
    By strelitzia in forum General Questions
    Replies: 4
    Last Post: 28 Mar 2013, 11:16 AM
  3. Replies: 2
    Last Post: 1 Mar 2011, 11:15 PM
  4. Whoops! Sorry, but you are not allowed to perform the action requested.
    By bqm1987 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 19 Feb 2008, 04:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg