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
Melon Fashion Group
It was unexpected. Entirely by accident, we discovered KATSU stones (and quite a few) in the most beautiful lounge zone of the Saint-Petersburg office
Nature is a unique system in which we can observe many unexplained processes. The architectural concept of MAD ARCHITECTS is inspired by one of them — inosculation.
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.
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.