Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Posts
    823
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I'll come up with a set of instructions that you (and others!) can use to determine what's causing that 'kick-back' from the confirmation page back to the data-collecting one.
    I think that would be an EXCELLENT addition to your already excellent module! Can't wait to see it and try it out.

    Quote Originally Posted by lat9 View Post
    Jeff, after actually reading your post (I was seeing that the Reward Points' contribution to the order was a negative value), I'll need to review whether OPC 'cares' that the order's value is negative.
    Okay, I will wait to hear back from you. I just assumed it was your module spitting it back because it isn't liking "something" from the values being submitted to it. I did confirm that the issue (regardless of which module is causing it) is definitely with the negative value. If I submit the order without a negative value, it goes through the OPC confirmation just fine.

    Granted, the situation I describe isn't very common (but does happen from time to time). Since reward points are always in whole round numbers, they usually will create some kind of negative order_total when applied fully to an order. And normal non-OPC checkout handles it fine........meaning the order gets submitted with a negative number. If I can help test anything out for you, please let me know.
    - Jeff

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Jeff, see your Private Messages.

  3. #3
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    ZC v1.57
    PHP v7.2.10
    OPC v2.3.4
    CEON
    DPU
    SBA
    Quantity Discounts
    CSS_JS Loader
    IH5
    Colorbox
    Structured Data

    Upgraded an existing ZC v1.56c site to ZC v1.57 and I'm have difficulty debugging this issue:

    Checking out as a guest I'm successfully directed to the OPC checkout_one page and all's well. But checking out as a logged in customer I'm taken to Step 1 (checkout_shipping) page - it's as if OPC is not kicking in (unlike in ZC v1.56c w/OPC v2.3.4). There are no errors in the browser console (I'm not loading OPC minified script files) or logs directory.

    Any ideas where I would start looking?
    Simon

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Simon, have you applied all the zc157 bugfixes? Does OPC generate a customer-specific log for the situation?

  5. #5
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Simon, have you applied all the zc157 bugfixes? Does OPC generate a customer-specific log for the situation?
    Yes it just occurred to me to check the ZC v157 bug fixes, I thought I could get away with waiting until ZC v1.57a was released. I'll apply those, try again and then post a customer log if neccessary - thank you. In the meantime the customer log generated in this instance is:

    Code:
    2020-09-28 16:16:24 OnePageCheckout: updateOrderAddresses, on entry:order::__set_state(array(
       'orderId' => NULL,
       'info' => 
      array (
        'order_status' => '1',
        'currency' => 'GBP',
        'currency_value' => '1.000000',
        'payment_method' => '',
        'payment_module_code' => '',
        'coupon_code' => '',
        'shipping_method' => 'Standard Delivery (No Charge)',
        'shipping_module_code' => 'flat_flat',
        'shipping_cost' => 0,
        'subtotal' => 0,
        'shipping_tax' => 0,
        'tax' => 0,
        'total' => 0,
        'tax_groups' => 
        array (
        ),
        'comments' => '',
        'ip_address' => '127.0.0.1 - 127.0.0.1',
      ),
       'totals' => 
      array (
      ),
       'products' => 
      array (
      ),
       'customer' => 
      array (
        'firstname' => 'Simon',
        'lastname' => '[hidden]',
        'company' => NULL,
        'street_address' => '[hidden]',
        'suburb' => '',
        'city' => '[hidden]',
        'postcode' => '[hidden]',
        'state' => '[hidden]',
        'state_code' => NULL,
        'zone_id' => '0',
        'country' => 
        array (
          'id' => '222',
          'title' => 'United Kingdom',
          'iso_code_2' => 'GB',
          'iso_code_3' => 'GBR',
        ),
        'format_id' => 8,
        'telephone' => '[hidden]',
        'email_address' => '[hidden]',
      ),
       'delivery' => 
      array (
        'firstname' => 'Simon',
        'lastname' => '[hidden]',
        'company' => NULL,
        'street_address' => '[hidden]',
        'suburb' => '',
        'city' => '[hidden]',
        'postcode' => '[hidden]',
        'state' => '[hidden]',
        'state_code' => NULL,
        'zone_id' => '0',
        'country' => 
        array (
          'id' => '222',
          'title' => 'United Kingdom',
          'iso_code_2' => 'GB',
          'iso_code_3' => 'GBR',
        ),
        'country_id' => '222',
        'format_id' => 8,
      ),
       'billing' => NULL,
       'content_type' => 'physical',
       'email_low_stock' => NULL,
       'products_ordered_attributes' => NULL,
       'products_ordered' => NULL,
       'products_ordered_email' => NULL,
       'products_ordered_html' => NULL,
       'attachArray' => NULL,
       'email_order_message' => NULL,
       'extra_header_text' => NULL,
       'doStockDecrement' => NULL,
       'send_low_stock_emails' => NULL,
       'queryReturnFlag' => NULL,
       'bestSellersUpdate' => NULL,
       'use_external_tax_handler_only' => NULL,
       'products_ordered_attributes_html' => 
      array (
      ),
       'observerAliases' => 
      array (
        'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
      ),
    ))OnePageCheckout::__set_state(array(
       'isGuestCheckoutEnabled' => true,
       'registeredAccounts' => false,
       'guestIsActive' => false,
       'isEnabled' => true,
       'tempAddressValues' => NULL,
       'guestCustomerInfo' => NULL,
       'guestCustomerId' => 51,
       'tempBilltoAddressBookId' => 68,
       'tempSendtoAddressBookId' => 69,
       'dbStringType' => 'stringIgnoreNull',
       'customerInfoOk' => NULL,
       'billtoTempAddrOk' => NULL,
       'sendtoTempAddrOk' => NULL,
       'isVirtualOrder' => NULL,
       'billtoAddressChangeable' => NULL,
       'sendtoAddressChangeable' => NULL,
       'observerAliases' => 
      array (
        'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
      ),
    ))
    2020-09-28 16:16:24 OnePageCheckout: Current sendto: 107
    2020-09-28 16:16:24 OnePageCheckout: updateOrderAddresses, , , 222, 0
    {"firstname":"Simon","lastname":"[hidden]","company":null,"street_address":"[hidden]","suburb":"","city":"[hidden]","postcode":"[hidden]","state":"[hidden]","state_code":null,"zone_id":"0","country":{"id":"222","title":"United Kingdom","iso_code_2":"GB","iso_code_3":"GBR"},"format_id":8,"telephone":"[hidden]","email_address":"[hidden]"}
    null
    {"firstname":"Simon","lastname":"[hidden]","company":null,"street_address":"[hidden]","suburb":"","city":"[hidden]","postcode":"[hidden]","state":"[hidden]","state_code":null,"zone_id":"0","country":{"id":"222","title":"United Kingdom","iso_code_2":"GB","iso_code_3":"GBR"},"country_id":"222","format_id":8}
    Simon

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    The bug-fix that most likely is "getting you" is in post#8 of that bugfix thread (https://www.zen-cart.com/showthread....v1-5-7-series).

  7. #7
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    This was the bugfix that needed to be applied - Re: 157: plugins watching shared notifiers may not all trigger properly , I should have paid more attention to that thread.
    Last edited by simon1066; 28 Sep 2020 at 05:18 PM. Reason: 'SNAP'
    Simon

  8. #8
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hello,
    I am finally finding time to work further on trying to add support for Japanese (some issues with zones, as well as adding language and hiragana fields) to OPC.
    I have had to disable OPC because while it worked beautifully for guest checkout and registrations, it gave an error when trying to add addresses, since my shop's user creation and address book registration/changing code has been modified to support the needs of users here in Japan (selecting a language for the address, so that users can register an address in either English or Japanese, and then fields for hiragana name/surname as appropriate, plus multilanguage zone and country support).

    I am working now using the code of OPC 2.3.4.

    I suspect most of my work will be limited to editing files in includes/modules/pages/checkout_one/, with no changes needed in modules/pages/create_account/ unless I want to change the default population of an account.

    I understand I will need to change the function "saveAddressValues" in the file jquery.checkout_one.js. This seems fairly simple.

    However, in the file jquery.checkout_one_addr.js there is mention of an array "z2c" in function "updateCountryZone", but I cannot find this anywhere.
    Apparently it is supposed to be supplied by jscript_main.php, but there is no mention of it there. I definitely need to edit the creation of this array. Can anyone point out where I may find it?
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

 

 

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