wirecard_sepa 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a62266ba26dfac60ae2236f37a68f67a00d0af8a
4
- data.tar.gz: 80e8f4f50148e6974401eac4bcee3970e41e2683
3
+ metadata.gz: eb017d5a1e8c8565f687f384e591a0ca1737a8d6
4
+ data.tar.gz: 23e29f839adc122359effceb2a3b89ea2bada6f4
5
5
  SHA512:
6
- metadata.gz: 90d20a6d5756156c2a14bcc9bb6b8f0ba892fb5b2f4399a210f73e8c5d4906717251f25235802c5a20824ac21bb4ec7cd93cb2ace8b435dbe37e19f953ac6a8d
7
- data.tar.gz: e01d3f8c329e3ec7bb315e682e93e293e12c6526c1fceef5bb831c8ddf96cb40c40189c7e686ab5190c794f60270444f674215be3511d161055a121fb56adcf5
6
+ metadata.gz: b9c765cde9e57257c36dd2acb98cac536b77e5bbc6a49ead825af81b1d5388abcf9a9f600174945b81393eb7f0f974c69b3fc089c3701e72e1501051e717ffe5
7
+ data.tar.gz: 8977336242a25b11482a41b17d7666b499f8e285546207c4573770b13f68710c9f92d9fa610a7b7305101f52db1083af036b200cbcedfef4458b8932a011b701
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.1.1] - 2015-09-08
2
+ ### Changed
3
+ - All response objects implement `to_s` which returns the actual response xml string
4
+
1
5
  ## [0.1.0] - 2015-08-05
2
6
  ### Changed
3
7
  - order_number is now a required parameter for recurring requests
@@ -53,6 +53,10 @@ module WirecardSepa
53
53
  value_at 'provider-transaction-reference-id'
54
54
  end
55
55
 
56
+ def to_s
57
+ xml
58
+ end
59
+
56
60
  private
57
61
 
58
62
  # Returns the text of a node with the given position. If
@@ -1,3 +1,3 @@
1
1
  module WirecardSepa
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -69,4 +69,10 @@ describe WirecardSepa::DirectDebit::Response do
69
69
  expect(empty_response).not_to be_success
70
70
  end
71
71
  end
72
+
73
+ describe '#to_s' do
74
+ it 'returns the response body' do
75
+ expect(success_response.to_s).to eq success_response.xml
76
+ end
77
+ end
72
78
  end
@@ -35,4 +35,10 @@ describe WirecardSepa::Recurring::FirstResponse do
35
35
  expect(success_response.success?).to eq true
36
36
  end
37
37
  end
38
+
39
+ describe '#to_s' do
40
+ it 'returns the response body' do
41
+ expect(success_response.to_s).to eq success_response.xml
42
+ end
43
+ end
38
44
  end
@@ -35,4 +35,10 @@ describe WirecardSepa::Recurring::RecurringResponse do
35
35
  expect(success_response.success?).to eq true
36
36
  end
37
37
  end
38
+
39
+ describe '#to_s' do
40
+ it 'returns the response body' do
41
+ expect(success_response.to_s).to eq success_response.xml
42
+ end
43
+ end
38
44
  end
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: |+
9
9
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
10
10
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
11
- <request-id>24c99a63-86de-4ae5-bc0b-54d59baef94f</request-id>
11
+ <request-id>e9c7969a-7580-4565-9c77-1fa7f4538ed3</request-id>
12
12
  <transaction-type>pending-debit</transaction-type>
13
13
  <requested-amount currency="EUR">12.12</requested-amount>
14
14
  <account-holder>
@@ -44,7 +44,7 @@ http_interactions:
44
44
  message: Created
45
45
  headers:
46
46
  Date:
47
- - Tue, 28 Jul 2015 09:49:15 GMT
47
+ - Tue, 28 Jul 2015 14:09:32 GMT
48
48
  Content-Type:
49
49
  - application/xml;charset=UTF-8
50
50
  Content-Language:
@@ -55,15 +55,15 @@ http_interactions:
55
55
  - close
56
56
  body:
57
57
  encoding: UTF-8
58
- 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>e85f5aac-350d-11e5-b074-005056a96a54</transaction-id><request-id>24c99a63-86de-4ae5-bc0b-54d59baef94f</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T09:49:15.000Z</completion-time-stamp><statuses><status
58
+ 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>44d06762-3532-11e5-b074-005056a96a54</transaction-id><request-id>e9c7969a-7580-4565-9c77-1fa7f4538ed3</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:09:32.000Z</completion-time-stamp><statuses><status
59
59
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
60
60
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
61
61
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
62
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>2C7E9C6B88</provider-transaction-reference-id></payment>
62
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>FF37F2B03D</provider-transaction-reference-id></payment>
63
63
  http_version: '1.1'
64
64
  adapter_metadata:
65
65
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
66
- recorded_at: Tue, 28 Jul 2015 09:49:15 GMT
66
+ recorded_at: Tue, 28 Jul 2015 14:09:33 GMT
67
67
  - request:
68
68
  method: post
69
69
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -72,7 +72,7 @@ http_interactions:
72
72
  string: |+
73
73
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
74
74
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
75
- <request-id>e9c7969a-7580-4565-9c77-1fa7f4538ed3</request-id>
75
+ <request-id>9a76c097-7acb-4544-b0e8-b0e18addc20f</request-id>
76
76
  <transaction-type>pending-debit</transaction-type>
77
77
  <requested-amount currency="EUR">12.12</requested-amount>
78
78
  <account-holder>
@@ -108,7 +108,7 @@ http_interactions:
108
108
  message: Created
109
109
  headers:
110
110
  Date:
111
- - Tue, 28 Jul 2015 14:09:32 GMT
111
+ - Tue, 28 Jul 2015 14:09:52 GMT
112
112
  Content-Type:
113
113
  - application/xml;charset=UTF-8
114
114
  Content-Language:
@@ -119,15 +119,15 @@ http_interactions:
119
119
  - close
120
120
  body:
121
121
  encoding: UTF-8
122
- 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>44d06762-3532-11e5-b074-005056a96a54</transaction-id><request-id>e9c7969a-7580-4565-9c77-1fa7f4538ed3</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:09:32.000Z</completion-time-stamp><statuses><status
122
+ 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>5072d58c-3532-11e5-b074-005056a96a54</transaction-id><request-id>9a76c097-7acb-4544-b0e8-b0e18addc20f</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:09:52.000Z</completion-time-stamp><statuses><status
123
123
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
124
124
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
125
125
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
126
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>FF37F2B03D</provider-transaction-reference-id></payment>
126
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>F2FC4EBF5C</provider-transaction-reference-id></payment>
127
127
  http_version: '1.1'
128
128
  adapter_metadata:
129
129
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
130
- recorded_at: Tue, 28 Jul 2015 14:09:33 GMT
130
+ recorded_at: Tue, 28 Jul 2015 14:09:52 GMT
131
131
  - request:
132
132
  method: post
133
133
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -136,7 +136,7 @@ http_interactions:
136
136
  string: |+
137
137
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
138
138
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
139
- <request-id>9a76c097-7acb-4544-b0e8-b0e18addc20f</request-id>
139
+ <request-id>7afb3c42-f804-450e-ba5b-be5a0810e032</request-id>
140
140
  <transaction-type>pending-debit</transaction-type>
141
141
  <requested-amount currency="EUR">12.12</requested-amount>
142
142
  <account-holder>
@@ -172,7 +172,7 @@ http_interactions:
172
172
  message: Created
173
173
  headers:
174
174
  Date:
175
- - Tue, 28 Jul 2015 14:09:52 GMT
175
+ - Tue, 28 Jul 2015 14:10:55 GMT
176
176
  Content-Type:
177
177
  - application/xml;charset=UTF-8
178
178
  Content-Language:
@@ -183,15 +183,15 @@ http_interactions:
183
183
  - close
184
184
  body:
185
185
  encoding: UTF-8
186
- 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>5072d58c-3532-11e5-b074-005056a96a54</transaction-id><request-id>9a76c097-7acb-4544-b0e8-b0e18addc20f</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:09:52.000Z</completion-time-stamp><statuses><status
186
+ 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>75db2446-3532-11e5-b074-005056a96a54</transaction-id><request-id>7afb3c42-f804-450e-ba5b-be5a0810e032</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:10:54.000Z</completion-time-stamp><statuses><status
187
187
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
188
188
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
189
189
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
190
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>F2FC4EBF5C</provider-transaction-reference-id></payment>
190
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>A1588D27BE</provider-transaction-reference-id></payment>
191
191
  http_version: '1.1'
192
192
  adapter_metadata:
193
193
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
194
- recorded_at: Tue, 28 Jul 2015 14:09:52 GMT
194
+ recorded_at: Tue, 28 Jul 2015 14:10:55 GMT
195
195
  - request:
196
196
  method: post
197
197
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -200,7 +200,7 @@ http_interactions:
200
200
  string: |+
201
201
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
202
202
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
203
- <request-id>7afb3c42-f804-450e-ba5b-be5a0810e032</request-id>
203
+ <request-id>0c4c36ac-1f57-4f3e-829e-23a23d99aaa0</request-id>
204
204
  <transaction-type>pending-debit</transaction-type>
205
205
  <requested-amount currency="EUR">12.12</requested-amount>
206
206
  <account-holder>
@@ -236,7 +236,7 @@ http_interactions:
236
236
  message: Created
237
237
  headers:
238
238
  Date:
239
- - Tue, 28 Jul 2015 14:10:55 GMT
239
+ - Tue, 28 Jul 2015 14:11:03 GMT
240
240
  Content-Type:
241
241
  - application/xml;charset=UTF-8
242
242
  Content-Language:
@@ -247,15 +247,15 @@ http_interactions:
247
247
  - close
248
248
  body:
249
249
  encoding: UTF-8
250
- 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>75db2446-3532-11e5-b074-005056a96a54</transaction-id><request-id>7afb3c42-f804-450e-ba5b-be5a0810e032</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:10:54.000Z</completion-time-stamp><statuses><status
250
+ 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>7adc8d5e-3532-11e5-b074-005056a96a54</transaction-id><request-id>0c4c36ac-1f57-4f3e-829e-23a23d99aaa0</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:11:03.000Z</completion-time-stamp><statuses><status
251
251
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
252
252
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
253
253
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
254
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>A1588D27BE</provider-transaction-reference-id></payment>
254
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>76E825C2C6</provider-transaction-reference-id></payment>
255
255
  http_version: '1.1'
256
256
  adapter_metadata:
257
257
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
258
- recorded_at: Tue, 28 Jul 2015 14:10:55 GMT
258
+ recorded_at: Tue, 28 Jul 2015 14:11:03 GMT
259
259
  - request:
260
260
  method: post
261
261
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -264,7 +264,7 @@ http_interactions:
264
264
  string: |+
265
265
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
266
266
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
267
- <request-id>0c4c36ac-1f57-4f3e-829e-23a23d99aaa0</request-id>
267
+ <request-id>46203133-baa1-4986-b4fc-d4de379dabe1</request-id>
268
268
  <transaction-type>pending-debit</transaction-type>
269
269
  <requested-amount currency="EUR">12.12</requested-amount>
270
270
  <account-holder>
@@ -300,7 +300,7 @@ http_interactions:
300
300
  message: Created
301
301
  headers:
302
302
  Date:
303
- - Tue, 28 Jul 2015 14:11:03 GMT
303
+ - Tue, 28 Jul 2015 14:11:37 GMT
304
304
  Content-Type:
305
305
  - application/xml;charset=UTF-8
306
306
  Content-Language:
@@ -311,15 +311,15 @@ http_interactions:
311
311
  - close
312
312
  body:
313
313
  encoding: UTF-8
314
- 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>7adc8d5e-3532-11e5-b074-005056a96a54</transaction-id><request-id>0c4c36ac-1f57-4f3e-829e-23a23d99aaa0</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:11:03.000Z</completion-time-stamp><statuses><status
314
+ 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>8f16836a-3532-11e5-b074-005056a96a54</transaction-id><request-id>46203133-baa1-4986-b4fc-d4de379dabe1</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:11:37.000Z</completion-time-stamp><statuses><status
315
315
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
316
316
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
317
317
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
318
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>76E825C2C6</provider-transaction-reference-id></payment>
318
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>4A1489043A</provider-transaction-reference-id></payment>
319
319
  http_version: '1.1'
320
320
  adapter_metadata:
321
321
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
322
- recorded_at: Tue, 28 Jul 2015 14:11:03 GMT
322
+ recorded_at: Tue, 28 Jul 2015 14:11:37 GMT
323
323
  - request:
324
324
  method: post
325
325
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -328,7 +328,7 @@ http_interactions:
328
328
  string: |+
329
329
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
330
330
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
331
- <request-id>46203133-baa1-4986-b4fc-d4de379dabe1</request-id>
331
+ <request-id>5399d22e-dec4-4588-9101-3330770531cb</request-id>
332
332
  <transaction-type>pending-debit</transaction-type>
333
333
  <requested-amount currency="EUR">12.12</requested-amount>
334
334
  <account-holder>
@@ -364,7 +364,7 @@ http_interactions:
364
364
  message: Created
365
365
  headers:
366
366
  Date:
367
- - Tue, 28 Jul 2015 14:11:37 GMT
367
+ - Tue, 28 Jul 2015 14:14:26 GMT
368
368
  Content-Type:
369
369
  - application/xml;charset=UTF-8
370
370
  Content-Language:
@@ -375,15 +375,15 @@ http_interactions:
375
375
  - close
376
376
  body:
377
377
  encoding: UTF-8
378
- 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>8f16836a-3532-11e5-b074-005056a96a54</transaction-id><request-id>46203133-baa1-4986-b4fc-d4de379dabe1</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:11:37.000Z</completion-time-stamp><statuses><status
378
+ 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>f410fac0-3532-11e5-b074-005056a96a54</transaction-id><request-id>5399d22e-dec4-4588-9101-3330770531cb</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:26.000Z</completion-time-stamp><statuses><status
379
379
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
380
380
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
381
381
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
382
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>4A1489043A</provider-transaction-reference-id></payment>
382
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>2C0DB50FE2</provider-transaction-reference-id></payment>
383
383
  http_version: '1.1'
384
384
  adapter_metadata:
385
385
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
386
- recorded_at: Tue, 28 Jul 2015 14:11:37 GMT
386
+ recorded_at: Tue, 28 Jul 2015 14:14:27 GMT
387
387
  - request:
388
388
  method: post
389
389
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -392,7 +392,7 @@ http_interactions:
392
392
  string: |+
393
393
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
394
394
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
395
- <request-id>5399d22e-dec4-4588-9101-3330770531cb</request-id>
395
+ <request-id>621b5397-6d45-481f-997e-8883a4aa33cb</request-id>
396
396
  <transaction-type>pending-debit</transaction-type>
397
397
  <requested-amount currency="EUR">12.12</requested-amount>
398
398
  <account-holder>
@@ -428,7 +428,7 @@ http_interactions:
428
428
  message: Created
429
429
  headers:
430
430
  Date:
431
- - Tue, 28 Jul 2015 14:14:26 GMT
431
+ - Tue, 28 Jul 2015 14:14:32 GMT
432
432
  Content-Type:
433
433
  - application/xml;charset=UTF-8
434
434
  Content-Language:
@@ -439,15 +439,15 @@ http_interactions:
439
439
  - close
440
440
  body:
441
441
  encoding: UTF-8
442
- 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>f410fac0-3532-11e5-b074-005056a96a54</transaction-id><request-id>5399d22e-dec4-4588-9101-3330770531cb</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:26.000Z</completion-time-stamp><statuses><status
442
+ 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>f7c76366-3532-11e5-b074-005056a96a54</transaction-id><request-id>621b5397-6d45-481f-997e-8883a4aa33cb</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:32.000Z</completion-time-stamp><statuses><status
443
443
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
444
444
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
445
445
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
446
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>2C0DB50FE2</provider-transaction-reference-id></payment>
446
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>B2404818A6</provider-transaction-reference-id></payment>
447
447
  http_version: '1.1'
448
448
  adapter_metadata:
449
449
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
450
- recorded_at: Tue, 28 Jul 2015 14:14:27 GMT
450
+ recorded_at: Tue, 28 Jul 2015 14:14:33 GMT
451
451
  - request:
452
452
  method: post
453
453
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -456,7 +456,7 @@ http_interactions:
456
456
  string: |+
457
457
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
458
458
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
459
- <request-id>621b5397-6d45-481f-997e-8883a4aa33cb</request-id>
459
+ <request-id>a813a5ef-c20f-4ab8-9d3c-d7685f1b68d4</request-id>
460
460
  <transaction-type>pending-debit</transaction-type>
461
461
  <requested-amount currency="EUR">12.12</requested-amount>
462
462
  <account-holder>
@@ -492,7 +492,7 @@ http_interactions:
492
492
  message: Created
493
493
  headers:
494
494
  Date:
495
- - Tue, 28 Jul 2015 14:14:32 GMT
495
+ - Tue, 28 Jul 2015 14:14:37 GMT
496
496
  Content-Type:
497
497
  - application/xml;charset=UTF-8
498
498
  Content-Language:
@@ -503,15 +503,15 @@ http_interactions:
503
503
  - close
504
504
  body:
505
505
  encoding: UTF-8
506
- 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>f7c76366-3532-11e5-b074-005056a96a54</transaction-id><request-id>621b5397-6d45-481f-997e-8883a4aa33cb</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:32.000Z</completion-time-stamp><statuses><status
506
+ 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>fa92c342-3532-11e5-b074-005056a96a54</transaction-id><request-id>a813a5ef-c20f-4ab8-9d3c-d7685f1b68d4</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:37.000Z</completion-time-stamp><statuses><status
507
507
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
508
508
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
509
509
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
510
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>B2404818A6</provider-transaction-reference-id></payment>
510
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>DA245E4FF7</provider-transaction-reference-id></payment>
511
511
  http_version: '1.1'
512
512
  adapter_metadata:
513
513
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
514
- recorded_at: Tue, 28 Jul 2015 14:14:33 GMT
514
+ recorded_at: Tue, 28 Jul 2015 14:14:38 GMT
515
515
  - request:
516
516
  method: post
517
517
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -520,7 +520,7 @@ http_interactions:
520
520
  string: |+
521
521
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
522
522
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
523
- <request-id>a813a5ef-c20f-4ab8-9d3c-d7685f1b68d4</request-id>
523
+ <request-id>4711</request-id>
524
524
  <transaction-type>pending-debit</transaction-type>
525
525
  <requested-amount currency="EUR">12.12</requested-amount>
526
526
  <account-holder>
@@ -556,26 +556,27 @@ http_interactions:
556
556
  message: Created
557
557
  headers:
558
558
  Date:
559
- - Tue, 28 Jul 2015 14:14:37 GMT
559
+ - Tue, 28 Jul 2015 14:15:47 GMT
560
560
  Content-Type:
561
561
  - application/xml;charset=UTF-8
562
562
  Content-Language:
563
563
  - en-US
564
564
  Content-Length:
565
- - '1322'
565
+ - '1270'
566
566
  Connection:
567
567
  - close
568
568
  body:
569
569
  encoding: UTF-8
570
- 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>fa92c342-3532-11e5-b074-005056a96a54</transaction-id><request-id>a813a5ef-c20f-4ab8-9d3c-d7685f1b68d4</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:37.000Z</completion-time-stamp><statuses><status
571
- code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
570
+ 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>240aca08-3533-11e5-b074-005056a96a54</transaction-id><request-id>4711</request-id><transaction-type>pending-debit</transaction-type><transaction-state>failed</transaction-state><completion-time-stamp>2015-07-28T14:15:46.000Z</completion-time-stamp><statuses><status
571
+ code="400.1018" description="The same Request Id for the Merchant Account
572
+ is being tried a second time. Please use another Request Id." severity="error"/></statuses><requested-amount
572
573
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
573
574
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
574
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>DA245E4FF7</provider-transaction-reference-id></payment>
575
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date></payment>
575
576
  http_version: '1.1'
576
577
  adapter_metadata:
577
578
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
578
- recorded_at: Tue, 28 Jul 2015 14:14:38 GMT
579
+ recorded_at: Tue, 28 Jul 2015 14:15:47 GMT
579
580
  - request:
580
581
  method: post
581
582
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -584,7 +585,7 @@ http_interactions:
584
585
  string: |+
585
586
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
586
587
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
587
- <request-id>4711</request-id>
588
+ <request-id>4979d1d8-1266-493b-90e0-b726fe184470</request-id>
588
589
  <transaction-type>pending-debit</transaction-type>
589
590
  <requested-amount currency="EUR">12.12</requested-amount>
590
591
  <account-holder>
@@ -620,27 +621,26 @@ http_interactions:
620
621
  message: Created
621
622
  headers:
622
623
  Date:
623
- - Tue, 28 Jul 2015 14:15:47 GMT
624
+ - Tue, 28 Jul 2015 14:17:06 GMT
624
625
  Content-Type:
625
626
  - application/xml;charset=UTF-8
626
627
  Content-Language:
627
628
  - en-US
628
629
  Content-Length:
629
- - '1270'
630
+ - '1322'
630
631
  Connection:
631
632
  - close
632
633
  body:
633
634
  encoding: UTF-8
634
- 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>240aca08-3533-11e5-b074-005056a96a54</transaction-id><request-id>4711</request-id><transaction-type>pending-debit</transaction-type><transaction-state>failed</transaction-state><completion-time-stamp>2015-07-28T14:15:46.000Z</completion-time-stamp><statuses><status
635
- code="400.1018" description="The same Request Id for the Merchant Account
636
- is being tried a second time. Please use another Request Id." severity="error"/></statuses><requested-amount
635
+ 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>5307e76e-3533-11e5-b074-005056a96a54</transaction-id><request-id>4979d1d8-1266-493b-90e0-b726fe184470</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:17:05.000Z</completion-time-stamp><statuses><status
636
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
637
637
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
638
638
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
639
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date></payment>
639
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>3D2A0153D1</provider-transaction-reference-id></payment>
640
640
  http_version: '1.1'
641
641
  adapter_metadata:
642
642
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
643
- recorded_at: Tue, 28 Jul 2015 14:15:47 GMT
643
+ recorded_at: Tue, 28 Jul 2015 14:17:06 GMT
644
644
  - request:
645
645
  method: post
646
646
  uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
@@ -649,7 +649,7 @@ http_interactions:
649
649
  string: |+
650
650
  <payment xmlns="http://www.elastic-payments.com/schema/payment">
651
651
  <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
652
- <request-id>4979d1d8-1266-493b-90e0-b726fe184470</request-id>
652
+ <request-id>7feac149-97ea-498c-827c-b57236a6ac07</request-id>
653
653
  <transaction-type>pending-debit</transaction-type>
654
654
  <requested-amount currency="EUR">12.12</requested-amount>
655
655
  <account-holder>
@@ -685,7 +685,7 @@ http_interactions:
685
685
  message: Created
686
686
  headers:
687
687
  Date:
688
- - Tue, 28 Jul 2015 14:17:06 GMT
688
+ - Tue, 08 Sep 2015 15:21:05 GMT
689
689
  Content-Type:
690
690
  - application/xml;charset=UTF-8
691
691
  Content-Language:
@@ -696,13 +696,13 @@ http_interactions:
696
696
  - close
697
697
  body:
698
698
  encoding: UTF-8
699
- 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>5307e76e-3533-11e5-b074-005056a96a54</transaction-id><request-id>4979d1d8-1266-493b-90e0-b726fe184470</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:17:05.000Z</completion-time-stamp><statuses><status
699
+ 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>390609ce-563d-11e5-9e69-005056a96a54</transaction-id><request-id>7feac149-97ea-498c-827c-b57236a6ac07</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-09-08T15:21:05.000Z</completion-time-stamp><statuses><status
700
700
  code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
701
701
  currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
702
702
  field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
703
- name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>3D2A0153D1</provider-transaction-reference-id></payment>
703
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-09-11</due-date><provider-transaction-reference-id>B055CF12C5</provider-transaction-reference-id></payment>
704
704
  http_version: '1.1'
705
705
  adapter_metadata:
706
706
  effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
707
- recorded_at: Tue, 28 Jul 2015 14:17:06 GMT
707
+ recorded_at: Tue, 08 Sep 2015 15:21:05 GMT
708
708
  recorded_with: VCR 2.9.3