Page 214 of 257 FirstFirst ... 114164204212213214215216224 ... LastLast
Results 2,131 to 2,140 of 2568
  1. #2131
    Join Date
    Sep 2013
    Location
    Devon, UK
    Posts
    56
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Sorry, after months of not having time to look into this, yet wishing I had OPC, I've finally got round to looking into it again.

    Quote Originally Posted by BillJ
    I've come up against another issue with OPC. Whenever I try to confirm an order, I end up back on the checkout page with the message:
    "Your order's details have changed. Please review the current values and re-submit."
    This is Zen Cart 1.57c with OPC 2.3.9 and using the Responsive Classic template.

    Running the opc_debug_redirection_error tool over the log highlights a single, very significant difference:
    HTML Code:
    2021-12-22 00:07:00: Found a redirection back to <code>checkout_one</code>, difference follows.<br><br>  'securityToken' => '00c23d84c0826846b46f1c1500e43b00',
      'customers_host_address' => 'xxxxx',
      'opc' => 
      OnePageCheckout::__set_state(array(
         'isGuestCheckoutEnabled' => true,
         'registeredAccounts' => false,
         'guestIsActive' => true,
         'isEnabled' => true,
         'tempAddressValues' => 
        array (
          'ship' => 
          array (
            'which' => 'bill',
            'company' => 'Saabits Ltd',
            'firstname' => 'Bill',
            'lastname' => 'Jones',
            'street_address' => 'Unit 9, Dainton Manor Estate',
            'suburb' => 'Dainton',
            'city' => 'Newton Abbot',
            'state' => 'Devon',
            'zone_id' => '',
            'postcode' => 'TQ12 5TZ',
            'zone_country_id' => '222',
            'gender' => false,
            'country' => '222',
            'zone_name' => '',
            'error_state_input' => false,
            'country_has_zones' => false,
            'show_pulldown_states' => true,
            'error' => false,
            'validated' => true,
            'selected_country' => '222',
            'state_field_label' => '',
          ),
          'bill' => 
          array (
            'which' => 'bill',
            'company' => 'Saabits Ltd',
            'firstname' => 'Bill',
            'lastname' => 'Jones',
            'street_address' => 'Unit 9, Dainton Manor Estate',
            'suburb' => 'Dainton',
            'city' => 'Newton Abbot',
            'state' => 'Devon',
            'zone_id' => '',
            'postcode' => 'TQ12 5TZ',
            'zone_country_id' => '222',
            'gender' => false,
            'country' => '222',
            'zone_name' => '',
            'error_state_input' => false,
            'country_has_zones' => false,
            'show_pulldown_states' => true,
            'error' => false,
            'validated' => true,
            'selected_country' => '222',
            'state_field_label' => '',
          ),
        ),
         'guestCustomerInfo' => 
        array (
          'firstname' => 'Bill',
          'lastname' => 'Jones',
          'email_address' => '[email protected]',
          'telephone' => '01392 581185',
          'dob' => '',
        ),
         'guestCustomerId' => 9403,
         'tempBilltoAddressBookId' => 11434,
         'tempSendtoAddressBookId' => 11435,
         'dbStringType' => 'stringIgnoreNull',
         'paypalAddressOverride' => NULL,
         'paypalTotalValue' => NULL,
         'paypalTotalValueChanged' => NULL,
         'paypalNoShipping' => NULL,
         'customerInfoOk' => true,
         'billtoTempAddrOk' => true,
         'sendtoTempAddrOk' => true,
         'isVirtualOrder' => false,
         'billtoAddressChangeable' => true,
         'sendtoAddressChangeable' => true,
         'observerAliases' => 
        array (
          'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
        ),
         'label_params' => ' class="inputLabel"',
      )),
      'cartID' => '62612',
      'cart' => 
      shoppingCart::__set_state(array(
         'contents' => 
        array (
          377 => 
          array (
            'qty' => 1.0,
          ),
        ),
         'total' => 78.43000000000000682121026329696178436279296875,
         'weight' => 2.5,
         'cartID' => '62612',
         'content_type' => 'physical',
         'free_shipping_item' => 0,
         'free_shipping_weight' => 0,
         'free_shipping_price' => 0.0,
         'download_count' => 0,
         'total_before_discounts' => 65.3599999999999994315658113919198513031005859375,
         'display_debug_messages' => false,
         'flag_duplicate_msgs_set' => false,
         'flag_duplicate_quantity_msgs_set' => 
        array (
        ),
         'observerAliases' => 
        array (
          'NOTIFIY_ORDER_CART_SUBTOTAL_CALCULATE' => 'NOTIFY_ORDER_CART_SUBTOTAL_CALCULATE',
        ),
      )),
      'language' => 'english',
      'languages_id' => '1',
      'languages_code' => 'en',
      'check_valid_prod' => true,
      'layoutType' => 'legacy',
      'currency' => 'GBP',
      'today_is' => '2021-12-22',
      'updateExpirations' => true,
      'antispam_fieldname' => 'AhD5oDXadE',
      'tass' => 
      taxamo_assure::__set_state(array(
         'token' => 'seller_token_uvHTz3pPyqBsdv38I4lNiZUfKHudCCoaD4YU3d95b6U',
         'url' => 'https://seller-transaction-api.marketplace.taxamo.com',
         'transaction' => NULL,
         'transaction_key' => NULL,
         'stored' => false,
         'ioss' => NULL,
         'enabled' => false,
         'error' => NULL,
         'tass_debug' => false,
      )),
      'session_counter' => true,
      'customers_ip_address' => 'xx.xx.xx.xx',
      'inc_ex_tax' => true,
      'new_products_id_in_cart' => '377',
      'valid_to_checkout' => true,
      'cart_errors' => '',
      'cart_country_id' => '222',
      'country_info' => 
      array (
        'countries_name' => 'United Kingdom',
        'countries_iso_code_2' => 'GB',
        'countries_iso_code_3' => 'GBR',
      ),
      'shipping_weight' => 2.5099999999999997868371792719699442386627197265625,
      'is_guest_checkout' => true,
      'customer_id' => 9403,
      'customer_default_address_id' => 11434,
      'customer_country_id' => '222',
      'customer_zone_id' => '',
      'customers_authorization' => '0',
      'billto' => 11434,
      'sendto' => 11434,
      'customer_first_name' => 'xxxxx',
      'customer_last_name' => 'xxxxx',
      'shipping' => 
      array (
        'id' => 'rmbusinessuk_rm48',
        'title' => 'Royal Mail (2nd Class Tracked (Delivered normally within 2-5 working days of despatch))',
        'cost' => 4.9199999999999999289457264239899814128875732421875,
      ),
      'shipping_tax_amount' => 0.9839999999999997637445403597666881978511810302734375,
      'shipping_tax_description' => 'VAT 20%',
      'order_current_total' => <del>'0',
    )
    </del> <ins>'84.34',
    )
    </ins> <hr><br><br>Report completed.
    At some point, order_current_total is seen as 0, which clearly isn't the correct value. I'm not sure where to start looking, to be honest.

    Everything else appears fine while going through checkout and it all adds up correctly. If I comment out the check on line 277 of includes/modules/pages/checkout_one_confirmation/header_php.php, then the sale completes successfully and the correct amount is charged.
    Last edited by BillJ; 22 Dec 2021 at 09:16 AM.

  2. #2132
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,393
    Plugin Contributions
    80

    Default Re: One-Page Checkout [Support Thread]

    @BillJ, that would imply that OPC can't "find" the order-total value for validation. What template is in use and what's the configured value for the OPC's Order Total, jQuery Selector?

  3. #2133
    Join Date
    Sep 2013
    Location
    Devon, UK
    Posts
    56
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    @BillJ, that would imply that OPC can't "find" the order-total value for validation. What template is in use and what's the configured value for the OPC's Order Total, jQuery Selector?
    Thanks. The template is a clone of Responsive Classic with only stylesheet changes and necessary changes for various plug-ins.
    The Order Total, jQuery Selector value is:
    #ottotal > div:first-child

  4. #2134
    Join Date
    Sep 2013
    Location
    Devon, UK
    Posts
    56
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    This is where #ottotal appears in the HTML source:

    HTML Code:
    <div id="otshipping">
        <div class="vatBox larger forward"></div>
        <div class="totalBox larger forward">&pound;4.92</div>
        <div class="lineTitle larger forward">Royal Mail (2nd Class Tracked (Delivered normally within 2-5 working days of despatch)):</div>
    </div>
    <br class="clearBoth" />
    <div id="ottax">
        <div class="vatBox larger forward"></div>
        <div class="totalBox larger forward">&pound;10.98</div>
        <div class="lineTitle larger forward">VAT 20%:</div>
    </div>
    <br class="clearBoth" />
    <div id="ottotal">
        <div class="vatBox larger forward"></div>
        <div class="totalBox larger forward">&pound;65.89</div>
        <div class="lineTitle larger forward">Total:</div>
    </div>

  5. #2135
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,393
    Plugin Contributions
    80

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by BillJ View Post
    This is where #ottotal appears in the HTML source:

    HTML Code:
    <div id="otshipping">
        <div class="vatBox larger forward"></div>
        <div class="totalBox larger forward">&pound;4.92</div>
        <div class="lineTitle larger forward">Royal Mail (2nd Class Tracked (Delivered normally within 2-5 working days of despatch)):</div>
    </div>
    <br class="clearBoth" />
    <div id="ottax">
        <div class="vatBox larger forward"></div>
        <div class="totalBox larger forward">&pound;10.98</div>
        <div class="lineTitle larger forward">VAT 20%:</div>
    </div>
    <br class="clearBoth" />
    <div id="ottotal">
        <div class="vatBox larger forward"></div>
        <div class="totalBox larger forward">&pound;65.89</div>
        <div class="lineTitle larger forward">Total:</div>
    </div>
    That would be the issue, since the vatBox div is the first-child. Try changing that configuration setting to #ottotal .totalBox.

  6. #2136
    Join Date
    Sep 2013
    Location
    Devon, UK
    Posts
    56
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    That would be the issue, since the vatBox div is the first-child. Try changing that configuration setting to #ottotal .totalBox.
    Thank you so much :)
    Setting Order Total, jQuery Selector to #ottotal .totalBox has fixed the problem.

  7. #2137
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,684
    Plugin Contributions
    9

    Default Re: One-Page Checkout [Support Thread]

    may have been in error
    Last edited by dbltoe; 2 Feb 2022 at 06:07 PM.

  8. #2138
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,393
    Plugin Contributions
    80

    Default Re: One-Page Checkout [Support Thread]

    I've just submitted v2.3.10 of One-Page Checkout (OPC) for the Zen Cart moderators' review and will post back here when it's available for download.

    This release contains changes associated with the following GitHub issues:

    #298: Removing duplicate definition from ot_coupon language override.
    #302: Correct "Add to Address Book" label, incorrect for=.
    #303: Include zc157-added definitions to ot_coupon language override.
    #306: Load OPC observer earlier, so it responses to all calls to zen_in_guest_checkout.

    Note: This will be the last release supporting Zen Cart versions prior to zc157 (fully patched).

  9. #2139
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,393
    Plugin Contributions
    80

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I've just submitted v2.3.10 of One-Page Checkout (OPC) for the Zen Cart moderators' review and will post back here when it's available for download.

    This release contains changes associated with the following GitHub issues:

    #298: Removing duplicate definition from ot_coupon language override.
    #302: Correct "Add to Address Book" label, incorrect for=.
    #303: Include zc157-added definitions to ot_coupon language override.
    #306: Load OPC observer earlier, so it responses to all calls to zen_in_guest_checkout.

    Note: This will be the last release supporting Zen Cart versions prior to zc157 (fully patched).
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

  10. #2140
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,393
    Plugin Contributions
    80

    Default Re: One-Page Checkout [Support Thread]

    I've just submitted v2.3.11 of One-Page Checkout for the Zen Cart moderators' review. This version corrects a PHP Fatal error introduced in v2.3.10 ... as identified in GitHub issue #308.

    I'll post back here when it's available for download.

 

 

Similar Threads

  1. 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
  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