This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"shipment_creation_response":{ | |
"transaction":null, | |
"notifications":{ | |
"@xmlns:i":"http://www.w3.org/2001/XMLSchema-instance" | |
}, | |
"has_errors":true, | |
"shipments":{ | |
"processed_shipment":{ | |
"id":null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"https://zanzanshop.ru/products/618117-chipsy-shanhai-food-fresh-potato-21-gr" | |
"https://zanzanshop.ru/products/617982-kruzhka-kr-140-ya-tebya-murmyau" | |
"https://zanzanshop.ru/products/613742-kartochka-wanna-one" | |
"https://zanzanshop.ru/products/618138-zhev-konfety-taiwan-so-vkusom-persika-i-molochnogo-uluna-20-gr" | |
"https://zanzanshop.ru/products/617989-otkrytka-ot-50-lisa-s-lyubovyu" | |
"https://zanzanshop.ru/products/578883-kartochki-dlya-tseley" | |
"https://zanzanshop.ru/products/604724-otkrytka-chudes-v-novom-godu" | |
"https://zanzanshop.ru/products/618119-zhev-konfety-hollygee-so-vkusom-persika-21-gr" | |
"https://zanzanshop.ru/products/618705-myagkaya-igrushka-cute-dino-trinket-15-cm" | |
"https://zanzanshop.ru/products/417192-otkrytka-mam-kupi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html><html><head><meta content='text/html; charset=UTF-8' http-equiv='Content-Type'><script src="https://www.merchant.geidea.net/hpp/geideapay.min.js" rel="preload"></script></head><body><script> | |
try { | |
var onSuccess = function(_message, _statusCode) { | |
document.location.href = "https://demo.constructor.avalab.io/payments/geidea_payment/success"; | |
} | |
var onError = function(errorMessage, errorCode) { | |
alert(errorCode + ': ' + errorMessage) | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"order": { | |
"orderId": "abdacc6c-75e4-499b-a7ff-08d8bb8c4463", | |
"amount": 1500, | |
"currency": "SAR", | |
"detailedStatus": "Paid", | |
"status": "Success", | |
"threeDSecureId": "2eeb024f-30ff-4d9c-0017-08d8bb8c4465", | |
"merchantId": "e80ece7e-fb2a-4c0b-de94-08d8a29a107b", | |
"merchantPublicKey": "1ae97673-bc01-49fa-bfd6-c26abefe0c1d", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var onSuccess = function(_message, _statusCode) { | |
document.location.href = "https://demo.constructor.avalab.io/payments/geidea_payment/success"; | |
} | |
var onError = function(errorMessage, errorCode) { | |
alert(errorCode + ': ' + errorMessage) | |
} | |
var onCancel = function() { | |
document.location.href = "https://demo.constructor.avalab.io/orders/k-2-434"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<!-- Google Tag Manager --> | |
<script async="" src="https://www.googletagmanager.com/gtm.js?id=nil"></script><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |
})(window,document,'script','dataLayer','nil'); | |
</script> | |
<!-- End Google Tag Manager --> | |
<meta content="v2.5.0" name="kiosk_version"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreateDrawers < ActiveRecord::Migration[5.0] | |
def change | |
create_table :ecr_drawers do |t| | |
t.references :ecr_cashier, foreign_key: true, null: false | |
t.references :open_operator, foreign_key: true, null: false | |
t.references :close_operator, foreign_key: true, null: false | |
t.string :description | |
t.string :state, null: false, default: Ecr::Drawer::OPEN_STATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang='ru'> | |
<head> | |
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'> | |
<script id='arsenalpay-widget-script' src='https://arsenalpay.ru/widget/script.js' type='text/javascript'> | |
</script> | |
</head> | |
<body> | |
<div id='app-widget'></div> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) $(window).on(‘m.add-to-cart’, addToCartHandler); // Нажатие кнопки Добавить в корзину | |
2) $(window).on(‘m.initial-checkout’, initialCheckoutHandler); // Страница оформления заказа | |
3) $(window).on(‘m.cart-submit’, cartSubmitHandler); // Нажатие на кнопку ‘Продолжить’ в оформлении заказа | |
4) $(window).on(‘m.checkout’, checkoutHandler); // Нажатие на кнопку ‘Оформить заказ’ в корзине | |
5) $(window).on(‘m.product’, productHandler); // Страница товара | |
6) $(window).on(‘m.add-to-wishlist’, wishlistHandler); // Нажатие на кнопку Добавить в избранное | |
7) $(window).on(‘m.order-submit’, orderSubmitHandler); // Нажатие на кнопку Оформить заказ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Simple | |
extend self | |
def hello | |
puts 'Hello' | |
end | |
end | |
Simple.hello | |
# => Hello |