netaxept 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,234 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :get
5
- uri: https://epayment-test.bbs.no:443/Netaxept/Register.aspx?CurrencyCode=NOK&MerchantId=123123&token=123test&amount=20100&orderNumber=12&redirectUrl=http%3A%2F%2Flocalhost%3A3000%2Forder%2F1%2Freturn
6
- body: !!null
7
- headers: !!null
8
- response: !ruby/struct:VCR::Response
9
- status: !ruby/struct:VCR::ResponseStatus
10
- code: 200
11
- message: OK
12
- headers:
13
- cache-control:
14
- - private
15
- content-type:
16
- - text/xml
17
- server:
18
- - Microsoft-IIS/7.5
19
- x-aspnet-version:
20
- - 2.0.50727
21
- x-powered-by:
22
- - ASP.NET
23
- date:
24
- - Wed, 03 Aug 2011 13:25:01 GMT
25
- content-length:
26
- - '228'
27
- body: ! "<?xml version=\"1.0\"?>\r\n<RegisterResponse xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
28
- xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <TransactionId>899995942e1e4d43b0c8e0957b4716db</TransactionId>\r\n</RegisterResponse>"
29
- http_version: '1.1'
30
- - !ruby/struct:VCR::HTTPInteraction
31
- request: !ruby/struct:VCR::Request
32
- method: :get
33
- uri: https://epayment-test.bbs.no:443/Netaxept/Process.aspx?CurrencyCode=NOK&MerchantId=123123&token=123test&amount=20100&transactionId=899995942e1e4d43b0c8e0957b4716db&operation=SALE
34
- body: !!null
35
- headers: !!null
36
- response: !ruby/struct:VCR::Response
37
- status: !ruby/struct:VCR::ResponseStatus
38
- code: 200
39
- message: OK
40
- headers:
41
- cache-control:
42
- - private
43
- content-type:
44
- - text/xml
45
- server:
46
- - Microsoft-IIS/7.5
47
- x-aspnet-version:
48
- - 2.0.50727
49
- x-powered-by:
50
- - ASP.NET
51
- date:
52
- - Wed, 03 Aug 2011 13:26:52 GMT
53
- content-length:
54
- - '440'
55
- body: ! "<?xml version=\"1.0\"?>\r\n<ProcessResponse xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
56
- xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <Operation>SALE</Operation>\r\n
57
- \ <ResponseCode>OK</ResponseCode>\r\n <AuthorizationId>093083</AuthorizationId>\r\n
58
- \ <TransactionId>899995942e1e4d43b0c8e0957b4716db</TransactionId>\r\n <ExecutionTime>2011-08-03T15:26:53.5194685+02:00</ExecutionTime>\r\n
59
- \ <MerchantId>123123</MerchantId>\r\n</ProcessResponse>"
60
- http_version: '1.1'
61
- - !ruby/struct:VCR::HTTPInteraction
62
- request: !ruby/struct:VCR::Request
63
- method: :get
64
- uri: https://epayment-test.bbs.no:443/Netaxept/Register.aspx?CurrencyCode=NOK&MerchantId=123123&token=test123&amount=20100&orderNumber=12&redirectUrl=http%3A%2F%2Flocalhost%3A3000%2Forder%2F1%2Freturn
65
- body: !!null
66
- headers: !!null
67
- response: !ruby/struct:VCR::Response
68
- status: !ruby/struct:VCR::ResponseStatus
69
- code: 200
70
- message: OK
71
- headers:
72
- cache-control:
73
- - private
74
- content-type:
75
- - text/xml
76
- server:
77
- - Microsoft-IIS/7.5
78
- x-aspnet-version:
79
- - 2.0.50727
80
- x-powered-by:
81
- - ASP.NET
82
- date:
83
- - Wed, 03 Aug 2011 15:41:34 GMT
84
- content-length:
85
- - '258'
86
- body: ! "<?xml version=\"1.0\"?>\r\n<Exception xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
87
- xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <Error xsi:type=\"AuthenticationException\">\r\n
88
- \ <Message>Authentication failed (Test)</Message>\r\n </Error>\r\n</Exception>"
89
- http_version: '1.1'
90
- - !ruby/struct:VCR::HTTPInteraction
91
- request: !ruby/struct:VCR::Request
92
- method: :get
93
- uri: https://epayment-test.bbs.no:443/Netaxept/Process.aspx?CurrencyCode=NOK&MerchantId=123123&token=test123&amount=20100&transactionId=&operation=SALE
94
- body: !!null
95
- headers: !!null
96
- response: !ruby/struct:VCR::Response
97
- status: !ruby/struct:VCR::ResponseStatus
98
- code: 200
99
- message: OK
100
- headers:
101
- cache-control:
102
- - private
103
- content-type:
104
- - text/xml
105
- server:
106
- - Microsoft-IIS/7.5
107
- x-aspnet-version:
108
- - 2.0.50727
109
- x-powered-by:
110
- - ASP.NET
111
- date:
112
- - Wed, 03 Aug 2011 15:41:34 GMT
113
- content-length:
114
- - '258'
115
- body: ! "<?xml version=\"1.0\"?>\r\n<Exception xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
116
- xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <Error xsi:type=\"AuthenticationException\">\r\n
117
- \ <Message>Authentication failed (Test)</Message>\r\n </Error>\r\n</Exception>"
118
- http_version: '1.1'
119
- - !ruby/struct:VCR::HTTPInteraction
120
- request: !ruby/struct:VCR::Request
121
- method: :get
122
- uri: https://epayment-test.bbs.no:443/Netaxept/Register.aspx?CurrencyCode=NOK&MerchantId=411889&token=sC*6Z9p%2B&amount=20100&orderNumber=12&redirectUrl=http%3A%2F%2Flocalhost%3A3000%2Forder%2F1%2Freturn
123
- body: !!null
124
- headers: !!null
125
- response: !ruby/struct:VCR::Response
126
- status: !ruby/struct:VCR::ResponseStatus
127
- code: 200
128
- message: OK
129
- headers:
130
- cache-control:
131
- - private
132
- content-type:
133
- - text/xml
134
- server:
135
- - Microsoft-IIS/7.5
136
- x-aspnet-version:
137
- - 2.0.50727
138
- x-powered-by:
139
- - ASP.NET
140
- date:
141
- - Wed, 03 Aug 2011 15:44:01 GMT
142
- content-length:
143
- - '228'
144
- body: ! "<?xml version=\"1.0\"?>\r\n<RegisterResponse xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
145
- xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <TransactionId>be2173196d1744cf9bf36c92913235c0</TransactionId>\r\n</RegisterResponse>"
146
- http_version: '1.1'
147
- - !ruby/struct:VCR::HTTPInteraction
148
- request: !ruby/struct:VCR::Request
149
- method: :get
150
- uri: https://epayment-test.bbs.no:443/Netaxept/Process.aspx?CurrencyCode=NOK&MerchantId=411889&token=sC*6Z9p%2B&amount=20100&transactionId=be2173196d1744cf9bf36c92913235c0&operation=SALE
151
- body: !!null
152
- headers: !!null
153
- response: !ruby/struct:VCR::Response
154
- status: !ruby/struct:VCR::ResponseStatus
155
- code: 200
156
- message: OK
157
- headers:
158
- cache-control:
159
- - private
160
- content-type:
161
- - text/xml
162
- server:
163
- - Microsoft-IIS/7.5
164
- x-aspnet-version:
165
- - 2.0.50727
166
- x-powered-by:
167
- - ASP.NET
168
- date:
169
- - Wed, 03 Aug 2011 15:44:01 GMT
170
- content-length:
171
- - '269'
172
- body: ! "<?xml version=\"1.0\"?>\r\n<Exception xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
173
- xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <Error xsi:type=\"GenericError\">\r\n
174
- \ <Message>Process setup has not been run on this transaction</Message>\r\n
175
- \ </Error>\r\n</Exception>"
176
- http_version: '1.1'
177
- - !ruby/struct:VCR::HTTPInteraction
178
- request: !ruby/struct:VCR::Request
179
- method: :get
180
- uri: https://epayment.bbs.no:443/Netaxept/Register.aspx?CurrencyCode=NOK&MerchantId=123123&token=123test&amount=20100&orderNumber=12&redirectUrl=http%3A%2F%2Flocalhost%3A3000%2Forder%2F1%2Freturn
181
- body: !!null
182
- headers: !!null
183
- response: !ruby/struct:VCR::Response
184
- status: !ruby/struct:VCR::ResponseStatus
185
- code: 200
186
- message: OK
187
- headers:
188
- cache-control:
189
- - private
190
- content-type:
191
- - text/xml
192
- server:
193
- - Microsoft-IIS/7.5
194
- x-aspnet-version:
195
- - 2.0.50727
196
- x-powered-by:
197
- - ASP.NET
198
- date:
199
- - Wed, 03 Aug 2011 16:22:12 GMT
200
- content-length:
201
- - '258'
202
- body: ! "<?xml version=\"1.0\"?>\r\n<Exception xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
203
- xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <Error xsi:type=\"AuthenticationException\">\r\n
204
- \ <Message>Authentication failed (PROD)</Message>\r\n </Error>\r\n</Exception>"
205
- http_version: '1.1'
206
- - !ruby/struct:VCR::HTTPInteraction
207
- request: !ruby/struct:VCR::Request
208
- method: :get
209
- uri: https://epayment.bbs.no:443/Netaxept/Process.aspx?CurrencyCode=NOK&MerchantId=123123&token=123test&amount=20100&transactionId=&operation=SALE
210
- body: !!null
211
- headers: !!null
212
- response: !ruby/struct:VCR::Response
213
- status: !ruby/struct:VCR::ResponseStatus
214
- code: 200
215
- message: OK
216
- headers:
217
- cache-control:
218
- - private
219
- content-type:
220
- - text/xml
221
- server:
222
- - Microsoft-IIS/7.5
223
- x-aspnet-version:
224
- - 2.0.50727
225
- x-powered-by:
226
- - ASP.NET
227
- date:
228
- - Wed, 03 Aug 2011 16:22:13 GMT
229
- content-length:
230
- - '258'
231
- body: ! "<?xml version=\"1.0\"?>\r\n<Exception xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
232
- xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n <Error xsi:type=\"AuthenticationException\">\r\n
233
- \ <Message>Authentication failed (PROD)</Message>\r\n </Error>\r\n</Exception>"
234
- http_version: '1.1'
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" ?>
2
- <RegisterResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
- <TransactionId>b127f98b77f741fca6bb49981ee6e846</TransactionId>
4
- </RegisterResponse>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0"?>
2
- <Exception xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
- <Error xsi:type="ValidationException">
4
- <Message>Missing parameter: 'Order Number'</Message>
5
- </Error>
6
- </Exception>