wirecard_sepa 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -0
- data/.travis.yml +1 -2
- data/lib/templates/wirecard_sepa/recurring/recurring_request.xml +1 -0
- data/lib/wirecard_sepa/direct_debit/response.rb +5 -0
- data/lib/wirecard_sepa/recurring/recurring_request.rb +1 -1
- data/lib/wirecard_sepa/version.rb +1 -1
- data/spec/lib/wirecard_sepa/gateway_spec.rb +15 -25
- data/spec/lib/wirecard_sepa/recurring/recurring_request_spec.rb +1 -0
- data/spec/lib/wirecard_sepa/recurring/recurring_response_spec.rb +1 -0
- data/spec/spec_helper.rb +10 -27
- data/spec/support/recurring/success/recurring_request.xml +1 -0
- data/wirecard_sepa.gemspec +1 -1
- metadata +6 -14
- data/spec/support/fixtures/vcr/gateway_debit.yml +0 -708
- data/spec/support/fixtures/vcr/gateway_recurring_init.yml +0 -708
- data/spec/support/fixtures/vcr/gateway_recurring_process.yml +0 -506
- data/spec/support/fixtures/vcr/gateway_recurring_process/init.yml +0 -772
@@ -1,506 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: |
|
9
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
10
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
11
|
-
<request-id>a057f0d6-c522-45a5-9996-4df350d77859</request-id>
|
12
|
-
<transaction-type>debit</transaction-type>
|
13
|
-
<parent-transaction-id>8fb76104-3532-11e5-b074-005056a96a54</parent-transaction-id>
|
14
|
-
<order-number>667</order-number>
|
15
|
-
<payment-methods>
|
16
|
-
<payment-method name="sepadirectdebit" />
|
17
|
-
</payment-methods>
|
18
|
-
<periodic>
|
19
|
-
<periodic-type>recurring</periodic-type>
|
20
|
-
<sequence-type>recurring</sequence-type>
|
21
|
-
</periodic>
|
22
|
-
</payment>
|
23
|
-
headers:
|
24
|
-
User-Agent:
|
25
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
26
|
-
Content-Type:
|
27
|
-
- application/xml
|
28
|
-
response:
|
29
|
-
status:
|
30
|
-
code: 201
|
31
|
-
message: Created
|
32
|
-
headers:
|
33
|
-
Date:
|
34
|
-
- Tue, 28 Jul 2015 14:11:38 GMT
|
35
|
-
Content-Type:
|
36
|
-
- application/xml;charset=UTF-8
|
37
|
-
Content-Language:
|
38
|
-
- en-US
|
39
|
-
Content-Length:
|
40
|
-
- '1424'
|
41
|
-
Connection:
|
42
|
-
- close
|
43
|
-
body:
|
44
|
-
encoding: UTF-8
|
45
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>900e9b72-3532-11e5-b074-005056a96a54</transaction-id><request-id>a057f0d6-c522-45a5-9996-4df350d77859</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:11:38.000Z</completion-time-stamp><statuses><status
|
46
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
47
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>8fb76104-3532-11e5-b074-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
48
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11T00:00:00.000Z</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><api-id>---</api-id><due-date>2015-07-31</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>80CF28357E</provider-transaction-reference-id></payment>
|
49
|
-
http_version: '1.1'
|
50
|
-
adapter_metadata:
|
51
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
52
|
-
recorded_at: Tue, 28 Jul 2015 14:11:39 GMT
|
53
|
-
- request:
|
54
|
-
method: post
|
55
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
56
|
-
body:
|
57
|
-
encoding: UTF-8
|
58
|
-
string: |
|
59
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
60
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
61
|
-
<request-id>7faad710-d738-4ffd-a55c-98b525cf3dec</request-id>
|
62
|
-
<transaction-type>debit</transaction-type>
|
63
|
-
<parent-transaction-id>f4b81c92-3532-11e5-b074-005056a96a54</parent-transaction-id>
|
64
|
-
<order-number>667</order-number>
|
65
|
-
<payment-methods>
|
66
|
-
<payment-method name="sepadirectdebit" />
|
67
|
-
</payment-methods>
|
68
|
-
<periodic>
|
69
|
-
<periodic-type>recurring</periodic-type>
|
70
|
-
<sequence-type>recurring</sequence-type>
|
71
|
-
</periodic>
|
72
|
-
</payment>
|
73
|
-
headers:
|
74
|
-
User-Agent:
|
75
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
76
|
-
Content-Type:
|
77
|
-
- application/xml
|
78
|
-
response:
|
79
|
-
status:
|
80
|
-
code: 201
|
81
|
-
message: Created
|
82
|
-
headers:
|
83
|
-
Date:
|
84
|
-
- Tue, 28 Jul 2015 14:14:27 GMT
|
85
|
-
Content-Type:
|
86
|
-
- application/xml;charset=UTF-8
|
87
|
-
Content-Language:
|
88
|
-
- en-US
|
89
|
-
Content-Length:
|
90
|
-
- '1424'
|
91
|
-
Connection:
|
92
|
-
- close
|
93
|
-
body:
|
94
|
-
encoding: UTF-8
|
95
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>f511c67a-3532-11e5-b074-005056a96a54</transaction-id><request-id>7faad710-d738-4ffd-a55c-98b525cf3dec</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:28.000Z</completion-time-stamp><statuses><status
|
96
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
97
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>f4b81c92-3532-11e5-b074-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
98
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11T00:00:00.000Z</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><api-id>---</api-id><due-date>2015-07-31</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>1490BA37C5</provider-transaction-reference-id></payment>
|
99
|
-
http_version: '1.1'
|
100
|
-
adapter_metadata:
|
101
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
102
|
-
recorded_at: Tue, 28 Jul 2015 14:14:28 GMT
|
103
|
-
- request:
|
104
|
-
method: post
|
105
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
106
|
-
body:
|
107
|
-
encoding: UTF-8
|
108
|
-
string: |
|
109
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
110
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
111
|
-
<request-id>dd41c644-e106-47bc-9af3-ec2ce67c7014</request-id>
|
112
|
-
<transaction-type>debit</transaction-type>
|
113
|
-
<parent-transaction-id>f8721856-3532-11e5-b074-005056a96a54</parent-transaction-id>
|
114
|
-
<order-number>667</order-number>
|
115
|
-
<payment-methods>
|
116
|
-
<payment-method name="sepadirectdebit" />
|
117
|
-
</payment-methods>
|
118
|
-
<periodic>
|
119
|
-
<periodic-type>recurring</periodic-type>
|
120
|
-
<sequence-type>recurring</sequence-type>
|
121
|
-
</periodic>
|
122
|
-
</payment>
|
123
|
-
headers:
|
124
|
-
User-Agent:
|
125
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
126
|
-
Content-Type:
|
127
|
-
- application/xml
|
128
|
-
response:
|
129
|
-
status:
|
130
|
-
code: 201
|
131
|
-
message: Created
|
132
|
-
headers:
|
133
|
-
Date:
|
134
|
-
- Tue, 28 Jul 2015 14:14:34 GMT
|
135
|
-
Content-Type:
|
136
|
-
- application/xml;charset=UTF-8
|
137
|
-
Content-Language:
|
138
|
-
- en-US
|
139
|
-
Content-Length:
|
140
|
-
- '1424'
|
141
|
-
Connection:
|
142
|
-
- close
|
143
|
-
body:
|
144
|
-
encoding: UTF-8
|
145
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>f8c5f89a-3532-11e5-b074-005056a96a54</transaction-id><request-id>dd41c644-e106-47bc-9af3-ec2ce67c7014</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:34.000Z</completion-time-stamp><statuses><status
|
146
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
147
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>f8721856-3532-11e5-b074-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
148
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11T00:00:00.000Z</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><api-id>---</api-id><due-date>2015-07-31</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>1DFDF7C5D3</provider-transaction-reference-id></payment>
|
149
|
-
http_version: '1.1'
|
150
|
-
adapter_metadata:
|
151
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
152
|
-
recorded_at: Tue, 28 Jul 2015 14:14:35 GMT
|
153
|
-
- request:
|
154
|
-
method: post
|
155
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
156
|
-
body:
|
157
|
-
encoding: UTF-8
|
158
|
-
string: |
|
159
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
160
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
161
|
-
<request-id>083678db-f6a4-4dc4-b715-b5a6452c4bf7</request-id>
|
162
|
-
<transaction-type>debit</transaction-type>
|
163
|
-
<parent-transaction-id>fb334d3a-3532-11e5-b074-005056a96a54</parent-transaction-id>
|
164
|
-
<order-number>667</order-number>
|
165
|
-
<payment-methods>
|
166
|
-
<payment-method name="sepadirectdebit" />
|
167
|
-
</payment-methods>
|
168
|
-
<periodic>
|
169
|
-
<periodic-type>recurring</periodic-type>
|
170
|
-
<sequence-type>recurring</sequence-type>
|
171
|
-
</periodic>
|
172
|
-
</payment>
|
173
|
-
headers:
|
174
|
-
User-Agent:
|
175
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
176
|
-
Content-Type:
|
177
|
-
- application/xml
|
178
|
-
response:
|
179
|
-
status:
|
180
|
-
code: 201
|
181
|
-
message: Created
|
182
|
-
headers:
|
183
|
-
Date:
|
184
|
-
- Tue, 28 Jul 2015 14:14:38 GMT
|
185
|
-
Content-Type:
|
186
|
-
- application/xml;charset=UTF-8
|
187
|
-
Content-Language:
|
188
|
-
- en-US
|
189
|
-
Content-Length:
|
190
|
-
- '1424'
|
191
|
-
Connection:
|
192
|
-
- close
|
193
|
-
body:
|
194
|
-
encoding: UTF-8
|
195
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>fb9ea382-3532-11e5-b074-005056a96a54</transaction-id><request-id>083678db-f6a4-4dc4-b715-b5a6452c4bf7</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:39.000Z</completion-time-stamp><statuses><status
|
196
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
197
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>fb334d3a-3532-11e5-b074-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
198
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11T00:00:00.000Z</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><api-id>---</api-id><due-date>2015-07-31</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>8C5AB00ECE</provider-transaction-reference-id></payment>
|
199
|
-
http_version: '1.1'
|
200
|
-
adapter_metadata:
|
201
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
202
|
-
recorded_at: Tue, 28 Jul 2015 14:14:39 GMT
|
203
|
-
- request:
|
204
|
-
method: post
|
205
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
206
|
-
body:
|
207
|
-
encoding: UTF-8
|
208
|
-
string: |
|
209
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
210
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
211
|
-
<request-id>4711</request-id>
|
212
|
-
<transaction-type>debit</transaction-type>
|
213
|
-
<parent-transaction-id>2480929c-3533-11e5-b074-005056a96a54</parent-transaction-id>
|
214
|
-
<order-number>667</order-number>
|
215
|
-
<payment-methods>
|
216
|
-
<payment-method name="sepadirectdebit" />
|
217
|
-
</payment-methods>
|
218
|
-
<periodic>
|
219
|
-
<periodic-type>recurring</periodic-type>
|
220
|
-
<sequence-type>recurring</sequence-type>
|
221
|
-
</periodic>
|
222
|
-
</payment>
|
223
|
-
headers:
|
224
|
-
User-Agent:
|
225
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
226
|
-
Content-Type:
|
227
|
-
- application/xml
|
228
|
-
response:
|
229
|
-
status:
|
230
|
-
code: 201
|
231
|
-
message: Created
|
232
|
-
headers:
|
233
|
-
Date:
|
234
|
-
- Tue, 28 Jul 2015 14:15:48 GMT
|
235
|
-
Content-Type:
|
236
|
-
- application/xml;charset=UTF-8
|
237
|
-
Content-Language:
|
238
|
-
- en-US
|
239
|
-
Content-Length:
|
240
|
-
- '1508'
|
241
|
-
Connection:
|
242
|
-
- close
|
243
|
-
body:
|
244
|
-
encoding: UTF-8
|
245
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>24be5942-3533-11e5-b074-005056a96a54</transaction-id><request-id>4711</request-id><transaction-type>debit</transaction-type><transaction-state>failed</transaction-state><completion-time-stamp>2015-07-28T14:15:48.000Z</completion-time-stamp><statuses><status
|
246
|
-
code="400.1023" description="The Transaction Type of the Parent Transaction
|
247
|
-
is invalid for the current operation. Please do not try again." severity="error"/><status
|
248
|
-
code="400.1018" description="The same Request Id for the Merchant Account
|
249
|
-
is being tried a second time. Please use another Request Id." severity="error"/></statuses><requested-amount
|
250
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>2480929c-3533-11e5-b074-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
251
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11T00:00:00.000Z</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><api-id>---</api-id><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic></payment>
|
252
|
-
http_version: '1.1'
|
253
|
-
adapter_metadata:
|
254
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
255
|
-
recorded_at: Tue, 28 Jul 2015 14:15:48 GMT
|
256
|
-
- request:
|
257
|
-
method: post
|
258
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
259
|
-
body:
|
260
|
-
encoding: UTF-8
|
261
|
-
string: |
|
262
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
263
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
264
|
-
<request-id>623a10a5-6dd2-40b0-9328-6f213106cb8a</request-id>
|
265
|
-
<transaction-type>debit</transaction-type>
|
266
|
-
<parent-transaction-id>53b06aec-3533-11e5-b074-005056a96a54</parent-transaction-id>
|
267
|
-
<order-number>667</order-number>
|
268
|
-
<payment-methods>
|
269
|
-
<payment-method name="sepadirectdebit" />
|
270
|
-
</payment-methods>
|
271
|
-
<periodic>
|
272
|
-
<periodic-type>recurring</periodic-type>
|
273
|
-
<sequence-type>recurring</sequence-type>
|
274
|
-
</periodic>
|
275
|
-
</payment>
|
276
|
-
headers:
|
277
|
-
User-Agent:
|
278
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
279
|
-
Content-Type:
|
280
|
-
- application/xml
|
281
|
-
response:
|
282
|
-
status:
|
283
|
-
code: 201
|
284
|
-
message: Created
|
285
|
-
headers:
|
286
|
-
Date:
|
287
|
-
- Tue, 28 Jul 2015 14:17:07 GMT
|
288
|
-
Content-Type:
|
289
|
-
- application/xml;charset=UTF-8
|
290
|
-
Content-Language:
|
291
|
-
- en-US
|
292
|
-
Content-Length:
|
293
|
-
- '1424'
|
294
|
-
Connection:
|
295
|
-
- close
|
296
|
-
body:
|
297
|
-
encoding: UTF-8
|
298
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>54033f92-3533-11e5-b074-005056a96a54</transaction-id><request-id>623a10a5-6dd2-40b0-9328-6f213106cb8a</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:17:07.000Z</completion-time-stamp><statuses><status
|
299
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
300
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>53b06aec-3533-11e5-b074-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
301
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11T00:00:00.000Z</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><api-id>---</api-id><due-date>2015-07-31</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>BF143B7570</provider-transaction-reference-id></payment>
|
302
|
-
http_version: '1.1'
|
303
|
-
adapter_metadata:
|
304
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
305
|
-
recorded_at: Tue, 28 Jul 2015 14:17:08 GMT
|
306
|
-
- request:
|
307
|
-
method: post
|
308
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
309
|
-
body:
|
310
|
-
encoding: UTF-8
|
311
|
-
string: |
|
312
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
313
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
314
|
-
<request-id>27020fa7-f163-449b-a3df-20e788401146</request-id>
|
315
|
-
<transaction-type>debit</transaction-type>
|
316
|
-
<parent-transaction-id>39c99a88-563d-11e5-9e69-005056a96a54</parent-transaction-id>
|
317
|
-
<order-number>667</order-number>
|
318
|
-
<payment-methods>
|
319
|
-
<payment-method name="sepadirectdebit" />
|
320
|
-
</payment-methods>
|
321
|
-
<periodic>
|
322
|
-
<periodic-type>recurring</periodic-type>
|
323
|
-
<sequence-type>recurring</sequence-type>
|
324
|
-
</periodic>
|
325
|
-
</payment>
|
326
|
-
headers:
|
327
|
-
User-Agent:
|
328
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
329
|
-
Content-Type:
|
330
|
-
- application/xml
|
331
|
-
response:
|
332
|
-
status:
|
333
|
-
code: 201
|
334
|
-
message: Created
|
335
|
-
headers:
|
336
|
-
Date:
|
337
|
-
- Tue, 08 Sep 2015 15:21:07 GMT
|
338
|
-
Content-Type:
|
339
|
-
- application/xml;charset=UTF-8
|
340
|
-
Content-Language:
|
341
|
-
- en-US
|
342
|
-
Content-Length:
|
343
|
-
- '1410'
|
344
|
-
Connection:
|
345
|
-
- close
|
346
|
-
body:
|
347
|
-
encoding: UTF-8
|
348
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>3a2d3426-563d-11e5-9e69-005056a96a54</transaction-id><request-id>27020fa7-f163-449b-a3df-20e788401146</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-09-08T15:21:07.000Z</completion-time-stamp><statuses><status
|
349
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
350
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>39c99a88-563d-11e5-9e69-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
351
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><api-id>---</api-id><due-date>2015-09-11</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>BCE33DD849</provider-transaction-reference-id></payment>
|
352
|
-
http_version: '1.1'
|
353
|
-
adapter_metadata:
|
354
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
355
|
-
recorded_at: Tue, 08 Sep 2015 15:21:07 GMT
|
356
|
-
- request:
|
357
|
-
method: post
|
358
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
359
|
-
body:
|
360
|
-
encoding: UTF-8
|
361
|
-
string: |
|
362
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
363
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
364
|
-
<request-id>620fcdc9-9702-4a1c-9956-6c565c9f50a8</request-id>
|
365
|
-
<transaction-type>debit</transaction-type>
|
366
|
-
<parent-transaction-id>bbe13cbe-7268-11e5-8db5-005056a96a54</parent-transaction-id>
|
367
|
-
<order-number>667</order-number>
|
368
|
-
<payment-methods>
|
369
|
-
<payment-method name="sepadirectdebit" />
|
370
|
-
</payment-methods>
|
371
|
-
<periodic>
|
372
|
-
<periodic-type>recurring</periodic-type>
|
373
|
-
<sequence-type>recurring</sequence-type>
|
374
|
-
</periodic>
|
375
|
-
</payment>
|
376
|
-
headers:
|
377
|
-
User-Agent:
|
378
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
379
|
-
Content-Type:
|
380
|
-
- application/xml
|
381
|
-
response:
|
382
|
-
status:
|
383
|
-
code: 201
|
384
|
-
message: Created
|
385
|
-
headers:
|
386
|
-
Date:
|
387
|
-
- Wed, 14 Oct 2015 11:43:06 GMT
|
388
|
-
Content-Type:
|
389
|
-
- application/xml;charset=UTF-8
|
390
|
-
Content-Language:
|
391
|
-
- en-US
|
392
|
-
Content-Length:
|
393
|
-
- '1406'
|
394
|
-
Connection:
|
395
|
-
- close
|
396
|
-
body:
|
397
|
-
encoding: UTF-8
|
398
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>bc368606-7268-11e5-8db5-005056a96a54</transaction-id><request-id>620fcdc9-9702-4a1c-9956-6c565c9f50a8</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-10-14T11:43:06.000Z</completion-time-stamp><statuses><status
|
399
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
400
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>bbe13cbe-7268-11e5-8db5-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
401
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11</signed-date></mandate><creditor-id>DE98ZZZ09999999999</creditor-id><api-id>---</api-id><due-date>2015-10-19</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>D9AEF11C78</provider-transaction-reference-id></payment>
|
402
|
-
http_version: '1.1'
|
403
|
-
adapter_metadata:
|
404
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
405
|
-
recorded_at: Wed, 14 Oct 2015 11:43:05 GMT
|
406
|
-
- request:
|
407
|
-
method: post
|
408
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
409
|
-
body:
|
410
|
-
encoding: UTF-8
|
411
|
-
string: |
|
412
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
413
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
414
|
-
<request-id>4ef7a2aa-fbb7-4acb-8e3e-1ec9cd55bbab</request-id>
|
415
|
-
<transaction-type>debit</transaction-type>
|
416
|
-
<parent-transaction-id>4825a51c-c5b5-11e5-b3b3-005056a96a54</parent-transaction-id>
|
417
|
-
<order-number>667</order-number>
|
418
|
-
<payment-methods>
|
419
|
-
<payment-method name="sepadirectdebit" />
|
420
|
-
</payment-methods>
|
421
|
-
<periodic>
|
422
|
-
<periodic-type>recurring</periodic-type>
|
423
|
-
<sequence-type>recurring</sequence-type>
|
424
|
-
</periodic>
|
425
|
-
</payment>
|
426
|
-
headers:
|
427
|
-
User-Agent:
|
428
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
429
|
-
Content-Type:
|
430
|
-
- application/xml
|
431
|
-
response:
|
432
|
-
status:
|
433
|
-
code: 201
|
434
|
-
message: Created
|
435
|
-
headers:
|
436
|
-
Date:
|
437
|
-
- Thu, 28 Jan 2016 11:50:09 GMT
|
438
|
-
Content-Type:
|
439
|
-
- application/xml;charset=UTF-8
|
440
|
-
Content-Language:
|
441
|
-
- en-US
|
442
|
-
Content-Length:
|
443
|
-
- '1406'
|
444
|
-
Connection:
|
445
|
-
- close
|
446
|
-
body:
|
447
|
-
encoding: UTF-8
|
448
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>48a96dd4-c5b5-11e5-b3b3-005056a96a54</transaction-id><request-id>4ef7a2aa-fbb7-4acb-8e3e-1ec9cd55bbab</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2016-01-28T11:50:10.000Z</completion-time-stamp><statuses><status
|
449
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
450
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>4825a51c-c5b5-11e5-b3b3-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
451
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11</signed-date></mandate><creditor-id>DE98ZZZ09999999999</creditor-id><api-id>---</api-id><due-date>2016-02-02</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>9B523CD3A1</provider-transaction-reference-id></payment>
|
452
|
-
http_version: '1.1'
|
453
|
-
adapter_metadata:
|
454
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
455
|
-
recorded_at: Thu, 28 Jan 2016 11:50:10 GMT
|
456
|
-
- request:
|
457
|
-
method: post
|
458
|
-
uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
459
|
-
body:
|
460
|
-
encoding: UTF-8
|
461
|
-
string: |
|
462
|
-
<payment xmlns="http://www.elastic-payments.com/schema/payment">
|
463
|
-
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
|
464
|
-
<request-id>07c8f895-2ced-4f9a-8125-b5e44b4990c4</request-id>
|
465
|
-
<transaction-type>debit</transaction-type>
|
466
|
-
<parent-transaction-id>55b7c66a-c5b5-11e5-b3b3-005056a96a54</parent-transaction-id>
|
467
|
-
<order-number>667</order-number>
|
468
|
-
<payment-methods>
|
469
|
-
<payment-method name="sepadirectdebit" />
|
470
|
-
</payment-methods>
|
471
|
-
<periodic>
|
472
|
-
<periodic-type>recurring</periodic-type>
|
473
|
-
<sequence-type>recurring</sequence-type>
|
474
|
-
</periodic>
|
475
|
-
</payment>
|
476
|
-
headers:
|
477
|
-
User-Agent:
|
478
|
-
- Typhoeus - https://github.com/typhoeus/typhoeus
|
479
|
-
Content-Type:
|
480
|
-
- application/xml
|
481
|
-
response:
|
482
|
-
status:
|
483
|
-
code: 201
|
484
|
-
message: Created
|
485
|
-
headers:
|
486
|
-
Date:
|
487
|
-
- Thu, 28 Jan 2016 11:50:32 GMT
|
488
|
-
Content-Type:
|
489
|
-
- application/xml;charset=UTF-8
|
490
|
-
Content-Language:
|
491
|
-
- en-US
|
492
|
-
Content-Length:
|
493
|
-
- '1406'
|
494
|
-
Connection:
|
495
|
-
- close
|
496
|
-
body:
|
497
|
-
encoding: UTF-8
|
498
|
-
string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>5635b20a-c5b5-11e5-b3b3-005056a96a54</transaction-id><request-id>07c8f895-2ced-4f9a-8125-b5e44b4990c4</request-id><transaction-type>debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2016-01-28T11:50:33.000Z</completion-time-stamp><statuses><status
|
499
|
-
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
|
500
|
-
currency="EUR">15.00</requested-amount><parent-transaction-id>55b7c66a-c5b5-11e5-b3b3-005056a96a54</parent-transaction-id><account-holder><first-name>Bob</first-name><last-name>Hawk</last-name></account-holder><order-number>667</order-number><payment-methods><payment-method
|
501
|
-
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>2356789</mandate-id><signed-date>2013-08-11</signed-date></mandate><creditor-id>DE98ZZZ09999999999</creditor-id><api-id>---</api-id><due-date>2016-02-02</due-date><periodic><periodic-type>recurring</periodic-type><sequence-type>recurring</sequence-type></periodic><provider-transaction-reference-id>720A27692A</provider-transaction-reference-id></payment>
|
502
|
-
http_version: '1.1'
|
503
|
-
adapter_metadata:
|
504
|
-
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
|
505
|
-
recorded_at: Thu, 28 Jan 2016 11:50:33 GMT
|
506
|
-
recorded_with: VCR 3.0.1
|