Page 134 of 139 FirstFirst ... 3484124132133134135136 ... LastLast
Results 1,331 to 1,340 of 1387
  1. #1331
    Join Date
    May 2006
    Location
    Montana
    Posts
    257
    Plugin Contributions
    20

    Default Re: One-Page Checkout [Support Thread]

    Yes, authorize.net shows up fine, I checked that first thing. I have also tried different versions of php and that didn't help either. I wonder if there is a javascript conflict with some of the mods I have installed? Do you think it will help if I try disabling some of the mod js and see if that changes anything?

    Name:  authnet-square-opc.jpg
Views: 37
Size:  26.2 KB

    Quote Originally Posted by lat9 View Post
    Do the input boxes show if you disable OPC and checkout using the "traditional" method?

  2. #1332
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    8,956
    Plugin Contributions
    71

    Default Re: One-Page Checkout [Support Thread]

    I was asking whether Square shows up OK in the 3-page checkout.

    Saying that, have you copied /includes/modules/pages/checkout_payment/jscript_square.php to /includes/modules/pages/checkout_one?

  3. #1333
    Join Date
    May 2006
    Location
    Montana
    Posts
    257
    Plugin Contributions
    20

    Default Re: One-Page Checkout [Support Thread]

    Sorry for the misunderstanding Cindy! BUT... the good news is that copying the jscript_square.php file over did the trick so I am all good!!!

    Thanks so much for your help!!!

    Judy Gunderson

    Quote Originally Posted by lat9 View Post
    I was asking whether Square shows up OK in the 3-page checkout.

    Saying that, have you copied /includes/modules/pages/checkout_payment/jscript_square.php to /includes/modules/pages/checkout_one?

  4. #1334
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    8,956
    Plugin Contributions
    71

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by stellarweb View Post
    Sorry for the misunderstanding Cindy! BUT... the good news is that copying the jscript_square.php file over did the trick so I am all good!!!

    Thanks so much for your help!!!

    Judy Gunderson
    No problems, Judy; I'm happy to have helped. Note that you'll need to do the same copy-over with jscript_payeezy.php if you're planning on using that payment method.

  5. #1335
    Join Date
    Apr 2018
    Posts
    90
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    I installed a one-page payment function and encountered a problem. I used PayPal to pay. After clicking submit, I didn't jump to the PayPal page. Instead, I went back to the default payment step and prompted the red word.

    You have changed the items in your cart since shipping was last calculated, and costs may have changed. Please verify/re-select your shipping method.

    I need to check which file has a problem with the code?
    Urgent,Urgent,Urgent

  6. #1336
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    8,956
    Plugin Contributions
    71

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jiji2018 View Post
    I installed a one-page payment function and encountered a problem. I used PayPal to pay. After clicking submit, I didn't jump to the PayPal page. Instead, I went back to the default payment step and prompted the red word.

    You have changed the items in your cart since shipping was last calculated, and costs may have changed. Please verify/re-select your shipping method.

    I need to check which file has a problem with the code?
    Urgent,Urgent,Urgent
    You haven't given me much information with which to diagnose your issue.

    What version of Zen Cart, version of OPC is being used?

    What template is being used?

    What shipping methods were offered?

    Which type of PayPal (PayPal Payments Standard, PayPal Express Checkout or PayPal Payments Pro)?

    What other plugins are installed on the store?

  7. #1337
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,088
    Plugin Contributions
    10

    Default Re: One-Page Checkout [Support Thread]

    Followup to my previous post here...

    Report All Errors revealed nothing, there was no mention of checkout pages at all. OPC debug logs show nothing relevant, everything looks just the same as all other orders.

    I now think this is related to the modifications I had added to the checkout process. I tried removing it and everything worked fine for a week. Then I restored the modifications and problems are back.
    Several orders have gone through without any Shipping Address.

    Did I make any mistakes with the custom-added session variable? Here's what I've done:
    tpl_modules_opc_payment_choices.php - line 23 (right after <legend>):
    Code:
    $po_val = isset($_SESSION['po_number']) ? $_SESSION['po_number'] : '';
    
    if($check_flag_group) {
    ?>
    <!--bof comments block -->
        <div id="checkoutPurchaseOrder">
          <fieldset class="shipping" id="purchaseOrder"><legend><?php echo MODULE_PAYMENT_PURCHASEORDER_TEXT_PURCHASEORDER_NUMBER; ?></legend><?php echo zen_draw_input_field('po_number', $po_val, 'id="purchaseorders-po-number"' . $onFocus . ' autocomplete="off"'); ?></fieldset>
        </div>
    <!--eof comments block -->
    <?php } ?>
    then, includes/modules/pages/checkout_one_confirmation/header.php - line 167 (right after $comments = $_SESSION['comments'];)
    Code:
    unset($_SESSION['po_number']);
    if(zen_not_null($_POST['po_number'])) {
        $_SESSION['po_number'] = zen_clean_html($_POST['po_number']);
        $po_number = $_SESSION['po_number'];
    }
    and finally includes/classes/observers/class.checkout_one_observer.php on line 573 (right after unset for ceon manual card):
    Code:
    if (isset($session_data['po_number'])) {
                unset($session_data['po_number']);
            }
    What am I missing? If I remove this code, everything works just fine. If this code is there, SOME orders come through without Shipping Address (database fields are left empty).

    Thanks!
    Last edited by balihr; 5 Sep 2019 at 11:35 AM. Reason: skipped one line in copied code
    Zen Cart Point of Sale? Sure: ZX POS
    My site - Pro ZC Help | My portfolio | My plugins

  8. #1338
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    8,956
    Plugin Contributions
    71

    Default Re: One-Page Checkout [Support Thread]

    @balihr, you've done all the right things from an OPC perspective (although I don't believe that you need that alteration to the OPC observer).

    Your template change adds the data-gathering for that PO number and the change you made to the confirmation page's header records that value in the session prior to the session-hash value being created. That's why you don't need that OPC observer change as those 'unsets' deal with order-totals and payment- or shipping-modules that modify their session values during order creation.

    What additional processing is being performed if a PO number is supplied for the order?

  9. #1339
    Join Date
    Apr 2018
    Posts
    90
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    There is a step I think can be optimized, but I don't know how to modify it.

    When the customer is not logged in, click checkout on the shopping cart page, and I want to jump directly to the registration page.
    I am using the 1.55F version of zencart
    One-Page Checkout version 2.1.2
    I don't want customers to choose to log in or register when they check out.
    Because I found that many customers shut down my website on this page.
    They should prefer to see the registration information as they are new customers.

    How can I modify the code to implement this idea?

  10. #1340
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    8,956
    Plugin Contributions
    71

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jiji2018 View Post
    There is a step I think can be optimized, but I don't know how to modify it.

    When the customer is not logged in, click checkout on the shopping cart page, and I want to jump directly to the registration page.
    I am using the 1.55F version of zencart
    One-Page Checkout version 2.1.2
    I don't want customers to choose to log in or register when they check out.
    Because I found that many customers shut down my website on this page.
    They should prefer to see the registration information as they are new customers.

    How can I modify the code to implement this idea?
    It sounds like you should contact a developer ... see the Zen Cart Help Wanted area.

 

 

Similar Threads

  1. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 May 2016, 10:34 PM
  2. 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
  3. 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
  4. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 145
    Last Post: 11 Nov 2015, 07:06 AM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR