Jump to content

OC - Ошибка оформления заказа (Checkout error)

Recommended Posts

Приветствую всех.

Есть проблема с оформлением заказа.

Заполняю поля до 3-его шага, принимаю условия соглашения (ставлю галку) и нажимаю на кнопку "Продолжить".
Получаю сообщение:

Скриншот в приложении (или по ссылке http://ibb.co/G7PZrnG )


Никаких ошибок в журнале веб-сервера не нашел. Все запросы проходят со статусом 200 (проверял и через журнал, и через отладчик браузера).

В чем может быть проблема?



Сообщение об ошибке выдается кодом из файла:


А именно:

$(document).delegate('#button-payment-method', 'click', function() {
        url: 'index.php?route=checkout/payment_method/save',
        type: 'post',
        data: $('#collapse-payment-method input[type=\'radio\']:checked, #collapse-payment-method input[type=\'checkbox\']:checked, #collapse-payment-method textarea'),
        dataType: 'json',
        beforeSend: function() {
        success: function(json) {
            $('.alert, .text-danger').remove();

            if (json['redirect']) {
                location = json['redirect'];
            } else if (json['error']) {

                if (json['error']['warning']) {
                    $('#collapse-payment-method .panel-body').prepend('<div class="alert alert-danger">' + json['error']['warning'] + '<button type="button" class="close" data-dismiss="alert">&times;</button></div>');
            } else {
                    url: 'index.php?route=checkout/confirm',
                    dataType: 'html',
                    complete: function() {
                    success: function(html) {
                        $('#collapse-checkout-confirm .panel-body').html(html);

                                                $('#collapse-checkout-confirm').parent().find('.panel-heading .panel-title').html('<a href="#collapse-checkout-confirm" data-toggle="collapse" data-parent="#accordion" class="accordion-toggle"><?php echo $text_checkout_confirm; ?> <i class="fa fa-caret-down"></i></a>');

                    error: function(xhr, ajaxOptions, thrownError) {
                        alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); // <===== ERROR
        error: function(xhr, ajaxOptions, thrownError) {
            alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);


Hello all.
I have a problem with order checkout.
I am filling fields up to 3rd step, accepting agreements and clicking "Continue" button. Then I get alert:
G7PZrnG: http://ibb.co/G7PZrnG
There is no any error in web-server logs. All requests are OK (status 200).
What is wrong?

Screenshot at 2020-05-28 12-14-11.png

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.