Page 196 of 280 FirstFirst ... 96146186194195196197198206246 ... LastLast
Results 1,951 to 1,960 of 2799
  1. #1951
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    I've got this in the error logs.

    PHP Warning: html_entity_decode(): charset `CHARSET' not supported, assuming utf-8 in /Users/steph/Sites/localhost/balloonmarket/includes/classes/observers/class.checkout_one_observer.php on line 732

    Using PHP 7.4
    Hmm, what file contains that CHARSET definition?

  2. #1952
    Join Date
    Jun 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Love the addon. I cannot get sales tax to work with the TaxCloud observer. I just have 0.00 as Sales Tax Result.. It does work with standard multipage checkout.

    Not getting any error logs because of it.

    Any suggestions as to where to poke around!

    Thanks!

  3. #1953
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Check to see which notifications the TaxCloud observer has attached to. If it's looking for notifications issued on the checkout_shipping or checkout_payment pages, it'll need to also be looking on the checkout_one page. Ditto if it's looking for checkout_confirmation notifications; those should be augmented with the similar ones from the checkout_one_confirmation page.

  4. #1954
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: One-Page Checkout [Support Thread]

    1.5.7c
    opc 2.3.7
    bs4_opc-1.0.0

    It works fine selecting English on site, but when switching to other language (Italian) it outputs the message on line 67 of
    includes/languages/italian/checkout_one.php

    Here the message in English
    define('TEXT_NOSCRIPT_JS_ERROR', 'Sorry, but our expedited checkout process cannot be used. Click <a href="%s">here</a> to use our alternate checkout process.');

  5. #1955
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by keneso View Post
    1.5.7c
    opc 2.3.7
    bs4_opc-1.0.0

    It works fine selecting English on site, but when switching to other language (Italian) it outputs the message on line 67 of
    includes/languages/italian/checkout_one.php

    Here the message in English
    define('TEXT_NOSCRIPT_JS_ERROR', 'Sorry, but our expedited checkout process cannot be used. Click <a href="%s">here</a> to use our alternate checkout process.');
    Use your browser's Developers' Tools' Console tab to view the javascript/jQuery issues that are preventing One-Page Checkout's jQuery from properly running.

  6. #1956
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: One-Page Checkout [Support Thread]

    Thank you

    Uncaught ReferenceError: shippingChoiceAvailable is not defined

  7. #1957
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by keneso View Post
    Thank you

    Uncaught ReferenceError: shippingChoiceAvailable is not defined
    Hmm, that value should be set by /includes/modules/pages/checkout_one/jscript_main.php

  8. #1958
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: One-Page Checkout [Support Thread]

    Indeed what is puzzling is that it works fine in English.
    I think it has to do that there is not a language define for it, but mine is just a guess.

    var shippingChoiceAvailable = <?php echo (is_array($quotes) && count($quotes) > 0) ? 'true' : 'false'; ?>;
    Last edited by keneso; 11 Apr 2021 at 06:46 PM.

  9. #1959
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by keneso View Post
    Indeed what is puzzling is that it works fine in English.
    I think it has to do that there is not a language define for it, but mine is just a guess.

    var shippingChoiceAvailable = <?php echo (is_array($quotes) && count($quotes) > 0) ? 'true' : 'false'; ?>;
    It's the language-specific constant for JS_ERROR_AJAX_TIMEOUT, missing backslashes for the single-quote.

    That definition should look like
    Code:
    define('JS_ERROR_AJAX_TIMEOUT', 'L\\\'aggiornamento delle spese di spedizione del tuo ordine sta prendendo più tempo del normale. Per favore chiudi questo messaggio e riprova.\n\nSe continui a ricevere questo messaggio per favore contattaci.');

  10. #1960
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    It's the language-specific constant for JS_ERROR_AJAX_TIMEOUT, missing backslashes for the single-quote.<br>
    <br>
    That definition should look like<br>
    Code:
    <br>
    define('JS_ERROR_AJAX_TIMEOUT', 'L\\\'aggiornamento delle spese di spedizione del tuo ordine sta prendendo più tempo del normale. Per favore chiudi questo messaggio e riprova.\n\nSe continui a ricevere questo messaggio per favore contattaci.');<br>
    <br>
    There's a similar issue with the definition for ERROR_NO_SHIPPING_SELECTED; that should be<br>
    <div class="bbcode_container">

    <pre class="bbcode_code" style="height:36px;">define('ERROR_NO_SHIPPING_SELECTED', 'Devi selezionare un metodo di spedizione per il tuo ordine prima che l<strong><font color="#FF0000">\\\</font></strong>'ordine possa essere confermato.');</pre>
    </div><br>

 

 

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

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