Jump to content
  • 0

Błędy PayU


mantamonster

Question

Witam, 

w konsoli wywali mi błędy payU i nie wiem w którym pliku mam ich szukać. Gorąca prośba o pomoc

Prestashop 1.7

Link: https://www.stonegarden.com.pl/

 

<script type="text/javascript" class="payu-script-tag">
    document.addEventListener("DOMContentLoaded", function (event) {
        $(".products").find(".payu-installment-price-listing").parent().css("margin-top", "-7px");
        $(".products").find(".payu-installment-price-listing").parent().prev().css("margin-top", "7px");
        $(".products").find(".payu-installment-price-listing > span").css("margin-top", "-2px");

        openpayu.options.creditAmount =1990;
        openpayu.options.showLongDescription = true;
        openpayu.options.lang = &#039;pl&#039;;
        OpenPayU.Installments.miniInstallment(&#039;.payu-installment-mini-743394beff4b1282ba735e5e3723ed74&#039;);
    });
    if (typeof openpayu !== &#039;undefined&#039;) {
        openpayu.options.creditAmount =1990;
        openpayu.options.showLongDescription = true;
        openpayu.options.lang = &#039;pl&#039;;
        OpenPayU.Installments.miniInstallment(&#039;.payu-installment-mini-743394beff4b1282ba735e5e3723ed74&#039;);
    }
</script>

 

błąd wywala w linijce, są dwa średniki na końcu i myślę, że to przez nie 

openpayu.options.lang = &#039;pl&#039;;

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...