Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27
  1. #21
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Sign In, Confirm Order jumping back to homepage

    ok found unset($_SESSION['payment']); in these files.

    includes\modules\pages\checkout_confirmation\header_php.php (157)


    includes\modules\pages\checkout_process\header_php.php (67)


    includes\modules\payment\paypal.php (351)


    I will do some more research as to the conditions it would unset it but the weird thing is When I did a Back on the browser the Order goes through fine so it's like the $_SESSION['payment'] value reappeared!

  2. #22
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Sign In, Confirm Order jumping back to homepage

    if ($credit_covers) {

    unset($_SESSION['payment']);

    $_SESSION['payment'] = '';

    }


    What is $credit_covers used for?

  3. #23
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: Sign In, Confirm Order jumping back to homepage

    Quote Originally Posted by restless
    What is $credit_covers used for?
    It detects whether a credit note (discount, coupon, gift certificate) "covers" the cost of the item, thus requiring no need for a payment module.



    Can you reproduce this problem on another server?

    It seems to me that your PHP configuration (or version) is causing this problem.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #24
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Sign In, Confirm Order jumping back to homepage

    Probably is PHP config as I've seen Session die on other domains I have on the this shared server.

    Discovered the $_SESSION['payment'] is not empty in

    includes/modules/pages/checkout_confirmation/header_php.php
    (the confirmation page)

    but is empty in

    includes/modules/pages/checkout_process/header_php.php
    (after clicking confirm order)

    this is where it is empty so something between those 2 makes it dissapear but as it seems random I'm miffed as it why it's happening.

  5. #25
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Sign In, Confirm Order jumping back to homepage

    hi,

    i am just facing the same problem as restless yesterday! after clicking the confirm order, it will direct me to the 'shopping cart is empty' page whereby its suppose to go to the checkout success page! odd...
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

  6. #26
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Sign In, Confirm Order jumping back to homepage

    Have you installed any mods? i'd be interested to know

  7. #27
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Sign In, Confirm Order jumping back to homepage

    i am still checking...

    i am testing it in my local testing server! i'd just installed the Newspaper Article and Management when the error occur! there was several mods but not involving any database changes as this newspaper mod, i mean by installing the patches thru admin!

    but the odd thing is when i drop the old databases and restore the original fresh install databases, the problem fix! i dont understand...
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Confirm Order sends to homepage
    By restless in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 19 Jun 2006, 05:53 PM

Bookmarks

Posting Permissions

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