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!
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.
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.');
Thank you
Uncaught ReferenceError: shippingChoiceAvailable is not defined
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.
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.');
<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>
Bookmarks