Skip to content

Не работает настройка Назвать кнопку оплаты «Заплатить через Яндекс» #43

@igor-tv

Description

@igor-tv

После включения опции Назвать кнопку оплаты «Заплатить через Яндекс» на этапе перехода к оформлению заказа сайт ломается, в браузере выводится пустое окно. После отключения этой настройки — все работает как надо.

От сайта загружается только такой обрывок:

<html><head><style type="text/css">

    .yamoney-pay-button {
        font-family: YandexSansTextApp-Regular, Arial, Helvetica, sans-serif;
        text-align: center;
        height: 60px;
        width: 155px;
        border-radius: 4px;
        transition: 0.1s ease-out 0s;
        color: #000;
        box-sizing: border-box;
        outline: 0;
        border: 0;
        background: #FFDB4D;
        cursor: pointer;
        font-size: 12px;
    }

    .yamoney-pay-button:hover, .yamoney-pay-button:active {
        background: #f2c200;
    }

    .yamoney-pay-button span {
        display: block;
        font-size: 20px;
        line-height: 20px;
    }

    .yamoney-pay-button_type_fly {
        box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.12), 0 5px 10px -3px rgba(0, 0, 0, 0.3);
    }
</style>

</head><body cz-shortcut-listen="true"><div class="row">
    <div class="col-xs-6">
                    </div></div></body></html>

Log:
2020-02-18 08:10:03 info [89.110.26.41] Send request: GET /payments/00000000-0000-0000-0000-000000000000 with headers: ["Content-Type:application\/json","Accept:application\/json","YM-User-Agent:Ubuntu\/18.04 PHP\/7.2.22 PrestaShop\/1.7.6.1 yandex-money-ycms-v2-prestashop\/1.1.11 YandexCheckout.PHP\/1.5.5","Authorization:Basic NjYzMjAzOnRlc3RfU0hkaGpLMTMyM2J6NmhIU2EtTVBLY3I2UEJiYUc3dndBaFhtelBMWFM4cw=="] 2020-02-18 08:10:03 info [89.110.26.41] Response with code 404 received with headers: {"0":"HTTP\/1.1 404","Keep-Alive":"timeout=10000, max=100","Signature":"v1 25dd856b 1 MGQCMDYnO0i4AyUBQwaBfdlXhHbhSD7Skk76pR315wdE4wHN0DIAOQgW+9TuBOGGqlBYiwIwX2n0FJEgH9\/aJPcdFb3Ofv1CRKU6F3nFkpadpE+KJ4zyj6321bUZFrXtTzWSa1R2","Content-Type":"application\/json;charset=UTF-8","Content-Length":"254","Date":"Tue, 18 Feb 2020 05:10:03 GMT"} and body: { "type" : "error", "id" : "cdb22757-44fd-4c7d-9a6e-da0f58b72afa", "code" : "not_found", "description" : "Incorrect payment_id. Payment doesn't exist or access denied. Specify the payment ID created in your store.", "parameter" : "payment_id" } 2020-02-18 08:14:12 debug [89.110.26.41] Show EPL page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions