spec/support/fixtures/vcr/gateway_debit.yml in wirecard_sepa-0.0.4 vs spec/support/fixtures/vcr/gateway_debit.yml in wirecard_sepa-0.0.5
- old
+ new
@@ -6,17 +6,21 @@
body:
encoding: UTF-8
string: |+
<payment xmlns="http://www.elastic-payments.com/schema/payment">
<merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
- <request-id>1b9084cb-ca19-45e1-9802-0036e2344bb9</request-id>
+ <request-id>24c99a63-86de-4ae5-bc0b-54d59baef94f</request-id>
<transaction-type>pending-debit</transaction-type>
<requested-amount 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 field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
<payment-methods>
<payment-method name="sepadirectdebit"/>
</payment-methods>
<bank-account>
<iban>DE42512308000000060004</iban>
@@ -25,11 +29,10 @@
<mandate>
<mandate-id>1235678</mandate-id>
<signed-date>2013-09-24</signed-date>
</mandate>
<creditor-id>DE00000000000000000000</creditor-id>
- <order-number>666</order-number>
</payment>
headers:
User-Agent:
- Typhoeus - https://github.com/typhoeus/typhoeus
@@ -39,25 +42,26 @@
status:
code: 201
message: Created
headers:
Date:
- - Tue, 02 Jun 2015 13:20:59 GMT
+ - Tue, 28 Jul 2015 09:49:15 GMT
Content-Type:
- application/xml;charset=UTF-8
Content-Language:
- en-US
Content-Length:
- - '1182'
+ - '1322'
Connection:
- close
body:
encoding: UTF-8
- 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>358fcfa6-092a-11e5-a7b4-005056a96a54</transaction-id><request-id>1b9084cb-ca19-45e1-9802-0036e2344bb9</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-06-02T13:20:59.000Z</completion-time-stamp><statuses><status
+ 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
code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
- currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><payment-methods><payment-method
- 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-06-05</due-date><provider-transaction-reference-id>BA68B8D736</provider-transaction-reference-id></payment>
+ 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
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ 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>
http_version: '1.1'
adapter_metadata:
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
- recorded_at: Tue, 02 Jun 2015 13:20:59 GMT
+ recorded_at: Tue, 28 Jul 2015 09:49:15 GMT
recorded_with: VCR 2.9.3