this.createCryptogram = function () { var result = checkout.createCryptogramPacket(); if (result.success) { // сформирована криптограмма alert(result.packet); } else { // найдены ошибки в введённых данных, объект `result.messages` формата: // { name: "В имени держателя карты слишком много символов", cardNumber: "Неправильный номер карты" } // где `name`, `cardNumber` соответствуют значениям атрибутов `` for (var msgName in result.messages) { alert(result.messages[msgName]); } } }; $(function () { /* Создание checkout */ checkout = new cp.Checkout( // public id из личного кабинета "test_api_pk_763343962bf0edd59a9a9ad01e744", // тег, содержащий поля данных карты document.getElementById("paymentFormSample")); });
KATSU is a brand of soft interior cushions and stones. But, sometimes, under inspiration, we allow ourselves to create useful designer items not only in the form of pillows and poufs. The results are impressive. And we are ready to offer them to you.

other products

Merry Christmas and Happy New Year!
We give you a 10% discount on all products.
Have time to order and receive poufs before the end of this year!

With love, Katsu.

-10% ON EVERYTHING
The discount will be applied in the shopping cart after clicking on the "Checkout" button.