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"));
});
PUBLIC PROJECT
Art Gallery of Western Australia
More than 40 stones in the Art Gallery of Western Australia, Perth. Multigenerational exhibition called Forecast.
We took part in the exhibition in the northern capital in two collaborations at once. Our sewn stones fit perfectly into the concept of a Simple office with air clouds on the ceiling.
KATSU Stones are elegantly used in fitting rooms, providing a stylish and comfortable space for waiting or trying on shoes. It's not just a fitting room; it's a genuine experience.