checkout_ru 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,10 +5,9 @@ http_interactions:
5
5
  uri: http://platform.checkout.ru/service/order/create
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"apiKey":"valid-api-key","order":{"goods":[{"name":"blue
9
- tshirt","code":"blt","variantCode":"blue","quantity":2,"assessedCost":1000,"payCost":750,"weight":0.5}],"delivery":{"deliveryId":2,"placeFiasId":"0c5b2444-70a0-4932-980c-b4dc0d3f02b5","addressPvz":"Энтузиастов
10
- ш., д. 54","type":"postamat","cost":224.41,"minTerm":2,"maxTerm":11},"user":{"fullname":"Вася
11
- Пупкин","email":"vasyapupkin@example.com","phone":"555"},"comment":"test order","shopOrderId":"777","paymentMethod":"cash"}}'
8
+ string: '{"order":{"goods":[{"name":"blue tshirt","code":"blt","variantCode":"blue","quantity":2,"assessedCost":1000,"payCost":750,"weight":0.5}],"delivery":{"deliveryId":2,"placeFiasId":"0c5b2444-70a0-4932-980c-b4dc0d3f02b5","addressPvz":"1-я
9
+ Квесисская улица, 18","type":"postamat","cost":230,"minTerm":1,"maxTerm":2},"user":{"fullname":"Вася
10
+ Пупкин","email":"vasyapupkin@example.com","phone":"555"},"comment":"test order","shopOrderId":"10","paymentMethod":"cash"},"apiKey":"valid-api-key"}'
12
11
  headers:
13
12
  User-Agent:
14
13
  - Faraday v0.8.9
@@ -19,21 +18,21 @@ http_interactions:
19
18
  response:
20
19
  status:
21
20
  code: 200
22
- message:
21
+ message:
23
22
  headers:
24
- date:
25
- - Sat, 01 Feb 2014 18:57:35 GMT
26
23
  server:
27
- - Apache/2.2.22 (Ubuntu)
28
- connection:
29
- - close
30
- transfer-encoding:
31
- - chunked
24
+ - nginx/1.7.5
25
+ date:
26
+ - Tue, 07 Oct 2014 00:39:27 GMT
32
27
  content-type:
33
28
  - application/json;charset=UTF-8
29
+ transfer-encoding:
30
+ - chunked
31
+ connection:
32
+ - close
34
33
  body:
35
34
  encoding: UTF-8
36
- string: '{"order":{"id":75},"delivery":{"id":2,"serviceName":"PickPoint"}}'
37
- http_version:
38
- recorded_at: Sat, 01 Feb 2014 18:58:49 GMT
35
+ string: '{"order":{"id":32853},"delivery":{"id":2,"serviceName":"PickPoint","cost":"230.0"}}'
36
+ http_version:
37
+ recorded_at: Tue, 07 Oct 2014 00:38:08 GMT
39
38
  recorded_with: VCR 2.8.0
@@ -2,36 +2,351 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://platform.checkout.ru/service/checkout/getPlaceByPostalCode?postIndex=111524&ticket=valid-ticket
5
+ uri: http://platform.checkout.ru/service/checkout/getPlaceByPostalCode?postIndex=111524&ticket=tests-will-autorequest-a-valid-ticket
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.8
11
+ - Faraday v0.8.9
12
12
  Accept:
13
13
  - application/json
14
14
  response:
15
15
  status:
16
- code: 200
17
- message:
16
+ code: 500
17
+ message:
18
18
  headers:
19
- date:
20
- - Wed, 29 Jan 2014 22:29:52 GMT
21
19
  server:
22
- - Apache/2.2.22 (Ubuntu)
20
+ - nginx/1.7.5
21
+ date:
22
+ - Mon, 06 Oct 2014 23:07:35 GMT
23
+ content-type:
24
+ - text/html
25
+ content-length:
26
+ - '26172'
23
27
  connection:
24
28
  - close
29
+ etag:
30
+ - '"53f49af2-663c"'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "<html lang=\"ru-RU\"><head>\r\n<meta charset=\"UTF-8\">\r\n<title>Страница
34
+ не найдена | Checkout</title>\r\n\t\r\n\r\n<link rel=\"profile\" href=\"//gmpg.org/xfn/11\">\r\n\r\n\r\n<link
35
+ rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"//www.checkout.ru/wp-content/themes/checkout/login.css?ver=201310312-1\">\r\n<script
36
+ type=\"text/javascript\" async=\"\" src=\"//mc.yandex.ru/metrika/watch.js\"></script><script
37
+ type=\"text/javascript\" async=\"\" src=\"//www.google-analytics.com/ga.js\"></script><script
38
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/themes/checkout/login.js?v=1.8.5\"></script>\r\n\r\n<link
39
+ rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"//www.checkout.ru/wp-content/themes/checkout/style.css?ver=20131203-1\">\r\n<link
40
+ rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"//www.checkout.ru/wp-content/themes/checkout/fonts/fonts.css?ver=20131127-1\">\r\n<link
41
+ rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"//www.checkout.ru/wp-content/themes/checkout/style_theme.css?ver=20140326-1\">\r\n<link
42
+ rel=\"shortcut icon\" href=\"//www.checkout.ru/wp-content/themes/checkout/favicon.ico\"
43
+ type=\"image/x-icon\"> \r\n<link rel=\"pingback\" href=\"//www.checkout.ru/xmlrpc.php\">\r\n\r\n\t<!--
44
+ SLIDER -->\r\n\t<link rel=\"stylesheet\" href=\"//www.checkout.ru/wp-content/themes/checkout/scripts/nivo-slider.css?ver=20131127\"
45
+ type=\"text/css\" media=\"screen\">\r\n\t<!-- /SLIDER -->\r\n\r\n<link rel=\"alternate\"
46
+ type=\"application/rss+xml\" title=\"Checkout » Лента\" href=\"//www.checkout.ru/feed/\">\r\n<link
47
+ rel=\"alternate\" type=\"application/rss+xml\" title=\"Checkout » Лента комментариев\"
48
+ href=\"//www.checkout.ru/comments/feed/\">\r\n<link rel=\"stylesheet\" id=\"contact-form-7-css\"
49
+ href=\"//www.checkout.ru/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=3.5.4\"
50
+ type=\"text/css\" media=\"all\">\r\n<link rel=\"stylesheet\" id=\"esl-slideshow-css\"
51
+ href=\"//www.checkout.ru/wp-content/plugins/easing-slider/css/slideshow.min.css?ver=2.1.2\"
52
+ type=\"text/css\" media=\"all\">\r\n<link rel=\"stylesheet\" id=\"email-subscription_css-css\"
53
+ href=\"//www.checkout.ru/wp-content/plugins/email-subscription/assets/email-subscription.css?ver=0.50\"
54
+ type=\"text/css\" media=\"all\">\r\n<link rel=\"stylesheet\" id=\"fancybox-css\"
55
+ href=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.5.pack.css?ver=1.5.5\"
56
+ type=\"text/css\" media=\"screen\">\r\n<link rel=\"stylesheet\" id=\"adv-spoiler-css\"
57
+ href=\"//www.checkout.ru/wp-content/plugins/advanced-spoiler/css/advanced-spoiler.css?ver=2.02\"
58
+ type=\"text/css\" media=\"all\">\r\n<script type=\"text/javascript\" src=\"//www.checkout.ru/wp-includes/js/jquery/jquery.js?ver=1.10.2\"></script>\r\n<script
59
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1\"></script>\r\n<script
60
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/easing-slider/js/slideshow.min.js?ver=2.1.2\"></script>\r\n<script
61
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/advanced-spoiler/js/jquery-spoiler.js?ver=2.02\"></script>\r\n<link
62
+ rel=\"EditURI\" type=\"application/rsd+xml\" title=\"RSD\" href=\"//www.checkout.ru/xmlrpc.php?rsd\">\r\n<link
63
+ rel=\"wlwmanifest\" type=\"application/wlwmanifest+xml\" href=\"//www.checkout.ru/wp-includes/wlwmanifest.xml\">
64
+ \r\n<meta name=\"generator\" content=\"WordPress 3.7.1\">\r\n <style type=\"text/css\">
65
+ .easingsliderlite { } .easingsliderlite .easingsliderlite-arrows.easingsliderlite-next,
66
+ .easingsliderlite .easingsliderlite-arrows.easingsliderlite-prev { } .easingsliderlite
67
+ .easingsliderlite-arrows.easingsliderlite-next { background-image: url(//www.checkout.ru/wp-content/plugins/easing-slider/images/slideshow_arrow_next.png);
68
+ } .easingsliderlite .easingsliderlite-arrows.easingsliderlite-prev { background-image:
69
+ url(//www.checkout.ru/wp-content/plugins/easing-slider/images/slideshow_arrow_prev.png);
70
+ } .easingsliderlite .easingsliderlite-pagination .easingsliderlite-icon {
71
+ } .easingsliderlite .easingsliderlite-pagination .easingsliderlite-icon.inactive
72
+ { background-image: url(//www.checkout.ru/wp-content/plugins/easing-slider/images/slideshow_icon_inactive.png);
73
+ } .easingsliderlite .easingsliderlite-pagination .easingsliderlite-icon.active
74
+ { background-image: url(//www.checkout.ru/wp-content/plugins/easing-slider/images/slideshow_icon_active.png);
75
+ } </style> \r\n\t<!-- Easy FancyBox 1.5.5 using FancyBox 1.3.5 - RavanH (//status301.net/wordpress-plugins/easy-fancybox/)
76
+ -->\r\n<!--[if lt IE 8]> \r\n<style type=\"text/css\">\r\n/* IE6
77
+ */\r\n.fancybox-ie6 #fancybox-close{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_close.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
78
+ #fancybox-left-ico{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_nav_left.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
79
+ #fancybox-right-ico{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_nav_right.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
80
+ #fancybox-title-over{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_title_over.png\",sizingMethod=\"scale\");zoom:1}\r\n.fancybox-ie6
81
+ #fancybox-title-float-left{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_title_left.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
82
+ #fancybox-title-float-main{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_title_main.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
83
+ #fancybox-title-float-right{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_title_right.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
84
+ #fancybox-bg-w,.fancybox-ie6 #fancybox-bg-e,.fancybox-ie6 #fancybox-left,.fancybox-ie6
85
+ #fancybox-right,#fancybox-hide-sel-frame{height:expression(this.parentNode.clientHeight+\"px\")}\r\n#fancybox-loading.fancybox-ie6{position:absolute;margin-top:0;top:expression((-20+(document.documentElement.clientHeight
86
+ ? document.documentElement.clientHeight/2 : document.body.clientHeight/2)+(ignoreMe=document.documentElement.scrollTop
87
+ ? document.documentElement.scrollTop : document.body.scrollTop))+\"px\")}\r\n#fancybox-loading.fancybox-ie6
88
+ div{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_loading.png\",
89
+ sizingMethod=\"scale\")}\r\n/* IE6, IE7 */\r\n.fancybox-ie .fancybox-bg{background:transparent
90
+ !important}\r\n.fancybox-ie #fancybox-bg-n{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_n.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
91
+ #fancybox-bg-ne{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_ne.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
92
+ #fancybox-bg-e{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_e.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
93
+ #fancybox-bg-se{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_se.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
94
+ #fancybox-bg-s{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_s.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
95
+ #fancybox-bg-sw{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_sw.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
96
+ #fancybox-bg-w{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_w.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
97
+ #fancybox-bg-nw{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_nw.png\",sizingMethod=\"scale\")}\r\n</style>\r\n<![endif]-->\r\n<!--[if
98
+ IE 8]> \r\n<style type=\"text/css\">\r\n.fancybox-ie .fancybox-bg{background:transparent
99
+ !important}\r\n.fancybox-ie #fancybox-bg-n{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_n.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
100
+ #fancybox-bg-ne{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_ne.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
101
+ #fancybox-bg-e{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_e.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
102
+ #fancybox-bg-se{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_se.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
103
+ #fancybox-bg-s{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_s.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
104
+ #fancybox-bg-sw{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_sw.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
105
+ #fancybox-bg-w{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_w.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
106
+ #fancybox-bg-nw{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_nw.png\",sizingMethod=\"scale\")'}\r\n</style>\r\n<![endif]-->\r\n\r\n\t<script
107
+ type=\"text/javascript\">\r\n\t/* <![CDATA[ */\r\n\tvar fb_timeout = null;\r\n\tvar
108
+ fb_opts = { 'overlayShow' : true, 'hideOnOverlayClick' : true, 'showCloseButton'
109
+ : true, 'centerOnScroll' : true, 'enableEscapeButton' : true, 'autoScale'
110
+ : true };\r\n\tvar easy_fancybox_handler = function(){\r\n\t/* IMG */\r\n\tvar
111
+ fb_IMG_select = 'a[href*=\".jpg\"]:not(.nofancybox), area[href*=\".jpg\"]:not(.nofancybox),
112
+ a[href*=\".jpeg\"]:not(.nofancybox), area[href*=\".jpeg\"]:not(.nofancybox),
113
+ a[href*=\".png\"]:not(.nofancybox), area[href*=\".png\"]:not(.nofancybox)';\r\n\tjQuery(fb_IMG_select).addClass('fancybox');\r\n\tvar
114
+ fb_IMG_sections = jQuery('div.gallery');\r\n\tfb_IMG_sections.each(function()
115
+ { jQuery(this).find(fb_IMG_select).attr('rel', 'gallery-' + fb_IMG_sections.index(this));
116
+ });\r\n\tjQuery('a.fancybox, area.fancybox, li.fancybox a:not(li.nofancybox
117
+ a)').fancybox( jQuery.extend({}, fb_opts, { 'easingIn' : 'easeOutBack', 'easingOut'
118
+ : 'easeInBack', 'opacity' : false, 'hideOnContentClick' : false, 'titleShow'
119
+ : true, 'titlePosition' : 'over', 'titleFromAlt' : true, 'showNavArrows' :
120
+ true, 'enableKeyboardNav' : true, 'cyclic' : false }) );\r\n\t/* Auto-click
121
+ */ \r\n\tjQuery('#fancybox-auto').trigger('click');\r\n\t}\r\n\t/* ]]> */\r\n\t</script>\r\n\t<style
122
+ type=\"text/css\">.fancybox-hidden{display:none}.rtl #fancybox-left{left:auto;right:0px}.rtl
123
+ #fancybox-right{left:0px;right:auto}.rtl #fancybox-right-ico{background-position:-40px
124
+ -30px}.rtl #fancybox-left-ico{background-position:-40px -60px}.rtl .fancybox-title-over{text-align:right}.rtl
125
+ #fancybox-left-ico,.rtl #fancybox-right-ico{right:-9999px}.rtl #fancybox-right:hover
126
+ span{right:auto;left:20px}.rtl #fancybox-left:hover span{right:20px}#fancybox-img{max-width:none;max-height:none}#fancybox-outer{background-color:#fff}#fancybox-content{border-color:#fff}#fancybox-content{color:inherit}</style>\r\n\t<!--
127
+ \r\n\t\t\tPlugin: Super Simple Google Analytics \r\n\tPlugin URL: Super Simple
128
+ Google Analytics\r\n\r\n\r\n\t-->\r\n\r\n<script type=\"text/javascript\">\r\n\t\twindow.google_analytics_uacct
129
+ = \"UA-42124902-1\";\r\n\t</script>\r\n\r\n<script type=\"text/javascript\">\r\n\t
130
+ \ var _gaq = _gaq || [];\r\n\t _gaq.push(['_setAccount', 'UA-42124902-1']);\r\n\t
131
+ \ _gaq.push(['_trackPageview']);\r\n\t\r\n\t (function() {\r\n\t\tvar ga
132
+ = document.createElement('script'); ga.type = 'text/javascript'; ga.async
133
+ = true;\r\n\t\tga.src = ('https:' == document.location.protocol ? 'https://ssl'
134
+ : '//www') + '.google-analytics.com/ga.js';\r\n\t\tvar s = document.getElementsByTagName('script')[0];
135
+ s.parentNode.insertBefore(ga, s);\r\n\t })();\r\n\t</script>\r\n\r\n<style>\r\n\r\n#work
136
+ {\r\n background: none repeat scroll 0 0 #ff0000;\r\n border-radius:
137
+ 0 0 10px 10px;\r\n position:absolute;\r\n margin: 0 0 0 367px;\r\n padding:
138
+ 10px;\r\n width: 290px;\r\n}\r\n\r\n#work a {\r\n color: #FFFFFF;\r\n
139
+ \ font-size: 24px;\r\n text-decoration: none;\r\n border:none !important;\r\n}\r\n#work
140
+ a:hover {\r\n color: #ffc3c3;\r\n\r\n}\r\n</style>\r\n\r\n</head>\r\n<!--
141
+ HEADER -->\r\n<body style=\"zoom: 1;\"><div class=\"header header_new\">\r\n\t<div
142
+ class=\"layout\">\t\r\n\t\t\r\n\t\t<div class=\"logo\"><a href=\"//www.checkout.ru/\"
143
+ title=\"Checkout\" rel=\"home\"><img src=\"//www.checkout.ru/wp-content/themes/checkout/images/logo.png\"
144
+ alt=\"Checkout\"></a></div>\r\n\r\n<!--div id=\"work\">\r\n <a class=\"fancybox\"
145
+ href=\"#btn_top\" id=\"inline\">Приглашаем на вебинар</a>\r\n \r\n <div
146
+ style=\"display:none;\"><div id=\"btn_top\" style=\"width:400px; font-size:18px;
147
+ padding:30px;text-align:left;\">\r\n<h3>3 марта 2014, в 16-00 мы ждем вас
148
+ на вебинаре: \"<a href=\"//zillion.net/ru/event/542/kak-intierniet-maghazinu-poluchit-i-obrabotat-100-zakazov-v-dien\"
149
+ target=\"_blank\">Как интернет магазину получить и обработать 100 заказов
150
+ в день?</a>\"</h3>\r\n </div>\r\n </div>\r\n \r\n</div-->\r\n\r\n\t\t<div
151
+ class=\"header_right\">\r\n<div id=\"banner\">\r\n<!-- <a class=\"fancybox\"
152
+ href=\"#btn_top\">Вебинар</a>\r\n <div style=\"display:none;\"><div id=\"btn_top\"
153
+ style=\"width:400px; font-size:18px; padding:30px;text-align:left;\">\r\n<h3>12
154
+ мая 2014 г., в 16-00 мы ждем вас на вебинаре: \"<a href=\"//zillion.net/ru/event/921/kak-uvielichit-sriednii-chiek-i-kolichiestvo-zakazov-v-intierniet-maghazinie\"
155
+ target=\"_blank\">Как получить и обработать 100 заказов в день для вашего
156
+ интернет-магазина</a>\"</h3>\r\n </div>\r\n </div> -->\r\n\t\r\n\t<!--a
157
+ class=\"expo_banner\" href=\"/ecom-expo-14/\">ECOM Expo '14</a-->\r\n\r\n</div>\r\n\t\t\r\n\t\t\t<!--
158
+ HEADER CONTACTS -->\r\n\t\t\t<div class=\"header_contacts\">\r\n\t\t\t\t<div>\r\n\t\t\t\t\t<a
159
+ href=\"//vk.com/agregator_dostavok\"><img src=\"//www.checkout.ru/wp-content/themes/checkout/images/s_vk.png\"
160
+ alt=\"\"></a>\r\n\t\t\t\t\t<a href=\"https://www.youtube.com/channel/UCGIFGtsz1bKvzIfCQJue6fw\"><img
161
+ src=\"//www.checkout.ru/wp-content/themes/checkout/images/s_yt.png\" alt=\"\"></a>\r\n\t\t\t\t\t<a
162
+ href=\"https://www.facebook.com/checkout.ru\"><img src=\"//www.checkout.ru/wp-content/themes/checkout/images/s_fb.png\"
163
+ alt=\"\"></a>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div>+7 (495) 255-22-62 <a href=\"mailto:info@checkout.ru\">info@checkout.ru</a></div>\r\n\t\t\t</div>\r\n\t\t\t<!--
164
+ /HEADER CONTACTS -->\r\n\t\t\r\n\t\t\r\n<div class=\"clear\">&nbsp;</div>\r\n\r\n\t\t\t<div
165
+ id=\"loginLink\">\r\n\t\t\t<!--a href=\"javascript:showLoginForm()\">Вход
166
+ в платформу</a-->\r\n\t\t\t<a href=\"https://platform.checkout.ru\">Вход в
167
+ платформу</a>\r\n\t\t\t<form style=\"display:none;\" id=\"loginForm\" action=\"//demo.checkout.ru/j_spring_security_check#orders\"
168
+ method=\"post\" target=\"platform\" onsubmit=\"return checkFieldsForLogin();\">\r\n\t\t\t\t<img
169
+ src=\"//platform.checkout.ru/checkout/img/closecop.png\" width=\"22\" height=\"22\"
170
+ onclick=\"this.parentNode.style.display='none';\">\r\n\t\t\t\t<input name=\"uri\"
171
+ value=\"integration002.nativelabs.ru:8080\" type=\"hidden\">\r\n\t\t\t\t<input
172
+ name=\"point\" value=\"\" type=\"hidden\">\r\n\t\t\t\t<input name=\"oid\"
173
+ value=\"\" type=\"hidden\">\r\n\t\t\t\t<input name=\"j_username\" value=\"\"
174
+ placeholder=\"e-mail\"><br>\r\n\t\t\t\t<input name=\"j_password\" value=\"\"
175
+ type=\"password\" placeholder=\"пароль\"><br>\r\n\t\t\t\t<input type=\"submit\"
176
+ value=\"Войти в платформу\">\r\n\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t\r\n\t\t\t<!--
177
+ MENU -->\r\n\t\t\t<div class=\"main_menu\">\r\n\t\t\t\t<ul id=\"menu-main-menu\"
178
+ class=\"main_menu_ul\"><li id=\"menu-item-204\" class=\"menu-item menu-item-type-post_type
179
+ menu-item-object-page menu-item-204\"><a href=\"//www.checkout.ru/\">Главная</a></li>\r\n<li
180
+ id=\"menu-item-253\" class=\"menu-item menu-item-type-custom menu-item-object-custom
181
+ menu-item-253\"><a href=\"//www.checkout.ru/why/\">Почему Checkout</a></li>\r\n<li
182
+ id=\"menu-item-513\" class=\"menu-item menu-item-type-post_type menu-item-object-page
183
+ menu-item-513\"><a href=\"//www.checkout.ru/voprosy-i-otvety/\">FAQ</a></li>\r\n<li
184
+ id=\"menu-item-437\" class=\"menu-item menu-item-type-post_type menu-item-object-page
185
+ menu-item-437\"><a href=\"//www.checkout.ru/demonstration/\">Демо</a></li>\r\n<li
186
+ id=\"menu-item-374\" class=\"menu-item menu-item-type-taxonomy menu-item-object-category
187
+ menu-item-374\"><a href=\"//www.checkout.ru/./news/\">Новости</a></li>\r\n<li
188
+ id=\"menu-item-256\" class=\"menu-item menu-item-type-post_type menu-item-object-page
189
+ menu-item-256\"><a href=\"//www.checkout.ru/contact/\">Контакты</a></li>\r\n</ul>\t\t\t</div>\r\n\t\t\t<!--
190
+ /MENU -->\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n<div
191
+ class=\"clear\">&nbsp;</div>\r\n<!-- /HEADER -->\r\n\r\n<!-- MAIN -->\r\n<div
192
+ class=\"main\">\r\n\t<div class=\"layout\">\r\n\t\t<!-- CONTENT -->\r\n\t\t<div
193
+ class=\"content\">\r\n\t\t\t<div class=\"inner\">\r\n\r\n\t\t\t<div id=\"post-0\"
194
+ class=\"post error404 not-found\">\r\n\t\t\t\t<h1 class=\"entry-title\" style=\"\r\n
195
+ \ padding-top: 50px;\r\n font-size: 38px;\r\n\">Сервис временно не доступен</h1>\r\n\t\t\t\t<div
196
+ class=\"entry-content\">\r\n\t\t\t\t\t<p style=\"\r\n font-size: 18px;\r\n
197
+ \ line-height: 41px;\r\n\">Извините, по техническим причинам сервис временно
198
+ не доступен. <br>Попробуйте зайти через несколько минут. <br>Приносим свои
199
+ извинения за причинённые неудобства.</p>\r\n\t\t\t\t\t\t\t\t\t</div><!-- .entry-content
200
+ -->\r\n\t\t\t</div><!-- #post-0 -->\r\n\r\n\t\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!--
201
+ /CONTENT -->\r\n\t\t\r\n\t\t<script type=\"text/javascript\">\r\n\t\t// focus
202
+ on search field after it has loaded\r\n\t\tdocument.getElementById('s') &&
203
+ document.getElementById('s').focus();\r\n\t</script>\r\n\t\t\r\n\t\t<!-- SIDEBAR
204
+ -->\r\n\t\t<div class=\"sidebar\">\r\n\t\t\t<div class=\"inner\">\r\n\t\t\t\t<ul
205
+ class=\"xoxo\">\r\n\t\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!--
206
+ /SIDEBAR -->\r\n\t</div>\r\n\t<div class=\"clear\">&nbsp;</div>\r\n</div>\r\n<!--
207
+ /MAIN -->\r\n\r\n\r\n<!-- /MAIN -->\r\n\r\n\r\n\r\n<!-- FOOTER LINE -->\r\n<div
208
+ class=\"footer_line\">\r\n\t<div class=\"layout\">\r\n\t\t<!-- PARTNERS -->\r\n\t\t<div
209
+ class=\"partners\">\r\n\t\t\t<p class=\"simple-image\"><img width=\"175\"
210
+ height=\"215\" src=\"//www.checkout.ru/wp-content/uploads/2013/04/partners_2.png\"
211
+ class=\"attachment-full\" alt=\"partners_2\"></p>\t\t</div>\r\n\t\t<!-- /PARTNERS
212
+ -->\r\n\t\t<!-- ADVANTAGES -->\r\n\t\t<div class=\"advantages\">\r\n\t\t\t<div
213
+ class=\"inner\">\r\n\t\t\t\t<!-- advantages -->\r\n\t\t\t\r\n\t\t\t\t<h2 class=\"widgettitle\">Преимущества</h2>\r\n\t\t\t<div
214
+ class=\"textwidget\"><div class=\"adv\">\r\n<h4>Один договор</h4>\r\n<p>Полный
215
+ спектр существующих способов и сервисов доставки при заключении всего одного
216
+ <br>договора. <a href=\"//www.checkout.ru/why/\" class=\"adv_link\">&nbsp;</a></p>\r\n</div>\r\n\r\n<div
217
+ class=\"adv\">\r\n<h4>Автоматизация</h4>\r\n<p>Расчет и подбор наиболее оптимальных
218
+ тарифов и служб доставки происходит автоматически. <a href=\"//www.checkout.ru/why/\"
219
+ class=\"adv_link\">&nbsp;</a></p>\r\n</div>\r\n\r\n<div class=\"clear\">&nbsp;</div>\r\n\r\n<div
220
+ class=\"adv\">\r\n<h4>Управление</h4>\r\n<p>Возможность управления заказами
221
+ и отслеживания статуса доставки. <a href=\"//www.checkout.ru/why/\" class=\"adv_link\">&nbsp;</a></p>\r\n</div>\r\n\r\n<div
222
+ class=\"adv\">\r\n<h4>Оптимизация</h4>\r\n<p>Простая, понятная и удобная для
223
+ клиента страница оформления заказов. <a href=\"//www.checkout.ru/why/\" class=\"adv_link\">&nbsp;</a></p>\r\n</div></div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t<!--
224
+ /advantages -->\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!-- /ADVANTAGES -->\r\n\t\t<div
225
+ class=\"clear\">&nbsp;</div>\r\n\t</div>\r\n</div>\r\n<!-- /FOOTER LINE -->\r\n\r\n<!--
226
+ FOOTER -->\r\n<div class=\"footer\">\r\n\t<div class=\"layout\">\r\n\t\t<div
227
+ class=\"f_logo\"><img src=\"//www.checkout.ru/wp-content/themes/checkout/images/f_logo.png\"
228
+ alt=\"\"></div>\r\n\t\t\r\n\t\t<div class=\"f_addr\">\r\n\t\t\t<!-- ADDRESS
229
+ -->\r\n\t\t\t\t\t\t<div class=\"textwidget\"><span>+7 (495) 255-22-62, <a
230
+ href=\"mailto:info@checkout.ru\">info@checkout.ru</a></span><br>\r\nООО \"Чекаут\"
231
+ (ОГРН 1137746450082)<br>\r\n105062, Москва, ул. Покровка, д.28, стр.2<br></div>\r\n\t\t\t\t\t<!--
232
+ /ADDRESS -->\r\n\t\t</div>\r\n\t\t<div class=\"clear\">&nbsp;</div>\r\n\t\t<div
233
+ class=\"copy_left\">\r\n\t\t\t\t\t\t<div class=\"textwidget\">Copyright ©
234
+ 2013 CheckOut.ru Все права защищены.</div>\r\n\t\t\t\t</div>\r\n\t\t\r\n\t\t<div
235
+ class=\"copy_right\">\r\n\t\t\t\t\t\t<div class=\"textwidget\">По вопросам,
236
+ связанным\r\nс партнёрством, свяжитесь с нами по адресу <a href=\"mailto:info@checkout.ru\">info@checkout.ru</a></div>\r\n\t\t\t\t</div>\r\n\t\t<div
237
+ class=\"clear\">&nbsp;</div>\r\n\t</div>\r\n</div>\r\n<!-- /FOOTER -->\r\n\r\n<!--
238
+ SLIDER -->\r\n<script type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/themes/checkout/scripts/jquery-1.9.0.min.js\"></script>\r\n<script
239
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/themes/checkout/scripts/jquery.nivo.slider.js\"></script>\r\n<script
240
+ type=\"text/javascript\">\r\n$(window).load(function() {\r\n $('#slider').nivoSlider({\r\n
241
+ \ effect: 'fade', // Specify sets like: 'fold,fade,sliceDown'\r\n slices:
242
+ 15, // For slice animations\r\n boxCols: 8, // For box animations\r\n
243
+ \ boxRows: 4, // For box animations\r\n animSpeed: 100, // Slide
244
+ transition speed\r\n pauseTime: 4000, // How long each slide will show\r\n
245
+ \ startSlide: 0, // Set starting Slide (0 index)\r\n directionNav:
246
+ false, // Next & Prev navigation\r\n controlNav: true, // 1,2,3...
247
+ navigation\r\n controlNavThumbs: false, // Use thumbnails for Control
248
+ Nav\r\n pauseOnHover: true, // Stop animation while hovering\r\n manualAdvance:
249
+ false, // Force manual transitions\r\n prevText: 'Prev', // Prev directionNav
250
+ text\r\n nextText: 'Next', // Next directionNav text\r\n randomStart:
251
+ false, // Start on a random slide\r\n beforeChange: function(){}, //
252
+ Triggers before a slide transition\r\n afterChange: function(){}, //
253
+ Triggers after a slide transition\r\n slideshowEnd: function(){}, //
254
+ Triggers after all slides have been shown\r\n lastSlide: function(){},
255
+ // Triggers when last slide is shown\r\n afterLoad: function(){} //
256
+ Triggers when slider has loaded\r\n });\r\n});\r\n</script>\r\n<!-- /SLIDER
257
+ -->\r\n\r\n<!-- Yandex.Metrika counter -->\r\n<script type=\"text/javascript\">\r\nvar
258
+ yaParams = {/*Здесь параметры визита*/};\r\n</script>\r\n \r\n<script type=\"text/javascript\">\r\n(function
259
+ (d, w, c) {\r\n (w[c] = w[c] || []).push(function() {\r\n try {\r\n
260
+ \ w.yaCounter22719634 = new Ya.Metrika({id:22719634,\r\n webvisor:true,\r\n
261
+ \ clickmap:true,\r\n trackLinks:true,\r\n
262
+ \ accurateTrackBounce:true,params:window.yaParams||{ }});\r\n
263
+ \ } catch(e) { }\r\n });\r\n \r\n var n = d.getElementsByTagName(\"script\")[0],\r\n
264
+ \ s = d.createElement(\"script\"),\r\n f = function () { n.parentNode.insertBefore(s,
265
+ n); };\r\n s.type = \"text/javascript\";\r\n s.async = true;\r\n s.src
266
+ = (d.location.protocol == \"https:\" ? \"https:\" : \"\") + \"//mc.yandex.ru/metrika/watch.js\";\r\n
267
+ \r\n if (w.opera == \"[object Opera]\") {\r\n d.addEventListener(\"DOMContentLoaded\",
268
+ f, false);\r\n } else { f(); }\r\n})(document, window, \"yandex_metrika_callbacks\");\r\n</script>\r\n<!--
269
+ /Yandex.Metrika counter --><script type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.45.0-2013.10.17\"></script>\r\n<script
270
+ type=\"text/javascript\">\r\n/* <![CDATA[ */\r\nvar _wpcf7 = {\"loaderUrl\":\"\\/\\/www.checkout.ru\\/wp-content\\/plugins\\/contact-form-7\\/images\\/ajax-loader.gif\",\"sending\":\"\\u041e\\u0442\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430...\"};\r\n/*
271
+ ]]> */\r\n</script>\r\n<script type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.5.4\"></script>\r\n<script
272
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/email-subscription/assets/email-subscription.js?ver=1.0\"></script>\r\n<script
273
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.5.pack.js?ver=1.5.5\"></script>\r\n<script
274
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/jquery.mousewheel.pack.js?ver=3.1.3\"></script>\r\n\r\n<script
275
+ type=\"text/javascript\">\r\njQuery(document).on('ready post-load', easy_fancybox_handler
276
+ );\r\n</script>\r\n\r\n\r\n<div id=\"fancybox-tmp\"></div><div id=\"fancybox-loading\"><div></div></div><div
277
+ id=\"fancybox-overlay\"></div><div id=\"fancybox-wrap\"><div id=\"fancybox-outer\"><div
278
+ class=\"fancybox-bg\" id=\"fancybox-bg-n\"></div><div class=\"fancybox-bg\"
279
+ id=\"fancybox-bg-ne\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-e\"></div><div
280
+ class=\"fancybox-bg\" id=\"fancybox-bg-se\"></div><div class=\"fancybox-bg\"
281
+ id=\"fancybox-bg-s\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-sw\"></div><div
282
+ class=\"fancybox-bg\" id=\"fancybox-bg-w\"></div><div class=\"fancybox-bg\"
283
+ id=\"fancybox-bg-nw\"></div><div id=\"fancybox-content\"></div><a id=\"fancybox-close\"></a><div
284
+ id=\"fancybox-title\"></div><a href=\"javascript:;\" id=\"fancybox-left\"><span
285
+ class=\"fancy-ico\" id=\"fancybox-left-ico\"></span></a><a href=\"javascript:;\"
286
+ id=\"fancybox-right\"><span class=\"fancy-ico\" id=\"fancybox-right-ico\"></span></a></div></div></body></html>"
287
+ http_version:
288
+ recorded_at: Mon, 06 Oct 2014 23:06:17 GMT
289
+ - request:
290
+ method: get
291
+ uri: http://platform.checkout.ru/service/login/ticket/valid-api-key
292
+ body:
293
+ encoding: US-ASCII
294
+ string: ''
295
+ headers:
296
+ User-Agent:
297
+ - Faraday v0.8.9
298
+ Accept:
299
+ - application/json
300
+ response:
301
+ status:
302
+ code: 200
303
+ message:
304
+ headers:
305
+ server:
306
+ - nginx/1.7.5
307
+ date:
308
+ - Mon, 06 Oct 2014 23:07:35 GMT
309
+ content-type:
310
+ - application/json;charset=UTF-8
25
311
  transfer-encoding:
26
312
  - chunked
313
+ connection:
314
+ - close
315
+ body:
316
+ encoding: UTF-8
317
+ string: '{"ticket":"e62abe6d79704ac392e541fd924e47e7", "receiverEmailNotRequired":false}'
318
+ http_version:
319
+ recorded_at: Mon, 06 Oct 2014 23:06:17 GMT
320
+ - request:
321
+ method: get
322
+ uri: http://platform.checkout.ru/service/checkout/getPlaceByPostalCode?postIndex=111524&ticket=e62abe6d79704ac392e541fd924e47e7
323
+ body:
324
+ encoding: US-ASCII
325
+ string: ''
326
+ headers:
327
+ User-Agent:
328
+ - Faraday v0.8.9
329
+ Accept:
330
+ - application/json
331
+ response:
332
+ status:
333
+ code: 200
334
+ message:
335
+ headers:
336
+ server:
337
+ - nginx/1.7.5
338
+ date:
339
+ - Mon, 06 Oct 2014 23:07:35 GMT
27
340
  content-type:
28
341
  - application/json;charset=UTF-8
342
+ transfer-encoding:
343
+ - chunked
344
+ connection:
345
+ - close
29
346
  body:
30
- encoding: ASCII-8BIT
31
- string: !binary |-
32
- eyJpZCI6IjBjNWIyNDQ0LTcwYTAtNDkzMi05ODBjLWI0ZGMwZDNmMDJiNSIs
33
- Im5hbWUiOiLQnNC+0YHQutCy0LAiLCJmdWxsTmFtZSI6ItCzLiDQnNC+0YHQ
34
- utCy0LAifQ==
35
- http_version:
36
- recorded_at: Wed, 29 Jan 2014 22:31:39 GMT
347
+ encoding: UTF-8
348
+ string: '{"id":"0c5b2444-70a0-4932-980c-b4dc0d3f02b5","name":"Москва","fullName":"г.
349
+ Москва"}'
350
+ http_version:
351
+ recorded_at: Mon, 06 Oct 2014 23:06:17 GMT
37
352
  recorded_with: VCR 2.8.0
@@ -2,45 +2,459 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://platform.checkout.ru/service/checkout/getPlacesByQuery?place=%D0%BC%D0%BE%D1%81%D0%BA%D0%B2%D0%B0&ticket=valid-ticket
5
+ uri: http://platform.checkout.ru/service/checkout/getPlacesByQuery?place=%D0%BC%D0%BE%D1%81%D0%BA%D0%B2%D0%B0&ticket=b01b2ba60a654cbc1468fc809e69bd75
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.8
11
+ - Faraday v0.8.9
12
+ Accept:
13
+ - application/json
12
14
  response:
13
15
  status:
14
16
  code: 200
15
- message:
17
+ message:
16
18
  headers:
19
+ server:
20
+ - nginx/1.7.5
21
+ date:
22
+ - Mon, 06 Oct 2014 22:29:42 GMT
23
+ content-type:
24
+ - application/json;charset=UTF-8
25
+ transfer-encoding:
26
+ - chunked
27
+ connection:
28
+ - close
29
+ body:
30
+ encoding: UTF-8
31
+ string: '{"suggestions":[{"id":"0c5b2444-70a0-4932-980c-b4dc0d3f02b5","name":"Москва","fullName":"г.
32
+ Москва"},{"id":"f1c72b9d-a2d7-45b7-b9f5-2222c12d5164","name":"Москва","fullName":"д.
33
+ Москва (Верхошижемский район, Кировская область)"},{"id":"3605e660-e90e-47d3-b58e-068f24e68145","name":"Москва","fullName":"д.
34
+ Москва (Пеновский район, Тверская область)"},{"id":"26a25efa-4f63-4d4b-8db6-dfc29cdaab24","name":"Москва","fullName":"д.
35
+ Москва (Порховский район, Псковская область)"}]}'
36
+ http_version:
37
+ recorded_at: Mon, 06 Oct 2014 22:28:24 GMT
38
+ - request:
39
+ method: get
40
+ uri: http://platform.checkout.ru/service/checkout/getPlacesByQuery?place=%D0%BC%D0%BE%D1%81%D0%BA%D0%B2%D0%B0&ticket=b1cd40aa2d78209e50f7be88d138e0ff
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ''
44
+ headers:
45
+ User-Agent:
46
+ - Faraday v0.8.9
47
+ Accept:
48
+ - application/json
49
+ response:
50
+ status:
51
+ code: 200
52
+ message:
53
+ headers:
54
+ server:
55
+ - nginx/1.7.5
56
+ date:
57
+ - Mon, 06 Oct 2014 23:04:13 GMT
58
+ content-type:
59
+ - application/json;charset=UTF-8
60
+ transfer-encoding:
61
+ - chunked
62
+ connection:
63
+ - close
64
+ body:
65
+ encoding: UTF-8
66
+ string: '{"suggestions":[{"id":"0c5b2444-70a0-4932-980c-b4dc0d3f02b5","name":"Москва","fullName":"г.
67
+ Москва"},{"id":"f1c72b9d-a2d7-45b7-b9f5-2222c12d5164","name":"Москва","fullName":"д.
68
+ Москва (Верхошижемский район, Кировская область)"},{"id":"3605e660-e90e-47d3-b58e-068f24e68145","name":"Москва","fullName":"д.
69
+ Москва (Пеновский район, Тверская область)"},{"id":"26a25efa-4f63-4d4b-8db6-dfc29cdaab24","name":"Москва","fullName":"д.
70
+ Москва (Порховский район, Псковская область)"}]}'
71
+ http_version:
72
+ recorded_at: Mon, 06 Oct 2014 23:02:55 GMT
73
+ - request:
74
+ method: get
75
+ uri: http://platform.checkout.ru/service/checkout/getPlacesByQuery?place=%D0%BC%D0%BE%D1%81%D0%BA%D0%B2%D0%B0&ticket=63405ccbd95e7412cfd9f988c49875c8
76
+ body:
77
+ encoding: US-ASCII
78
+ string: ''
79
+ headers:
80
+ User-Agent:
81
+ - Faraday v0.8.9
82
+ Accept:
83
+ - application/json
84
+ response:
85
+ status:
86
+ code: 200
87
+ message:
88
+ headers:
89
+ server:
90
+ - nginx/1.7.5
17
91
  date:
18
- - Tue, 28 Jan 2014 23:54:01 GMT
92
+ - Mon, 06 Oct 2014 23:05:03 GMT
93
+ content-type:
94
+ - application/json;charset=UTF-8
95
+ transfer-encoding:
96
+ - chunked
97
+ connection:
98
+ - close
99
+ body:
100
+ encoding: UTF-8
101
+ string: '{"suggestions":[{"id":"0c5b2444-70a0-4932-980c-b4dc0d3f02b5","name":"Москва","fullName":"г.
102
+ Москва"},{"id":"f1c72b9d-a2d7-45b7-b9f5-2222c12d5164","name":"Москва","fullName":"д.
103
+ Москва (Верхошижемский район, Кировская область)"},{"id":"3605e660-e90e-47d3-b58e-068f24e68145","name":"Москва","fullName":"д.
104
+ Москва (Пеновский район, Тверская область)"},{"id":"26a25efa-4f63-4d4b-8db6-dfc29cdaab24","name":"Москва","fullName":"д.
105
+ Москва (Порховский район, Псковская область)"}]}'
106
+ http_version:
107
+ recorded_at: Mon, 06 Oct 2014 23:03:45 GMT
108
+ - request:
109
+ method: get
110
+ uri: http://platform.checkout.ru/service/checkout/getPlacesByQuery?place=%D0%BC%D0%BE%D1%81%D0%BA%D0%B2%D0%B0&ticket=tests-will-autorequest-a-valid-ticket
111
+ body:
112
+ encoding: US-ASCII
113
+ string: ''
114
+ headers:
115
+ User-Agent:
116
+ - Faraday v0.8.9
117
+ Accept:
118
+ - application/json
119
+ response:
120
+ status:
121
+ code: 500
122
+ message:
123
+ headers:
19
124
  server:
20
- - Apache/2.2.22 (Ubuntu)
125
+ - nginx/1.7.5
126
+ date:
127
+ - Mon, 06 Oct 2014 23:05:32 GMT
128
+ content-type:
129
+ - text/html
130
+ content-length:
131
+ - '26172'
21
132
  connection:
22
133
  - close
134
+ etag:
135
+ - '"53f49af2-663c"'
136
+ body:
137
+ encoding: UTF-8
138
+ string: "<html lang=\"ru-RU\"><head>\r\n<meta charset=\"UTF-8\">\r\n<title>Страница
139
+ не найдена | Checkout</title>\r\n\t\r\n\r\n<link rel=\"profile\" href=\"//gmpg.org/xfn/11\">\r\n\r\n\r\n<link
140
+ rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"//www.checkout.ru/wp-content/themes/checkout/login.css?ver=201310312-1\">\r\n<script
141
+ type=\"text/javascript\" async=\"\" src=\"//mc.yandex.ru/metrika/watch.js\"></script><script
142
+ type=\"text/javascript\" async=\"\" src=\"//www.google-analytics.com/ga.js\"></script><script
143
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/themes/checkout/login.js?v=1.8.5\"></script>\r\n\r\n<link
144
+ rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"//www.checkout.ru/wp-content/themes/checkout/style.css?ver=20131203-1\">\r\n<link
145
+ rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"//www.checkout.ru/wp-content/themes/checkout/fonts/fonts.css?ver=20131127-1\">\r\n<link
146
+ rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"//www.checkout.ru/wp-content/themes/checkout/style_theme.css?ver=20140326-1\">\r\n<link
147
+ rel=\"shortcut icon\" href=\"//www.checkout.ru/wp-content/themes/checkout/favicon.ico\"
148
+ type=\"image/x-icon\"> \r\n<link rel=\"pingback\" href=\"//www.checkout.ru/xmlrpc.php\">\r\n\r\n\t<!--
149
+ SLIDER -->\r\n\t<link rel=\"stylesheet\" href=\"//www.checkout.ru/wp-content/themes/checkout/scripts/nivo-slider.css?ver=20131127\"
150
+ type=\"text/css\" media=\"screen\">\r\n\t<!-- /SLIDER -->\r\n\r\n<link rel=\"alternate\"
151
+ type=\"application/rss+xml\" title=\"Checkout » Лента\" href=\"//www.checkout.ru/feed/\">\r\n<link
152
+ rel=\"alternate\" type=\"application/rss+xml\" title=\"Checkout » Лента комментариев\"
153
+ href=\"//www.checkout.ru/comments/feed/\">\r\n<link rel=\"stylesheet\" id=\"contact-form-7-css\"
154
+ href=\"//www.checkout.ru/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=3.5.4\"
155
+ type=\"text/css\" media=\"all\">\r\n<link rel=\"stylesheet\" id=\"esl-slideshow-css\"
156
+ href=\"//www.checkout.ru/wp-content/plugins/easing-slider/css/slideshow.min.css?ver=2.1.2\"
157
+ type=\"text/css\" media=\"all\">\r\n<link rel=\"stylesheet\" id=\"email-subscription_css-css\"
158
+ href=\"//www.checkout.ru/wp-content/plugins/email-subscription/assets/email-subscription.css?ver=0.50\"
159
+ type=\"text/css\" media=\"all\">\r\n<link rel=\"stylesheet\" id=\"fancybox-css\"
160
+ href=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.5.pack.css?ver=1.5.5\"
161
+ type=\"text/css\" media=\"screen\">\r\n<link rel=\"stylesheet\" id=\"adv-spoiler-css\"
162
+ href=\"//www.checkout.ru/wp-content/plugins/advanced-spoiler/css/advanced-spoiler.css?ver=2.02\"
163
+ type=\"text/css\" media=\"all\">\r\n<script type=\"text/javascript\" src=\"//www.checkout.ru/wp-includes/js/jquery/jquery.js?ver=1.10.2\"></script>\r\n<script
164
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1\"></script>\r\n<script
165
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/easing-slider/js/slideshow.min.js?ver=2.1.2\"></script>\r\n<script
166
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/advanced-spoiler/js/jquery-spoiler.js?ver=2.02\"></script>\r\n<link
167
+ rel=\"EditURI\" type=\"application/rsd+xml\" title=\"RSD\" href=\"//www.checkout.ru/xmlrpc.php?rsd\">\r\n<link
168
+ rel=\"wlwmanifest\" type=\"application/wlwmanifest+xml\" href=\"//www.checkout.ru/wp-includes/wlwmanifest.xml\">
169
+ \r\n<meta name=\"generator\" content=\"WordPress 3.7.1\">\r\n <style type=\"text/css\">
170
+ .easingsliderlite { } .easingsliderlite .easingsliderlite-arrows.easingsliderlite-next,
171
+ .easingsliderlite .easingsliderlite-arrows.easingsliderlite-prev { } .easingsliderlite
172
+ .easingsliderlite-arrows.easingsliderlite-next { background-image: url(//www.checkout.ru/wp-content/plugins/easing-slider/images/slideshow_arrow_next.png);
173
+ } .easingsliderlite .easingsliderlite-arrows.easingsliderlite-prev { background-image:
174
+ url(//www.checkout.ru/wp-content/plugins/easing-slider/images/slideshow_arrow_prev.png);
175
+ } .easingsliderlite .easingsliderlite-pagination .easingsliderlite-icon {
176
+ } .easingsliderlite .easingsliderlite-pagination .easingsliderlite-icon.inactive
177
+ { background-image: url(//www.checkout.ru/wp-content/plugins/easing-slider/images/slideshow_icon_inactive.png);
178
+ } .easingsliderlite .easingsliderlite-pagination .easingsliderlite-icon.active
179
+ { background-image: url(//www.checkout.ru/wp-content/plugins/easing-slider/images/slideshow_icon_active.png);
180
+ } </style> \r\n\t<!-- Easy FancyBox 1.5.5 using FancyBox 1.3.5 - RavanH (//status301.net/wordpress-plugins/easy-fancybox/)
181
+ -->\r\n<!--[if lt IE 8]> \r\n<style type=\"text/css\">\r\n/* IE6
182
+ */\r\n.fancybox-ie6 #fancybox-close{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_close.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
183
+ #fancybox-left-ico{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_nav_left.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
184
+ #fancybox-right-ico{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_nav_right.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
185
+ #fancybox-title-over{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_title_over.png\",sizingMethod=\"scale\");zoom:1}\r\n.fancybox-ie6
186
+ #fancybox-title-float-left{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_title_left.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
187
+ #fancybox-title-float-main{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_title_main.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
188
+ #fancybox-title-float-right{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_title_right.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie6
189
+ #fancybox-bg-w,.fancybox-ie6 #fancybox-bg-e,.fancybox-ie6 #fancybox-left,.fancybox-ie6
190
+ #fancybox-right,#fancybox-hide-sel-frame{height:expression(this.parentNode.clientHeight+\"px\")}\r\n#fancybox-loading.fancybox-ie6{position:absolute;margin-top:0;top:expression((-20+(document.documentElement.clientHeight
191
+ ? document.documentElement.clientHeight/2 : document.body.clientHeight/2)+(ignoreMe=document.documentElement.scrollTop
192
+ ? document.documentElement.scrollTop : document.body.scrollTop))+\"px\")}\r\n#fancybox-loading.fancybox-ie6
193
+ div{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_loading.png\",
194
+ sizingMethod=\"scale\")}\r\n/* IE6, IE7 */\r\n.fancybox-ie .fancybox-bg{background:transparent
195
+ !important}\r\n.fancybox-ie #fancybox-bg-n{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_n.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
196
+ #fancybox-bg-ne{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_ne.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
197
+ #fancybox-bg-e{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_e.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
198
+ #fancybox-bg-se{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_se.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
199
+ #fancybox-bg-s{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_s.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
200
+ #fancybox-bg-sw{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_sw.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
201
+ #fancybox-bg-w{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_w.png\",sizingMethod=\"scale\")}\r\n.fancybox-ie
202
+ #fancybox-bg-nw{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_nw.png\",sizingMethod=\"scale\")}\r\n</style>\r\n<![endif]-->\r\n<!--[if
203
+ IE 8]> \r\n<style type=\"text/css\">\r\n.fancybox-ie .fancybox-bg{background:transparent
204
+ !important}\r\n.fancybox-ie #fancybox-bg-n{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_n.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
205
+ #fancybox-bg-ne{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_ne.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
206
+ #fancybox-bg-e{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_e.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
207
+ #fancybox-bg-se{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_se.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
208
+ #fancybox-bg-s{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_s.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
209
+ #fancybox-bg-sw{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_sw.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
210
+ #fancybox-bg-w{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_w.png\",sizingMethod=\"scale\")'}\r\n.fancybox-ie
211
+ #fancybox-bg-nw{-ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/fancy_shadow_nw.png\",sizingMethod=\"scale\")'}\r\n</style>\r\n<![endif]-->\r\n\r\n\t<script
212
+ type=\"text/javascript\">\r\n\t/* <![CDATA[ */\r\n\tvar fb_timeout = null;\r\n\tvar
213
+ fb_opts = { 'overlayShow' : true, 'hideOnOverlayClick' : true, 'showCloseButton'
214
+ : true, 'centerOnScroll' : true, 'enableEscapeButton' : true, 'autoScale'
215
+ : true };\r\n\tvar easy_fancybox_handler = function(){\r\n\t/* IMG */\r\n\tvar
216
+ fb_IMG_select = 'a[href*=\".jpg\"]:not(.nofancybox), area[href*=\".jpg\"]:not(.nofancybox),
217
+ a[href*=\".jpeg\"]:not(.nofancybox), area[href*=\".jpeg\"]:not(.nofancybox),
218
+ a[href*=\".png\"]:not(.nofancybox), area[href*=\".png\"]:not(.nofancybox)';\r\n\tjQuery(fb_IMG_select).addClass('fancybox');\r\n\tvar
219
+ fb_IMG_sections = jQuery('div.gallery');\r\n\tfb_IMG_sections.each(function()
220
+ { jQuery(this).find(fb_IMG_select).attr('rel', 'gallery-' + fb_IMG_sections.index(this));
221
+ });\r\n\tjQuery('a.fancybox, area.fancybox, li.fancybox a:not(li.nofancybox
222
+ a)').fancybox( jQuery.extend({}, fb_opts, { 'easingIn' : 'easeOutBack', 'easingOut'
223
+ : 'easeInBack', 'opacity' : false, 'hideOnContentClick' : false, 'titleShow'
224
+ : true, 'titlePosition' : 'over', 'titleFromAlt' : true, 'showNavArrows' :
225
+ true, 'enableKeyboardNav' : true, 'cyclic' : false }) );\r\n\t/* Auto-click
226
+ */ \r\n\tjQuery('#fancybox-auto').trigger('click');\r\n\t}\r\n\t/* ]]> */\r\n\t</script>\r\n\t<style
227
+ type=\"text/css\">.fancybox-hidden{display:none}.rtl #fancybox-left{left:auto;right:0px}.rtl
228
+ #fancybox-right{left:0px;right:auto}.rtl #fancybox-right-ico{background-position:-40px
229
+ -30px}.rtl #fancybox-left-ico{background-position:-40px -60px}.rtl .fancybox-title-over{text-align:right}.rtl
230
+ #fancybox-left-ico,.rtl #fancybox-right-ico{right:-9999px}.rtl #fancybox-right:hover
231
+ span{right:auto;left:20px}.rtl #fancybox-left:hover span{right:20px}#fancybox-img{max-width:none;max-height:none}#fancybox-outer{background-color:#fff}#fancybox-content{border-color:#fff}#fancybox-content{color:inherit}</style>\r\n\t<!--
232
+ \r\n\t\t\tPlugin: Super Simple Google Analytics \r\n\tPlugin URL: Super Simple
233
+ Google Analytics\r\n\r\n\r\n\t-->\r\n\r\n<script type=\"text/javascript\">\r\n\t\twindow.google_analytics_uacct
234
+ = \"UA-42124902-1\";\r\n\t</script>\r\n\r\n<script type=\"text/javascript\">\r\n\t
235
+ \ var _gaq = _gaq || [];\r\n\t _gaq.push(['_setAccount', 'UA-42124902-1']);\r\n\t
236
+ \ _gaq.push(['_trackPageview']);\r\n\t\r\n\t (function() {\r\n\t\tvar ga
237
+ = document.createElement('script'); ga.type = 'text/javascript'; ga.async
238
+ = true;\r\n\t\tga.src = ('https:' == document.location.protocol ? 'https://ssl'
239
+ : '//www') + '.google-analytics.com/ga.js';\r\n\t\tvar s = document.getElementsByTagName('script')[0];
240
+ s.parentNode.insertBefore(ga, s);\r\n\t })();\r\n\t</script>\r\n\r\n<style>\r\n\r\n#work
241
+ {\r\n background: none repeat scroll 0 0 #ff0000;\r\n border-radius:
242
+ 0 0 10px 10px;\r\n position:absolute;\r\n margin: 0 0 0 367px;\r\n padding:
243
+ 10px;\r\n width: 290px;\r\n}\r\n\r\n#work a {\r\n color: #FFFFFF;\r\n
244
+ \ font-size: 24px;\r\n text-decoration: none;\r\n border:none !important;\r\n}\r\n#work
245
+ a:hover {\r\n color: #ffc3c3;\r\n\r\n}\r\n</style>\r\n\r\n</head>\r\n<!--
246
+ HEADER -->\r\n<body style=\"zoom: 1;\"><div class=\"header header_new\">\r\n\t<div
247
+ class=\"layout\">\t\r\n\t\t\r\n\t\t<div class=\"logo\"><a href=\"//www.checkout.ru/\"
248
+ title=\"Checkout\" rel=\"home\"><img src=\"//www.checkout.ru/wp-content/themes/checkout/images/logo.png\"
249
+ alt=\"Checkout\"></a></div>\r\n\r\n<!--div id=\"work\">\r\n <a class=\"fancybox\"
250
+ href=\"#btn_top\" id=\"inline\">Приглашаем на вебинар</a>\r\n \r\n <div
251
+ style=\"display:none;\"><div id=\"btn_top\" style=\"width:400px; font-size:18px;
252
+ padding:30px;text-align:left;\">\r\n<h3>3 марта 2014, в 16-00 мы ждем вас
253
+ на вебинаре: \"<a href=\"//zillion.net/ru/event/542/kak-intierniet-maghazinu-poluchit-i-obrabotat-100-zakazov-v-dien\"
254
+ target=\"_blank\">Как интернет магазину получить и обработать 100 заказов
255
+ в день?</a>\"</h3>\r\n </div>\r\n </div>\r\n \r\n</div-->\r\n\r\n\t\t<div
256
+ class=\"header_right\">\r\n<div id=\"banner\">\r\n<!-- <a class=\"fancybox\"
257
+ href=\"#btn_top\">Вебинар</a>\r\n <div style=\"display:none;\"><div id=\"btn_top\"
258
+ style=\"width:400px; font-size:18px; padding:30px;text-align:left;\">\r\n<h3>12
259
+ мая 2014 г., в 16-00 мы ждем вас на вебинаре: \"<a href=\"//zillion.net/ru/event/921/kak-uvielichit-sriednii-chiek-i-kolichiestvo-zakazov-v-intierniet-maghazinie\"
260
+ target=\"_blank\">Как получить и обработать 100 заказов в день для вашего
261
+ интернет-магазина</a>\"</h3>\r\n </div>\r\n </div> -->\r\n\t\r\n\t<!--a
262
+ class=\"expo_banner\" href=\"/ecom-expo-14/\">ECOM Expo '14</a-->\r\n\r\n</div>\r\n\t\t\r\n\t\t\t<!--
263
+ HEADER CONTACTS -->\r\n\t\t\t<div class=\"header_contacts\">\r\n\t\t\t\t<div>\r\n\t\t\t\t\t<a
264
+ href=\"//vk.com/agregator_dostavok\"><img src=\"//www.checkout.ru/wp-content/themes/checkout/images/s_vk.png\"
265
+ alt=\"\"></a>\r\n\t\t\t\t\t<a href=\"https://www.youtube.com/channel/UCGIFGtsz1bKvzIfCQJue6fw\"><img
266
+ src=\"//www.checkout.ru/wp-content/themes/checkout/images/s_yt.png\" alt=\"\"></a>\r\n\t\t\t\t\t<a
267
+ href=\"https://www.facebook.com/checkout.ru\"><img src=\"//www.checkout.ru/wp-content/themes/checkout/images/s_fb.png\"
268
+ alt=\"\"></a>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div>+7 (495) 255-22-62 <a href=\"mailto:info@checkout.ru\">info@checkout.ru</a></div>\r\n\t\t\t</div>\r\n\t\t\t<!--
269
+ /HEADER CONTACTS -->\r\n\t\t\r\n\t\t\r\n<div class=\"clear\">&nbsp;</div>\r\n\r\n\t\t\t<div
270
+ id=\"loginLink\">\r\n\t\t\t<!--a href=\"javascript:showLoginForm()\">Вход
271
+ в платформу</a-->\r\n\t\t\t<a href=\"https://platform.checkout.ru\">Вход в
272
+ платформу</a>\r\n\t\t\t<form style=\"display:none;\" id=\"loginForm\" action=\"//demo.checkout.ru/j_spring_security_check#orders\"
273
+ method=\"post\" target=\"platform\" onsubmit=\"return checkFieldsForLogin();\">\r\n\t\t\t\t<img
274
+ src=\"//platform.checkout.ru/checkout/img/closecop.png\" width=\"22\" height=\"22\"
275
+ onclick=\"this.parentNode.style.display='none';\">\r\n\t\t\t\t<input name=\"uri\"
276
+ value=\"integration002.nativelabs.ru:8080\" type=\"hidden\">\r\n\t\t\t\t<input
277
+ name=\"point\" value=\"\" type=\"hidden\">\r\n\t\t\t\t<input name=\"oid\"
278
+ value=\"\" type=\"hidden\">\r\n\t\t\t\t<input name=\"j_username\" value=\"\"
279
+ placeholder=\"e-mail\"><br>\r\n\t\t\t\t<input name=\"j_password\" value=\"\"
280
+ type=\"password\" placeholder=\"пароль\"><br>\r\n\t\t\t\t<input type=\"submit\"
281
+ value=\"Войти в платформу\">\r\n\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t\r\n\t\t\t<!--
282
+ MENU -->\r\n\t\t\t<div class=\"main_menu\">\r\n\t\t\t\t<ul id=\"menu-main-menu\"
283
+ class=\"main_menu_ul\"><li id=\"menu-item-204\" class=\"menu-item menu-item-type-post_type
284
+ menu-item-object-page menu-item-204\"><a href=\"//www.checkout.ru/\">Главная</a></li>\r\n<li
285
+ id=\"menu-item-253\" class=\"menu-item menu-item-type-custom menu-item-object-custom
286
+ menu-item-253\"><a href=\"//www.checkout.ru/why/\">Почему Checkout</a></li>\r\n<li
287
+ id=\"menu-item-513\" class=\"menu-item menu-item-type-post_type menu-item-object-page
288
+ menu-item-513\"><a href=\"//www.checkout.ru/voprosy-i-otvety/\">FAQ</a></li>\r\n<li
289
+ id=\"menu-item-437\" class=\"menu-item menu-item-type-post_type menu-item-object-page
290
+ menu-item-437\"><a href=\"//www.checkout.ru/demonstration/\">Демо</a></li>\r\n<li
291
+ id=\"menu-item-374\" class=\"menu-item menu-item-type-taxonomy menu-item-object-category
292
+ menu-item-374\"><a href=\"//www.checkout.ru/./news/\">Новости</a></li>\r\n<li
293
+ id=\"menu-item-256\" class=\"menu-item menu-item-type-post_type menu-item-object-page
294
+ menu-item-256\"><a href=\"//www.checkout.ru/contact/\">Контакты</a></li>\r\n</ul>\t\t\t</div>\r\n\t\t\t<!--
295
+ /MENU -->\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n<div
296
+ class=\"clear\">&nbsp;</div>\r\n<!-- /HEADER -->\r\n\r\n<!-- MAIN -->\r\n<div
297
+ class=\"main\">\r\n\t<div class=\"layout\">\r\n\t\t<!-- CONTENT -->\r\n\t\t<div
298
+ class=\"content\">\r\n\t\t\t<div class=\"inner\">\r\n\r\n\t\t\t<div id=\"post-0\"
299
+ class=\"post error404 not-found\">\r\n\t\t\t\t<h1 class=\"entry-title\" style=\"\r\n
300
+ \ padding-top: 50px;\r\n font-size: 38px;\r\n\">Сервис временно не доступен</h1>\r\n\t\t\t\t<div
301
+ class=\"entry-content\">\r\n\t\t\t\t\t<p style=\"\r\n font-size: 18px;\r\n
302
+ \ line-height: 41px;\r\n\">Извините, по техническим причинам сервис временно
303
+ не доступен. <br>Попробуйте зайти через несколько минут. <br>Приносим свои
304
+ извинения за причинённые неудобства.</p>\r\n\t\t\t\t\t\t\t\t\t</div><!-- .entry-content
305
+ -->\r\n\t\t\t</div><!-- #post-0 -->\r\n\r\n\t\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!--
306
+ /CONTENT -->\r\n\t\t\r\n\t\t<script type=\"text/javascript\">\r\n\t\t// focus
307
+ on search field after it has loaded\r\n\t\tdocument.getElementById('s') &&
308
+ document.getElementById('s').focus();\r\n\t</script>\r\n\t\t\r\n\t\t<!-- SIDEBAR
309
+ -->\r\n\t\t<div class=\"sidebar\">\r\n\t\t\t<div class=\"inner\">\r\n\t\t\t\t<ul
310
+ class=\"xoxo\">\r\n\t\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!--
311
+ /SIDEBAR -->\r\n\t</div>\r\n\t<div class=\"clear\">&nbsp;</div>\r\n</div>\r\n<!--
312
+ /MAIN -->\r\n\r\n\r\n<!-- /MAIN -->\r\n\r\n\r\n\r\n<!-- FOOTER LINE -->\r\n<div
313
+ class=\"footer_line\">\r\n\t<div class=\"layout\">\r\n\t\t<!-- PARTNERS -->\r\n\t\t<div
314
+ class=\"partners\">\r\n\t\t\t<p class=\"simple-image\"><img width=\"175\"
315
+ height=\"215\" src=\"//www.checkout.ru/wp-content/uploads/2013/04/partners_2.png\"
316
+ class=\"attachment-full\" alt=\"partners_2\"></p>\t\t</div>\r\n\t\t<!-- /PARTNERS
317
+ -->\r\n\t\t<!-- ADVANTAGES -->\r\n\t\t<div class=\"advantages\">\r\n\t\t\t<div
318
+ class=\"inner\">\r\n\t\t\t\t<!-- advantages -->\r\n\t\t\t\r\n\t\t\t\t<h2 class=\"widgettitle\">Преимущества</h2>\r\n\t\t\t<div
319
+ class=\"textwidget\"><div class=\"adv\">\r\n<h4>Один договор</h4>\r\n<p>Полный
320
+ спектр существующих способов и сервисов доставки при заключении всего одного
321
+ <br>договора. <a href=\"//www.checkout.ru/why/\" class=\"adv_link\">&nbsp;</a></p>\r\n</div>\r\n\r\n<div
322
+ class=\"adv\">\r\n<h4>Автоматизация</h4>\r\n<p>Расчет и подбор наиболее оптимальных
323
+ тарифов и служб доставки происходит автоматически. <a href=\"//www.checkout.ru/why/\"
324
+ class=\"adv_link\">&nbsp;</a></p>\r\n</div>\r\n\r\n<div class=\"clear\">&nbsp;</div>\r\n\r\n<div
325
+ class=\"adv\">\r\n<h4>Управление</h4>\r\n<p>Возможность управления заказами
326
+ и отслеживания статуса доставки. <a href=\"//www.checkout.ru/why/\" class=\"adv_link\">&nbsp;</a></p>\r\n</div>\r\n\r\n<div
327
+ class=\"adv\">\r\n<h4>Оптимизация</h4>\r\n<p>Простая, понятная и удобная для
328
+ клиента страница оформления заказов. <a href=\"//www.checkout.ru/why/\" class=\"adv_link\">&nbsp;</a></p>\r\n</div></div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t<!--
329
+ /advantages -->\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<!-- /ADVANTAGES -->\r\n\t\t<div
330
+ class=\"clear\">&nbsp;</div>\r\n\t</div>\r\n</div>\r\n<!-- /FOOTER LINE -->\r\n\r\n<!--
331
+ FOOTER -->\r\n<div class=\"footer\">\r\n\t<div class=\"layout\">\r\n\t\t<div
332
+ class=\"f_logo\"><img src=\"//www.checkout.ru/wp-content/themes/checkout/images/f_logo.png\"
333
+ alt=\"\"></div>\r\n\t\t\r\n\t\t<div class=\"f_addr\">\r\n\t\t\t<!-- ADDRESS
334
+ -->\r\n\t\t\t\t\t\t<div class=\"textwidget\"><span>+7 (495) 255-22-62, <a
335
+ href=\"mailto:info@checkout.ru\">info@checkout.ru</a></span><br>\r\nООО \"Чекаут\"
336
+ (ОГРН 1137746450082)<br>\r\n105062, Москва, ул. Покровка, д.28, стр.2<br></div>\r\n\t\t\t\t\t<!--
337
+ /ADDRESS -->\r\n\t\t</div>\r\n\t\t<div class=\"clear\">&nbsp;</div>\r\n\t\t<div
338
+ class=\"copy_left\">\r\n\t\t\t\t\t\t<div class=\"textwidget\">Copyright ©
339
+ 2013 CheckOut.ru Все права защищены.</div>\r\n\t\t\t\t</div>\r\n\t\t\r\n\t\t<div
340
+ class=\"copy_right\">\r\n\t\t\t\t\t\t<div class=\"textwidget\">По вопросам,
341
+ связанным\r\nс партнёрством, свяжитесь с нами по адресу <a href=\"mailto:info@checkout.ru\">info@checkout.ru</a></div>\r\n\t\t\t\t</div>\r\n\t\t<div
342
+ class=\"clear\">&nbsp;</div>\r\n\t</div>\r\n</div>\r\n<!-- /FOOTER -->\r\n\r\n<!--
343
+ SLIDER -->\r\n<script type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/themes/checkout/scripts/jquery-1.9.0.min.js\"></script>\r\n<script
344
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/themes/checkout/scripts/jquery.nivo.slider.js\"></script>\r\n<script
345
+ type=\"text/javascript\">\r\n$(window).load(function() {\r\n $('#slider').nivoSlider({\r\n
346
+ \ effect: 'fade', // Specify sets like: 'fold,fade,sliceDown'\r\n slices:
347
+ 15, // For slice animations\r\n boxCols: 8, // For box animations\r\n
348
+ \ boxRows: 4, // For box animations\r\n animSpeed: 100, // Slide
349
+ transition speed\r\n pauseTime: 4000, // How long each slide will show\r\n
350
+ \ startSlide: 0, // Set starting Slide (0 index)\r\n directionNav:
351
+ false, // Next & Prev navigation\r\n controlNav: true, // 1,2,3...
352
+ navigation\r\n controlNavThumbs: false, // Use thumbnails for Control
353
+ Nav\r\n pauseOnHover: true, // Stop animation while hovering\r\n manualAdvance:
354
+ false, // Force manual transitions\r\n prevText: 'Prev', // Prev directionNav
355
+ text\r\n nextText: 'Next', // Next directionNav text\r\n randomStart:
356
+ false, // Start on a random slide\r\n beforeChange: function(){}, //
357
+ Triggers before a slide transition\r\n afterChange: function(){}, //
358
+ Triggers after a slide transition\r\n slideshowEnd: function(){}, //
359
+ Triggers after all slides have been shown\r\n lastSlide: function(){},
360
+ // Triggers when last slide is shown\r\n afterLoad: function(){} //
361
+ Triggers when slider has loaded\r\n });\r\n});\r\n</script>\r\n<!-- /SLIDER
362
+ -->\r\n\r\n<!-- Yandex.Metrika counter -->\r\n<script type=\"text/javascript\">\r\nvar
363
+ yaParams = {/*Здесь параметры визита*/};\r\n</script>\r\n \r\n<script type=\"text/javascript\">\r\n(function
364
+ (d, w, c) {\r\n (w[c] = w[c] || []).push(function() {\r\n try {\r\n
365
+ \ w.yaCounter22719634 = new Ya.Metrika({id:22719634,\r\n webvisor:true,\r\n
366
+ \ clickmap:true,\r\n trackLinks:true,\r\n
367
+ \ accurateTrackBounce:true,params:window.yaParams||{ }});\r\n
368
+ \ } catch(e) { }\r\n });\r\n \r\n var n = d.getElementsByTagName(\"script\")[0],\r\n
369
+ \ s = d.createElement(\"script\"),\r\n f = function () { n.parentNode.insertBefore(s,
370
+ n); };\r\n s.type = \"text/javascript\";\r\n s.async = true;\r\n s.src
371
+ = (d.location.protocol == \"https:\" ? \"https:\" : \"\") + \"//mc.yandex.ru/metrika/watch.js\";\r\n
372
+ \r\n if (w.opera == \"[object Opera]\") {\r\n d.addEventListener(\"DOMContentLoaded\",
373
+ f, false);\r\n } else { f(); }\r\n})(document, window, \"yandex_metrika_callbacks\");\r\n</script>\r\n<!--
374
+ /Yandex.Metrika counter --><script type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.45.0-2013.10.17\"></script>\r\n<script
375
+ type=\"text/javascript\">\r\n/* <![CDATA[ */\r\nvar _wpcf7 = {\"loaderUrl\":\"\\/\\/www.checkout.ru\\/wp-content\\/plugins\\/contact-form-7\\/images\\/ajax-loader.gif\",\"sending\":\"\\u041e\\u0442\\u043f\\u0440\\u0430\\u0432\\u043a\\u0430...\"};\r\n/*
376
+ ]]> */\r\n</script>\r\n<script type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.5.4\"></script>\r\n<script
377
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/email-subscription/assets/email-subscription.js?ver=1.0\"></script>\r\n<script
378
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.5.pack.js?ver=1.5.5\"></script>\r\n<script
379
+ type=\"text/javascript\" src=\"//www.checkout.ru/wp-content/plugins/easy-fancybox/jquery.mousewheel.pack.js?ver=3.1.3\"></script>\r\n\r\n<script
380
+ type=\"text/javascript\">\r\njQuery(document).on('ready post-load', easy_fancybox_handler
381
+ );\r\n</script>\r\n\r\n\r\n<div id=\"fancybox-tmp\"></div><div id=\"fancybox-loading\"><div></div></div><div
382
+ id=\"fancybox-overlay\"></div><div id=\"fancybox-wrap\"><div id=\"fancybox-outer\"><div
383
+ class=\"fancybox-bg\" id=\"fancybox-bg-n\"></div><div class=\"fancybox-bg\"
384
+ id=\"fancybox-bg-ne\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-e\"></div><div
385
+ class=\"fancybox-bg\" id=\"fancybox-bg-se\"></div><div class=\"fancybox-bg\"
386
+ id=\"fancybox-bg-s\"></div><div class=\"fancybox-bg\" id=\"fancybox-bg-sw\"></div><div
387
+ class=\"fancybox-bg\" id=\"fancybox-bg-w\"></div><div class=\"fancybox-bg\"
388
+ id=\"fancybox-bg-nw\"></div><div id=\"fancybox-content\"></div><a id=\"fancybox-close\"></a><div
389
+ id=\"fancybox-title\"></div><a href=\"javascript:;\" id=\"fancybox-left\"><span
390
+ class=\"fancy-ico\" id=\"fancybox-left-ico\"></span></a><a href=\"javascript:;\"
391
+ id=\"fancybox-right\"><span class=\"fancy-ico\" id=\"fancybox-right-ico\"></span></a></div></div></body></html>"
392
+ http_version:
393
+ recorded_at: Mon, 06 Oct 2014 23:04:14 GMT
394
+ - request:
395
+ method: get
396
+ uri: http://platform.checkout.ru/service/login/ticket/valid-api-key
397
+ body:
398
+ encoding: US-ASCII
399
+ string: ''
400
+ headers:
401
+ User-Agent:
402
+ - Faraday v0.8.9
403
+ Accept:
404
+ - application/json
405
+ response:
406
+ status:
407
+ code: 200
408
+ message:
409
+ headers:
410
+ server:
411
+ - nginx/1.7.5
412
+ date:
413
+ - Mon, 06 Oct 2014 23:05:32 GMT
414
+ content-type:
415
+ - application/json;charset=UTF-8
23
416
  transfer-encoding:
24
417
  - chunked
418
+ connection:
419
+ - close
420
+ body:
421
+ encoding: UTF-8
422
+ string: '{"ticket":"1a568dca48660187fe120623f0b35b83", "receiverEmailNotRequired":false}'
423
+ http_version:
424
+ recorded_at: Mon, 06 Oct 2014 23:04:14 GMT
425
+ - request:
426
+ method: get
427
+ uri: http://platform.checkout.ru/service/checkout/getPlacesByQuery?place=%D0%BC%D0%BE%D1%81%D0%BA%D0%B2%D0%B0&ticket=1a568dca48660187fe120623f0b35b83
428
+ body:
429
+ encoding: US-ASCII
430
+ string: ''
431
+ headers:
432
+ User-Agent:
433
+ - Faraday v0.8.9
434
+ Accept:
435
+ - application/json
436
+ response:
437
+ status:
438
+ code: 200
439
+ message:
440
+ headers:
441
+ server:
442
+ - nginx/1.7.5
443
+ date:
444
+ - Mon, 06 Oct 2014 23:05:32 GMT
25
445
  content-type:
26
446
  - application/json;charset=UTF-8
447
+ transfer-encoding:
448
+ - chunked
449
+ connection:
450
+ - close
27
451
  body:
28
- encoding: ASCII-8BIT
29
- string: !binary |-
30
- eyJzdWdnZXN0aW9ucyI6W3siaWQiOiIwYzViMjQ0NC03MGEwLTQ5MzItOTgw
31
- Yy1iNGRjMGQzZjAyYjUiLCJuYW1lIjoi0JzQvtGB0LrQstCwIiwiZnVsbE5h
32
- bWUiOiLQsy4g0JzQvtGB0LrQstCwIn0seyJpZCI6IjM2MDVlNjYwLWU5MGUt
33
- NDdkMy1iNThlLTA2OGYyNGU2ODE0NSIsIm5hbWUiOiLQnNC+0YHQutCy0LAi
34
- LCJmdWxsTmFtZSI6ItC0LiDQnNC+0YHQutCy0LAgKNCf0LXQvdC+0LLRgdC6
35
- 0LjQuSDRgNCw0LnQvtC9LCDQotCy0LXRgNGB0LrQsNGPINC+0LHQu9Cw0YHR
36
- gtGMKSJ9LHsiaWQiOiJmMWM3MmI5ZC1hMmQ3LTQ1YjctYjlmNS0yMjIyYzEy
37
- ZDUxNjQiLCJuYW1lIjoi0JzQvtGB0LrQstCwIiwiZnVsbE5hbWUiOiLQtC4g
38
- 0JzQvtGB0LrQstCwICjQktC10YDRhdC+0YjQuNC20LXQvNGB0LrQuNC5INGA
39
- 0LDQudC+0L0sINCa0LjRgNC+0LLRgdC60LDRjyDQvtCx0LvQsNGB0YLRjCki
40
- fSx7ImlkIjoiMjZhMjVlZmEtNGY2My00ZDRiLThkYjYtZGZjMjljZGFhYjI0
41
- IiwibmFtZSI6ItCc0L7RgdC60LLQsCIsImZ1bGxOYW1lIjoi0LQuINCc0L7R
42
- gdC60LLQsCAo0J/QvtGA0YXQvtCy0YHQutC40Lkg0YDQsNC50L7QvSwg0J/R
43
- gdC60L7QstGB0LrQsNGPINC+0LHQu9Cw0YHRgtGMKSJ9XX0=
44
- http_version:
45
- recorded_at: Tue, 28 Jan 2014 23:55:46 GMT
452
+ encoding: UTF-8
453
+ string: '{"suggestions":[{"id":"0c5b2444-70a0-4932-980c-b4dc0d3f02b5","name":"Москва","fullName":"г.
454
+ Москва"},{"id":"f1c72b9d-a2d7-45b7-b9f5-2222c12d5164","name":"Москва","fullName":"д.
455
+ Москва (Верхошижемский район, Кировская область)"},{"id":"3605e660-e90e-47d3-b58e-068f24e68145","name":"Москва","fullName":"д.
456
+ Москва (Пеновский район, Тверская область)"},{"id":"26a25efa-4f63-4d4b-8db6-dfc29cdaab24","name":"Москва","fullName":"д.
457
+ Москва (Порховский район, Псковская область)"}]}'
458
+ http_version:
459
+ recorded_at: Mon, 06 Oct 2014 23:04:14 GMT
46
460
  recorded_with: VCR 2.8.0