Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    That would help, wouldn't it. The your details have changed error.
    The issue is with the ot_insurance "addition" to the order. On entry to the OPC confirmation page, the order's total is $160.08 and after running the "final" order-totals, the ot_insurance is adding an 'insurance' flag to the session ($_SESSION['insurance']) and updating the order's total to $162.08.

    The "loop" is causes since the session-based information about the total has changed ... don't want to surprise the customer with that extra $2.00 when they get to the checkout_success page!

    Where did/does that order-total come from?

  2. #2
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

    Default Re: One-Page Checkout [Support Thread]

    Thanks I see that now; quick question it says to add this code in ot_reward_points.php after function collect_posts

    PHP Code:

    PHP Code:
    if (isset($_SESSION['redeem_flag']) && $_SESSION['redeem_flag'])
                
    $_POST['redeem_flag'] = $_SESSION['redeem_flag']; 
    Here is the code in that function. Do I need to replace this code with one above? instead of request it's supposed to be session?

    PHP Code:
    PHP Code:
    function collect_posts() 
        {
            if(
    $_REQUEST['redeem_checkout_flag'])
             if((isset(
    $_REQUEST['redeem_flag']) && $_REQUEST['redeem_flag']) || (isset($_REQUEST['redeem_points']) && $_REQUEST['redeem_points']>0))
             {
                
    $_SESSION['redeem_points']=$this->get_points_redeeming();
                
    $_SESSION['redeem_value']=$_SESSION['redeem_points']*GetRedeemRatio($_SESSION['customer_id']);
             }
             else
              
    $this->clear_posts();
        } 

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @tmccaff, since I don't use reward_points you'll need to wait for validation from another Zenner that's successfully integrated reward_points with OPC.

  4. #4
    Join Date
    Jan 2018
    Posts
    165
    Plugin Contributions
    4

    Default Re: One-Page Checkout [Support Thread]

    Ok thanks. Quick question with checkout without account will work with onepage or no?

  5. #5
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    The issue is with the ot_insurance "addition" to the order. On entry to the OPC confirmation page, the order's total is $160.08 and after running the "final" order-totals, the ot_insurance is adding an 'insurance' flag to the session ($_SESSION['insurance']) and updating the order's total to $162.08.

    The "loop" is causes since the session-based information about the total has changed ... don't want to surprise the customer with that extra $2.00 when they get to the checkout_success page!

    Where did/does that order-total come from?
    Adding insurance is a check box on the page, so checking the box would add the $2, which is displayed, to the total.

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 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