gestpay 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +24 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +7 -0
  5. data/Gemfile +17 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +52 -0
  8. data/Rakefile +4 -0
  9. data/gestpay.gemspec +29 -0
  10. data/lib/gestpay.rb +22 -0
  11. data/lib/gestpay/configuration.rb +34 -0
  12. data/lib/gestpay/digest.rb +41 -0
  13. data/lib/gestpay/error.rb +7 -0
  14. data/lib/gestpay/error/failed_digest.rb +19 -0
  15. data/lib/gestpay/error/verify_visa.rb +15 -0
  16. data/lib/gestpay/gateway.rb +49 -0
  17. data/lib/gestpay/result.rb +10 -0
  18. data/lib/gestpay/result/base.rb +25 -0
  19. data/lib/gestpay/result/decrypt.rb +6 -0
  20. data/lib/gestpay/result/encrypt.rb +9 -0
  21. data/lib/gestpay/result/payment.rb +13 -0
  22. data/lib/gestpay/result/token_request.rb +9 -0
  23. data/lib/gestpay/version.rb +3 -0
  24. data/spec/fixtures/gestpay_cassettes/decrypt_ko.yml +224 -0
  25. data/spec/fixtures/gestpay_cassettes/decrypt_ok.yml +171 -0
  26. data/spec/fixtures/gestpay_cassettes/encrypt_ko.yml +169 -0
  27. data/spec/fixtures/gestpay_cassettes/encrypt_ok.yml +170 -0
  28. data/spec/fixtures/gestpay_cassettes/payment_ko.yml +397 -0
  29. data/spec/fixtures/gestpay_cassettes/payment_ok.yml +395 -0
  30. data/spec/fixtures/gestpay_cassettes/payment_token.yml +397 -0
  31. data/spec/fixtures/gestpay_cassettes/payment_visa.yml +395 -0
  32. data/spec/fixtures/gestpay_cassettes/request_token_ko.yml +400 -0
  33. data/spec/fixtures/gestpay_cassettes/request_token_ok.yml +399 -0
  34. data/spec/lib/gestpay/digest_spec.rb +72 -0
  35. data/spec/lib/gestpay/gateway_spec.rb +110 -0
  36. data/spec/spec_helper.rb +30 -0
  37. metadata +192 -0
@@ -0,0 +1,9 @@
1
+ module Gestpay
2
+ module Result
3
+ class TokenRequest < Gestpay::Result::Base
4
+ def error
5
+ "Error #{ transaction_error_code }: #{ transaction_error_description }" if transaction_error_code
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ module Gestpay
2
+ VERSION = "0.0.2"
3
+ end
@@ -0,0 +1,224 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx?WSDL
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Fri, 17 May 2013 09:39:31 GMT
23
+ Server:
24
+ - Microsoft-IIS/6.0
25
+ P3p:
26
+ - CP="ALL IND"
27
+ X-Powered-By:
28
+ - ASP.NET
29
+ X-Aspnet-Version:
30
+ - 4.0.30319
31
+ Cache-Control:
32
+ - private, max-age=0
33
+ Content-Type:
34
+ - text/xml; charset=utf-8
35
+ Content-Length:
36
+ - '6094'
37
+ body:
38
+ encoding: UTF-8
39
+ string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
40
+ xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"
41
+ xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\" xmlns:tns=\"https://ecomm.sella.it/\"
42
+ xmlns:s=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\"
43
+ xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\" targetNamespace=\"https://ecomm.sella.it/\"
44
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">\r\n <wsdl:types>\r\n <s:schema
45
+ elementFormDefault=\"qualified\" targetNamespace=\"https://ecomm.sella.it/\">\r\n
46
+ \ <s:element name=\"Encrypt\">\r\n <s:complexType>\r\n <s:sequence>\r\n
47
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"shopLogin\"
48
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
49
+ name=\"uicCode\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
50
+ maxOccurs=\"1\" name=\"amount\" type=\"s:string\" />\r\n <s:element
51
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"shopTransactionId\" type=\"s:string\"
52
+ />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"cardNumber\"
53
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
54
+ name=\"expiryMonth\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
55
+ maxOccurs=\"1\" name=\"expiryYear\" type=\"s:string\" />\r\n <s:element
56
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"buyerName\" type=\"s:string\" />\r\n
57
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"buyerEmail\"
58
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
59
+ name=\"languageId\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
60
+ maxOccurs=\"1\" name=\"cvv\" type=\"s:string\" />\r\n <s:element
61
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"customInfo\" type=\"s:string\" />\r\n
62
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"requestToken\"
63
+ type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
64
+ \ </s:element>\r\n <s:element name=\"EncryptResponse\">\r\n <s:complexType>\r\n
65
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
66
+ name=\"EncryptResult\">\r\n <s:complexType mixed=\"true\">\r\n
67
+ \ <s:sequence>\r\n <s:any />\r\n </s:sequence>\r\n
68
+ \ </s:complexType>\r\n </s:element>\r\n </s:sequence>\r\n
69
+ \ </s:complexType>\r\n </s:element>\r\n <s:element name=\"Decrypt\">\r\n
70
+ \ <s:complexType>\r\n <s:sequence>\r\n <s:element
71
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"shopLogin\" type=\"s:string\" />\r\n
72
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"CryptedString\"
73
+ type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
74
+ \ </s:element>\r\n <s:element name=\"DecryptResponse\">\r\n <s:complexType>\r\n
75
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
76
+ name=\"DecryptResult\">\r\n <s:complexType mixed=\"true\">\r\n
77
+ \ <s:sequence>\r\n <s:any />\r\n </s:sequence>\r\n
78
+ \ </s:complexType>\r\n </s:element>\r\n </s:sequence>\r\n
79
+ \ </s:complexType>\r\n </s:element>\r\n </s:schema>\r\n </wsdl:types>\r\n
80
+ \ <wsdl:message name=\"EncryptSoapIn\">\r\n <wsdl:part name=\"parameters\"
81
+ element=\"tns:Encrypt\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"EncryptSoapOut\">\r\n
82
+ \ <wsdl:part name=\"parameters\" element=\"tns:EncryptResponse\" />\r\n
83
+ \ </wsdl:message>\r\n <wsdl:message name=\"DecryptSoapIn\">\r\n <wsdl:part
84
+ name=\"parameters\" element=\"tns:Decrypt\" />\r\n </wsdl:message>\r\n <wsdl:message
85
+ name=\"DecryptSoapOut\">\r\n <wsdl:part name=\"parameters\" element=\"tns:DecryptResponse\"
86
+ />\r\n </wsdl:message>\r\n <wsdl:portType name=\"WSCryptDecryptSoap\">\r\n
87
+ \ <wsdl:operation name=\"Encrypt\">\r\n <wsdl:input message=\"tns:EncryptSoapIn\"
88
+ />\r\n <wsdl:output message=\"tns:EncryptSoapOut\" />\r\n </wsdl:operation>\r\n
89
+ \ <wsdl:operation name=\"Decrypt\">\r\n <wsdl:input message=\"tns:DecryptSoapIn\"
90
+ />\r\n <wsdl:output message=\"tns:DecryptSoapOut\" />\r\n </wsdl:operation>\r\n
91
+ \ </wsdl:portType>\r\n <wsdl:binding name=\"WSCryptDecryptSoap\" type=\"tns:WSCryptDecryptSoap\">\r\n
92
+ \ <soap:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
93
+ \ <wsdl:operation name=\"Encrypt\">\r\n <soap:operation soapAction=\"https://ecomm.sella.it/Encrypt\"
94
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
95
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
96
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
97
+ name=\"Decrypt\">\r\n <soap:operation soapAction=\"https://ecomm.sella.it/Decrypt\"
98
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
99
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
100
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
101
+ \ <wsdl:binding name=\"WSCryptDecryptSoap12\" type=\"tns:WSCryptDecryptSoap\">\r\n
102
+ \ <soap12:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
103
+ \ <wsdl:operation name=\"Encrypt\">\r\n <soap12:operation soapAction=\"https://ecomm.sella.it/Encrypt\"
104
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
105
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
106
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
107
+ name=\"Decrypt\">\r\n <soap12:operation soapAction=\"https://ecomm.sella.it/Decrypt\"
108
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
109
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
110
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
111
+ \ <wsdl:service name=\"WSCryptDecrypt\">\r\n <wsdl:port name=\"WSCryptDecryptSoap\"
112
+ binding=\"tns:WSCryptDecryptSoap\">\r\n <soap:address location=\"https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx\"
113
+ />\r\n </wsdl:port>\r\n <wsdl:port name=\"WSCryptDecryptSoap12\" binding=\"tns:WSCryptDecryptSoap12\">\r\n
114
+ \ <soap12:address location=\"https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx\"
115
+ />\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
116
+ http_version:
117
+ recorded_at: Fri, 17 May 2013 09:39:31 GMT
118
+ - request:
119
+ method: post
120
+ uri: https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx
121
+ body:
122
+ encoding: UTF-8
123
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
124
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://ecomm.sella.it/"
125
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:Decrypt><tns:shopLogin>GESPAY12345</tns:shopLogin><tns:CryptedString>KFzOej9MGr*lXEe*LOB2wzLmHja3ghKAo3iMpR1pG35moFdejWKzAj1Zd*R_e0x8qyOSTQmZVGRXEzJMVzd9xRXS*7tkbQLPOuBZ7qAtoFsX2Fxks5HxY*3YsUeiOInUXNF7*ih1bzkwmYGchDqYnEi31rN8ZYwLHnjwMIEmWJNn7oJHE6RpfUHG*7qohDxZRto*VVTPFdM93CwECq7SdYLebAQ_9EefdcE90QCRcFdGxZp_yAr_t*YRgLcZ5B5j843krtjCvf_m8nS99CroJQ768XsvlXy29McM2G*369mTufGyGMRab5PIvJlpSd3ds6mGi1IoMJAyXVkCu_ygRDDXN5Fk4Hz58LrDIci4ZszyVRcqy56SeYV7eG*kG8LZV40WV2ey8Qeh8XDUZnCV3A</tns:CryptedString></tns:Decrypt></env:Body></env:Envelope>
126
+ headers:
127
+ Soapaction:
128
+ - '"https://ecomm.sella.it/Decrypt"'
129
+ Content-Type:
130
+ - text/xml;charset=UTF-8
131
+ Content-Length:
132
+ - '791'
133
+ Accept-Encoding:
134
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
135
+ Accept:
136
+ - '*/*'
137
+ User-Agent:
138
+ - Ruby
139
+ response:
140
+ status:
141
+ code: 200
142
+ message: OK
143
+ headers:
144
+ Date:
145
+ - Fri, 17 May 2013 09:39:31 GMT
146
+ Server:
147
+ - Microsoft-IIS/6.0
148
+ P3p:
149
+ - CP="ALL IND"
150
+ X-Powered-By:
151
+ - ASP.NET
152
+ X-Aspnet-Version:
153
+ - 4.0.30319
154
+ Set-Cookie:
155
+ - ASP.NET_SessionId=1l1uxfvrg3sn001u5nlavg05; path=/; HttpOnly
156
+ Cache-Control:
157
+ - private, max-age=0
158
+ Content-Type:
159
+ - text/xml; charset=utf-8
160
+ Content-Length:
161
+ - '1019'
162
+ body:
163
+ encoding: UTF-8
164
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
165
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><DecryptResponse
166
+ xmlns="https://ecomm.sella.it/"><DecryptResult><GestPayCryptDecrypt xmlns=""><TransactionType>DECRYPT</TransactionType><TransactionResult>KO</TransactionResult><ShopTransactionID>321_KO</ShopTransactionID><BankTransactionID>6</BankTransactionID><AuthorizationCode></AuthorizationCode><Currency>242</Currency><Amount>0.01</Amount><Country></Country><CustomInfo></CustomInfo><Buyer><BuyerName>Test
167
+ Customer</BuyerName><BuyerEmail>test@example.com</BuyerEmail></Buyer><ErrorCode>74</ErrorCode><ErrorDescription>Autorizzazione
168
+ negata</ErrorDescription><AlertCode></AlertCode><AlertDescription></AlertDescription><VbVRisp></VbVRisp><VbVBuyer></VbVBuyer><VbVFlag></VbVFlag><TransactionKey></TransactionKey></GestPayCryptDecrypt></DecryptResult></DecryptResponse></soap:Body></soap:Envelope>
169
+ http_version:
170
+ recorded_at: Fri, 17 May 2013 09:39:31 GMT
171
+ - request:
172
+ method: post
173
+ uri: https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx
174
+ body:
175
+ encoding: UTF-8
176
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
177
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://ecomm.sella.it/"
178
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:Decrypt><tns:shopLogin
179
+ xsi:nil="true"/><tns:CryptedString>KFzOej9MGr*lXEe*LOB2wzLmHja3ghKAo3iMpR1pG35moFdejWKzAj1Zd*R_e0x8qyOSTQmZVGRXEzJMVzd9xRXS*7tkbQLPOuBZ7qAtoFsX2Fxks5HxY*3YsUeiOInUXNF7*ih1bzkwmYGchDqYnEi31rN8ZYwLHnjwMIEmWJNn7oJHE6RpfUHG*7qohDxZRto*VVTPFdM93CwECq7SdYLebAQ_9EefdcE90QCRcFdGxZp_yAr_t*YRgLcZ5B5j843krtjCvf_m8nS99CroJQ768XsvlXy29McM2G*369mTufGyGMRab5PIvJlpSd3ds6mGi1IoMJAyXVkCu_ygRDDXN5Fk4Hz58LrDIci4ZszyVRcqy56SeYV7eG*kG8LZV40WV2ey8Qeh8XDUZnCV3A</tns:CryptedString></tns:Decrypt></env:Body></env:Envelope>
180
+ headers:
181
+ Soapaction:
182
+ - '"https://ecomm.sella.it/Decrypt"'
183
+ Content-Type:
184
+ - text/xml;charset=UTF-8
185
+ Content-Length:
186
+ - '780'
187
+ Accept-Encoding:
188
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
189
+ Accept:
190
+ - '*/*'
191
+ User-Agent:
192
+ - Ruby
193
+ response:
194
+ status:
195
+ code: 200
196
+ message: OK
197
+ headers:
198
+ Date:
199
+ - Tue, 28 May 2013 14:54:30 GMT
200
+ Server:
201
+ - Microsoft-IIS/6.0
202
+ P3p:
203
+ - CP="ALL IND"
204
+ X-Powered-By:
205
+ - ASP.NET
206
+ X-Aspnet-Version:
207
+ - 4.0.30319
208
+ Set-Cookie:
209
+ - ASP.NET_SessionId=zkt3pq2hhr2qzcgaa150p5ew; path=/; HttpOnly
210
+ Cache-Control:
211
+ - private, max-age=0
212
+ Content-Type:
213
+ - text/xml; charset=utf-8
214
+ Content-Length:
215
+ - '557'
216
+ body:
217
+ encoding: UTF-8
218
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
219
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><DecryptResponse
220
+ xmlns="https://ecomm.sella.it/"><DecryptResult><GestPayCryptDecrypt xmlns=""><TransactionType>DECRYPT</TransactionType><TransactionResult>KO</TransactionResult><ErrorCode>9999</ErrorCode><ErrorDescription>Errore
221
+ Tecnico</ErrorDescription></GestPayCryptDecrypt></DecryptResult></DecryptResponse></soap:Body></soap:Envelope>
222
+ http_version:
223
+ recorded_at: Tue, 28 May 2013 14:54:30 GMT
224
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,171 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx?WSDL
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Fri, 17 May 2013 09:30:13 GMT
23
+ Server:
24
+ - Microsoft-IIS/6.0
25
+ P3p:
26
+ - CP="ALL IND"
27
+ X-Powered-By:
28
+ - ASP.NET
29
+ X-Aspnet-Version:
30
+ - 4.0.30319
31
+ Cache-Control:
32
+ - private, max-age=0
33
+ Content-Type:
34
+ - text/xml; charset=utf-8
35
+ Content-Length:
36
+ - '6094'
37
+ body:
38
+ encoding: UTF-8
39
+ string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
40
+ xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"
41
+ xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\" xmlns:tns=\"https://ecomm.sella.it/\"
42
+ xmlns:s=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\"
43
+ xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\" targetNamespace=\"https://ecomm.sella.it/\"
44
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">\r\n <wsdl:types>\r\n <s:schema
45
+ elementFormDefault=\"qualified\" targetNamespace=\"https://ecomm.sella.it/\">\r\n
46
+ \ <s:element name=\"Encrypt\">\r\n <s:complexType>\r\n <s:sequence>\r\n
47
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"shopLogin\"
48
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
49
+ name=\"uicCode\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
50
+ maxOccurs=\"1\" name=\"amount\" type=\"s:string\" />\r\n <s:element
51
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"shopTransactionId\" type=\"s:string\"
52
+ />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"cardNumber\"
53
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
54
+ name=\"expiryMonth\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
55
+ maxOccurs=\"1\" name=\"expiryYear\" type=\"s:string\" />\r\n <s:element
56
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"buyerName\" type=\"s:string\" />\r\n
57
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"buyerEmail\"
58
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
59
+ name=\"languageId\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
60
+ maxOccurs=\"1\" name=\"cvv\" type=\"s:string\" />\r\n <s:element
61
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"customInfo\" type=\"s:string\" />\r\n
62
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"requestToken\"
63
+ type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
64
+ \ </s:element>\r\n <s:element name=\"EncryptResponse\">\r\n <s:complexType>\r\n
65
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
66
+ name=\"EncryptResult\">\r\n <s:complexType mixed=\"true\">\r\n
67
+ \ <s:sequence>\r\n <s:any />\r\n </s:sequence>\r\n
68
+ \ </s:complexType>\r\n </s:element>\r\n </s:sequence>\r\n
69
+ \ </s:complexType>\r\n </s:element>\r\n <s:element name=\"Decrypt\">\r\n
70
+ \ <s:complexType>\r\n <s:sequence>\r\n <s:element
71
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"shopLogin\" type=\"s:string\" />\r\n
72
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"CryptedString\"
73
+ type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
74
+ \ </s:element>\r\n <s:element name=\"DecryptResponse\">\r\n <s:complexType>\r\n
75
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
76
+ name=\"DecryptResult\">\r\n <s:complexType mixed=\"true\">\r\n
77
+ \ <s:sequence>\r\n <s:any />\r\n </s:sequence>\r\n
78
+ \ </s:complexType>\r\n </s:element>\r\n </s:sequence>\r\n
79
+ \ </s:complexType>\r\n </s:element>\r\n </s:schema>\r\n </wsdl:types>\r\n
80
+ \ <wsdl:message name=\"EncryptSoapIn\">\r\n <wsdl:part name=\"parameters\"
81
+ element=\"tns:Encrypt\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"EncryptSoapOut\">\r\n
82
+ \ <wsdl:part name=\"parameters\" element=\"tns:EncryptResponse\" />\r\n
83
+ \ </wsdl:message>\r\n <wsdl:message name=\"DecryptSoapIn\">\r\n <wsdl:part
84
+ name=\"parameters\" element=\"tns:Decrypt\" />\r\n </wsdl:message>\r\n <wsdl:message
85
+ name=\"DecryptSoapOut\">\r\n <wsdl:part name=\"parameters\" element=\"tns:DecryptResponse\"
86
+ />\r\n </wsdl:message>\r\n <wsdl:portType name=\"WSCryptDecryptSoap\">\r\n
87
+ \ <wsdl:operation name=\"Encrypt\">\r\n <wsdl:input message=\"tns:EncryptSoapIn\"
88
+ />\r\n <wsdl:output message=\"tns:EncryptSoapOut\" />\r\n </wsdl:operation>\r\n
89
+ \ <wsdl:operation name=\"Decrypt\">\r\n <wsdl:input message=\"tns:DecryptSoapIn\"
90
+ />\r\n <wsdl:output message=\"tns:DecryptSoapOut\" />\r\n </wsdl:operation>\r\n
91
+ \ </wsdl:portType>\r\n <wsdl:binding name=\"WSCryptDecryptSoap\" type=\"tns:WSCryptDecryptSoap\">\r\n
92
+ \ <soap:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
93
+ \ <wsdl:operation name=\"Encrypt\">\r\n <soap:operation soapAction=\"https://ecomm.sella.it/Encrypt\"
94
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
95
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
96
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
97
+ name=\"Decrypt\">\r\n <soap:operation soapAction=\"https://ecomm.sella.it/Decrypt\"
98
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
99
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
100
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
101
+ \ <wsdl:binding name=\"WSCryptDecryptSoap12\" type=\"tns:WSCryptDecryptSoap\">\r\n
102
+ \ <soap12:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
103
+ \ <wsdl:operation name=\"Encrypt\">\r\n <soap12:operation soapAction=\"https://ecomm.sella.it/Encrypt\"
104
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
105
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
106
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
107
+ name=\"Decrypt\">\r\n <soap12:operation soapAction=\"https://ecomm.sella.it/Decrypt\"
108
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
109
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
110
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
111
+ \ <wsdl:service name=\"WSCryptDecrypt\">\r\n <wsdl:port name=\"WSCryptDecryptSoap\"
112
+ binding=\"tns:WSCryptDecryptSoap\">\r\n <soap:address location=\"https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx\"
113
+ />\r\n </wsdl:port>\r\n <wsdl:port name=\"WSCryptDecryptSoap12\" binding=\"tns:WSCryptDecryptSoap12\">\r\n
114
+ \ <soap12:address location=\"https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx\"
115
+ />\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
116
+ http_version:
117
+ recorded_at: Fri, 17 May 2013 09:30:13 GMT
118
+ - request:
119
+ method: post
120
+ uri: https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx
121
+ body:
122
+ encoding: UTF-8
123
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
124
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://ecomm.sella.it/"
125
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:Decrypt><tns:shopLogin>GESPAY12345</tns:shopLogin><tns:CryptedString>rxd4jKk3CN8PbPX7gHh9u60ocD8_R85bI0NR_C*SOk1r1y2P8E9fDBgXKmmMnyyhyosyF8X6rvyTs_GCulPAy8TZKJc99tSb57cAWuo36MZ9_OWp2pwgKYLx7jS9XaLBgAqBufiFIoPq*Pwj5SdHY06vUf3ebnKryDvRnC0oldLw1YxpkIxlebYd7YxvNfSGLfSvce2NN8wWcwPfdR2jPKb*_oJpCEVZNO5TVMaH6h1UONEksNLIuDeZPqWfrHRcgbi0MLuoifb7ZBGrTw7HlEqfF6ojKt2oihKtNdn3Y3W5MkBHCsBrWq63TLYlDU8PRaV20jAdqQIJBHopVyumMGtyLoHlMFaH*nXUvgzwmYnTtwQZ*Q1nGCP0cl4YilBcivSTJCOkcrRwUhqYOl*4F1kmT15Nkp_sBB4oJRODYs8</tns:CryptedString></tns:Decrypt></env:Body></env:Envelope>
126
+ headers:
127
+ Soapaction:
128
+ - '"https://ecomm.sella.it/Decrypt"'
129
+ Content-Type:
130
+ - text/xml;charset=UTF-8
131
+ Content-Length:
132
+ - '812'
133
+ Accept-Encoding:
134
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
135
+ Accept:
136
+ - '*/*'
137
+ User-Agent:
138
+ - Ruby
139
+ response:
140
+ status:
141
+ code: 200
142
+ message: OK
143
+ headers:
144
+ Date:
145
+ - Fri, 17 May 2013 09:30:14 GMT
146
+ Server:
147
+ - Microsoft-IIS/6.0
148
+ P3p:
149
+ - CP="ALL IND"
150
+ X-Powered-By:
151
+ - ASP.NET
152
+ X-Aspnet-Version:
153
+ - 4.0.30319
154
+ Set-Cookie:
155
+ - ASP.NET_SessionId=c51nngx5jdpyprcwvcggdme4; path=/; HttpOnly
156
+ Cache-Control:
157
+ - private, max-age=0
158
+ Content-Type:
159
+ - text/xml; charset=utf-8
160
+ Content-Length:
161
+ - '1036'
162
+ body:
163
+ encoding: UTF-8
164
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
165
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><DecryptResponse
166
+ xmlns="https://ecomm.sella.it/"><DecryptResult><GestPayCryptDecrypt xmlns=""><TransactionType>DECRYPT</TransactionType><TransactionResult>OK</TransactionResult><ShopTransactionID>123</ShopTransactionID><BankTransactionID>5</BankTransactionID><AuthorizationCode>123456</AuthorizationCode><Currency>242</Currency><Amount>0.01</Amount><Country></Country><CustomInfo></CustomInfo><Buyer><BuyerName>Test
167
+ Customer</BuyerName><BuyerEmail>test@example.com</BuyerEmail></Buyer><ErrorCode>0</ErrorCode><ErrorDescription>Transazione
168
+ correttamente effettuata</ErrorDescription><AlertCode></AlertCode><AlertDescription></AlertDescription><VbVRisp></VbVRisp><VbVBuyer></VbVBuyer><VbVFlag></VbVFlag><TransactionKey></TransactionKey></GestPayCryptDecrypt></DecryptResult></DecryptResponse></soap:Body></soap:Envelope>
169
+ http_version:
170
+ recorded_at: Fri, 17 May 2013 09:30:14 GMT
171
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,169 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx?WSDL
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Fri, 17 May 2013 09:18:55 GMT
23
+ Server:
24
+ - Microsoft-IIS/6.0
25
+ P3p:
26
+ - CP="ALL IND"
27
+ X-Powered-By:
28
+ - ASP.NET
29
+ X-Aspnet-Version:
30
+ - 4.0.30319
31
+ Cache-Control:
32
+ - private, max-age=0
33
+ Content-Type:
34
+ - text/xml; charset=utf-8
35
+ Content-Length:
36
+ - '6094'
37
+ body:
38
+ encoding: UTF-8
39
+ string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
40
+ xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"
41
+ xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\" xmlns:tns=\"https://ecomm.sella.it/\"
42
+ xmlns:s=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\"
43
+ xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\" targetNamespace=\"https://ecomm.sella.it/\"
44
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">\r\n <wsdl:types>\r\n <s:schema
45
+ elementFormDefault=\"qualified\" targetNamespace=\"https://ecomm.sella.it/\">\r\n
46
+ \ <s:element name=\"Encrypt\">\r\n <s:complexType>\r\n <s:sequence>\r\n
47
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"shopLogin\"
48
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
49
+ name=\"uicCode\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
50
+ maxOccurs=\"1\" name=\"amount\" type=\"s:string\" />\r\n <s:element
51
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"shopTransactionId\" type=\"s:string\"
52
+ />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"cardNumber\"
53
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
54
+ name=\"expiryMonth\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
55
+ maxOccurs=\"1\" name=\"expiryYear\" type=\"s:string\" />\r\n <s:element
56
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"buyerName\" type=\"s:string\" />\r\n
57
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"buyerEmail\"
58
+ type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
59
+ name=\"languageId\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
60
+ maxOccurs=\"1\" name=\"cvv\" type=\"s:string\" />\r\n <s:element
61
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"customInfo\" type=\"s:string\" />\r\n
62
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"requestToken\"
63
+ type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
64
+ \ </s:element>\r\n <s:element name=\"EncryptResponse\">\r\n <s:complexType>\r\n
65
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
66
+ name=\"EncryptResult\">\r\n <s:complexType mixed=\"true\">\r\n
67
+ \ <s:sequence>\r\n <s:any />\r\n </s:sequence>\r\n
68
+ \ </s:complexType>\r\n </s:element>\r\n </s:sequence>\r\n
69
+ \ </s:complexType>\r\n </s:element>\r\n <s:element name=\"Decrypt\">\r\n
70
+ \ <s:complexType>\r\n <s:sequence>\r\n <s:element
71
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"shopLogin\" type=\"s:string\" />\r\n
72
+ \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"CryptedString\"
73
+ type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
74
+ \ </s:element>\r\n <s:element name=\"DecryptResponse\">\r\n <s:complexType>\r\n
75
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
76
+ name=\"DecryptResult\">\r\n <s:complexType mixed=\"true\">\r\n
77
+ \ <s:sequence>\r\n <s:any />\r\n </s:sequence>\r\n
78
+ \ </s:complexType>\r\n </s:element>\r\n </s:sequence>\r\n
79
+ \ </s:complexType>\r\n </s:element>\r\n </s:schema>\r\n </wsdl:types>\r\n
80
+ \ <wsdl:message name=\"EncryptSoapIn\">\r\n <wsdl:part name=\"parameters\"
81
+ element=\"tns:Encrypt\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"EncryptSoapOut\">\r\n
82
+ \ <wsdl:part name=\"parameters\" element=\"tns:EncryptResponse\" />\r\n
83
+ \ </wsdl:message>\r\n <wsdl:message name=\"DecryptSoapIn\">\r\n <wsdl:part
84
+ name=\"parameters\" element=\"tns:Decrypt\" />\r\n </wsdl:message>\r\n <wsdl:message
85
+ name=\"DecryptSoapOut\">\r\n <wsdl:part name=\"parameters\" element=\"tns:DecryptResponse\"
86
+ />\r\n </wsdl:message>\r\n <wsdl:portType name=\"WSCryptDecryptSoap\">\r\n
87
+ \ <wsdl:operation name=\"Encrypt\">\r\n <wsdl:input message=\"tns:EncryptSoapIn\"
88
+ />\r\n <wsdl:output message=\"tns:EncryptSoapOut\" />\r\n </wsdl:operation>\r\n
89
+ \ <wsdl:operation name=\"Decrypt\">\r\n <wsdl:input message=\"tns:DecryptSoapIn\"
90
+ />\r\n <wsdl:output message=\"tns:DecryptSoapOut\" />\r\n </wsdl:operation>\r\n
91
+ \ </wsdl:portType>\r\n <wsdl:binding name=\"WSCryptDecryptSoap\" type=\"tns:WSCryptDecryptSoap\">\r\n
92
+ \ <soap:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
93
+ \ <wsdl:operation name=\"Encrypt\">\r\n <soap:operation soapAction=\"https://ecomm.sella.it/Encrypt\"
94
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
95
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
96
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
97
+ name=\"Decrypt\">\r\n <soap:operation soapAction=\"https://ecomm.sella.it/Decrypt\"
98
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
99
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
100
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
101
+ \ <wsdl:binding name=\"WSCryptDecryptSoap12\" type=\"tns:WSCryptDecryptSoap\">\r\n
102
+ \ <soap12:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
103
+ \ <wsdl:operation name=\"Encrypt\">\r\n <soap12:operation soapAction=\"https://ecomm.sella.it/Encrypt\"
104
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
105
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
106
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
107
+ name=\"Decrypt\">\r\n <soap12:operation soapAction=\"https://ecomm.sella.it/Decrypt\"
108
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
109
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
110
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
111
+ \ <wsdl:service name=\"WSCryptDecrypt\">\r\n <wsdl:port name=\"WSCryptDecryptSoap\"
112
+ binding=\"tns:WSCryptDecryptSoap\">\r\n <soap:address location=\"https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx\"
113
+ />\r\n </wsdl:port>\r\n <wsdl:port name=\"WSCryptDecryptSoap12\" binding=\"tns:WSCryptDecryptSoap12\">\r\n
114
+ \ <soap12:address location=\"https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx\"
115
+ />\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
116
+ http_version:
117
+ recorded_at: Fri, 17 May 2013 09:18:56 GMT
118
+ - request:
119
+ method: post
120
+ uri: https://testecomm.sella.it/gestpay/gestpayws/WSCryptDecrypt.asmx
121
+ body:
122
+ encoding: UTF-8
123
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
124
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://ecomm.sella.it/"
125
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:Encrypt><tns:shopLogin>GESPAY12345</tns:shopLogin></tns:Encrypt></env:Body></env:Envelope>
126
+ headers:
127
+ Soapaction:
128
+ - '"https://ecomm.sella.it/Encrypt"'
129
+ Content-Type:
130
+ - text/xml;charset=UTF-8
131
+ Content-Length:
132
+ - '346'
133
+ Accept-Encoding:
134
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
135
+ Accept:
136
+ - '*/*'
137
+ User-Agent:
138
+ - Ruby
139
+ response:
140
+ status:
141
+ code: 200
142
+ message: OK
143
+ headers:
144
+ Date:
145
+ - Fri, 17 May 2013 09:18:56 GMT
146
+ Server:
147
+ - Microsoft-IIS/6.0
148
+ P3p:
149
+ - CP="ALL IND"
150
+ X-Powered-By:
151
+ - ASP.NET
152
+ X-Aspnet-Version:
153
+ - 4.0.30319
154
+ Set-Cookie:
155
+ - ASP.NET_SessionId=evrwnxs404xkfu0mr0bib5oy; path=/; HttpOnly
156
+ Cache-Control:
157
+ - private, max-age=0
158
+ Content-Type:
159
+ - text/xml; charset=utf-8
160
+ Content-Length:
161
+ - '543'
162
+ body:
163
+ encoding: UTF-8
164
+ string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
165
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><EncryptResponse
166
+ xmlns="https://ecomm.sella.it/"><EncryptResult><GestPayCryptDecrypt xmlns=""><TransactionType>ENCRYPT</TransactionType><TransactionResult>KO</TransactionResult><ErrorCode>1008</ErrorCode><ErrorDescription></ErrorDescription></GestPayCryptDecrypt></EncryptResult></EncryptResponse></soap:Body></soap:Envelope>
167
+ http_version:
168
+ recorded_at: Fri, 17 May 2013 09:18:56 GMT
169
+ recorded_with: VCR 2.4.0