spec/vcr/transaction/refund/1289558212.yml in recurly-0.2.9 vs spec/vcr/transaction/refund/1289558212.yml in recurly-0.3.0
- old
+ new
@@ -4,53 +4,51 @@
method: :post
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
body: |
<?xml version="1.0" encoding="UTF-8"?>
<account>
+ <company-name>Recurly Ruby Gem</company-name>
<account-code>transaction-refund-1289558212</account-code>
- <first-name>Verena</first-name>
<last-name>Test</last-name>
<email>verena@test.com</email>
- <company-name>Recurly Ruby Gem</company-name>
+ <first-name>Verena</first-name>
</account>
headers:
- authorization:
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
- content-type:
- - application/xml
accept:
- "*/*"
- user-agent:
- - Ruby
connection:
- close
+ content-type:
+ - application/xml
+ authorization:
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 201
message: Created
headers:
- server:
- - nginx/0.7.65
- date:
- - Fri, 12 Nov 2010 10:37:03 GMT
- content-type:
- - application/xml; charset=utf-8
- connection:
- - close
- cache-control:
- - no-cache
location:
- https://recurlytest3-test.recurly.com/accounts/transaction-refund-1289558212
+ connection:
+ - close
+ content-type:
+ - application/xml; charset=utf-8
x-runtime:
- - "262"
+ - "273"
+ date:
+ - Tue, 16 Nov 2010 07:05:07 GMT
+ server:
+ - nginx/0.7.65
content-length:
- "591"
set-cookie:
- - account_credentials=4ae6056bda29944fdaad6244f54c913377932881aacba8b0510b1d39c98b618a03c55cf3b1e7b41dbb0980beccdbfcaad5217c50e8bc0ae912acaec14aecc504%3A%3A; domain=.recurly.com; path=/
+ - account_credentials=47386d6633c9d8204f21fca8c936f1ec6b9eeda33f08d44d1400b1950de9f87a42df47fcdb88cd831d6d1737301601e3f07f7d0807445c7b17a9d85eefc35686%3A%3A; domain=.recurly.com; path=/
- ""
- - _recurly_session=1768aedbac011d315417f5b2e539be32; domain=.recurly.com; path=/; secure; HttpOnly
+ - _recurly_session=a2c76be5786f6e6ef5880731da55e04e; domain=.recurly.com; path=/; secure; HttpOnly
+ cache-control:
+ - no-cache
body: |
<?xml version="1.0" encoding="UTF-8"?>
<account>
<id>transaction-refund-1289558212</id>
<account_code>transaction-refund-1289558212</account_code>
@@ -59,12 +57,12 @@
<first_name>Verena</first_name>
<last_name>Test</last_name>
<company_name>Recurly Ruby Gem</company_name>
<balance_in_cents type="integer">0</balance_in_cents>
<closed type="boolean">false</closed>
- <hosted_login_token>48837227e7a746409c7abf152fec375b</hosted_login_token>
- <created_at type="datetime">2010-11-12T10:37:03Z</created_at>
+ <hosted_login_token>7483f0cb10844e358a36e14831d00589</hosted_login_token>
+ <created_at type="datetime">2010-11-16T07:05:07Z</created_at>
<state>active</state>
</account>
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
@@ -72,62 +70,60 @@
method: :put
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-refund-1289558212/billing_info.xml
body: |
<?xml version="1.0" encoding="UTF-8"?>
<billing-info>
- <address1>123 Test St</address1>
<city>San Francisco</city>
- <state>CA</state>
+ <address1>123 Test St</address1>
<zip>94115</zip>
+ <account-code>transaction-refund-1289558212</account-code>
<country>US</country>
<credit-card>
<number>1</number>
- <year type="integer">2011</year>
<month type="integer">11</month>
+ <year type="integer">2011</year>
<verification-value>123</verification-value>
</credit-card>
- <account-code>transaction-refund-1289558212</account-code>
- <first-name>Verena</first-name>
<last-name>Test</last-name>
+ <first-name>Verena</first-name>
+ <state>CA</state>
</billing-info>
headers:
- authorization:
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
- content-type:
- - application/xml
accept:
- "*/*"
- user-agent:
- - Ruby
connection:
- close
+ content-type:
+ - application/xml
+ authorization:
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
- server:
- - nginx/0.7.65
- date:
- - Fri, 12 Nov 2010 10:37:01 GMT
- content-type:
- - application/xml; charset=utf-8
+ x-ua-compatible:
+ - IE=Edge
+ etag:
+ - "\"13c7ca0b1698267735ce42c4f66cb4fe\""
connection:
- close
+ content-type:
+ - application/xml; charset=utf-8
x-runtime:
- - "47"
- etag:
- - "\"b3da46cd521947fed529bf8c20ddab2e\""
- cache-control:
- - private, max-age=0, must-revalidate
+ - "53"
+ date:
+ - Tue, 16 Nov 2010 07:05:05 GMT
+ server:
+ - nginx/0.7.65
content-length:
- "643"
set-cookie:
- - _recurly_session=8d67768d635b1741e7b5a3e79bf08c86; domain=.recurly.com; path=/; secure; HttpOnly
- x-ua-compatible:
- - IE=Edge
+ - _recurly_session=649b1ebb496a48ce7c02c22cf8437de7; domain=.recurly.com; path=/; secure; HttpOnly
+ cache-control:
+ - private, max-age=0, must-revalidate
body: |
<?xml version="1.0" encoding="UTF-8"?>
<billing_info>
<account_code>transaction-refund-1289558212</account_code>
<first_name>Verena</first_name>
@@ -145,11 +141,11 @@
<type>bogus</type>
<last_four>1</last_four>
<month type="integer">11</month>
<year type="integer">2011</year>
</credit_card>
- <updated_at type="datetime">2010-11-12T10:37:01Z</updated_at>
+ <updated_at type="datetime">2010-11-16T07:05:05Z</updated_at>
</billing_info>
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
@@ -164,50 +160,48 @@
<amount-in-cents type="integer">1000</amount-in-cents>
<description>one</description>
</transaction>
headers:
- authorization:
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
- content-type:
- - application/xml
accept:
- "*/*"
- user-agent:
- - Ruby
connection:
- close
+ content-type:
+ - application/xml
+ authorization:
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 201
message: Created
headers:
- server:
- - nginx/0.7.65
- date:
- - Fri, 12 Nov 2010 10:37:04 GMT
- content-type:
- - application/xml; charset=utf-8
+ location:
+ - https://recurlytest3-test.recurly.com/transactions/79bc093c97dd48f48b95aa2b495fd523
connection:
- close
- cache-control:
- - no-cache
- location:
- - https://recurlytest3-test.recurly.com/transactions/0db5ff9f7a9c46a19859e3c49fa71727
+ content-type:
+ - application/xml; charset=utf-8
x-runtime:
- - "176"
+ - "304"
+ date:
+ - Tue, 16 Nov 2010 07:05:08 GMT
+ server:
+ - nginx/0.7.65
content-length:
- "851"
set-cookie:
- - _recurly_session=827f2203dc3bf4c51fad88a0fe48fa35; domain=.recurly.com; path=/; secure; HttpOnly
+ - _recurly_session=0dee1386f131cf04f782fd652e9a8230; domain=.recurly.com; path=/; secure; HttpOnly
+ cache-control:
+ - no-cache
body: |
<?xml version="1.0" encoding="UTF-8"?>
<transaction type="Payment">
- <id>0db5ff9f7a9c46a19859e3c49fa71727</id>
+ <id>79bc093c97dd48f48b95aa2b495fd523</id>
<account_code>transaction-refund-1289558212</account_code>
<action>purchase</action>
- <date type="datetime">2010-11-12T10:37:04Z</date>
+ <date type="datetime">2010-11-16T07:05:08Z</date>
<amount_in_cents type="integer">1000</amount_in_cents>
<status>success</status>
<message>Test Gateway: Successful test transaction</message>
<reference></reference>
<cvv_result code="M">Match</cvv_result>
@@ -225,52 +219,50 @@
http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction
request: !ruby/struct:VCR::Request
method: :delete
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/0db5ff9f7a9c46a19859e3c49fa71727.xml?action=refund&amount=1000
+ uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/79bc093c97dd48f48b95aa2b495fd523.xml?action=refund&amount=1000
body:
headers:
- authorization:
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
accept:
- application/xml
- user-agent:
- - Ruby
connection:
- close
+ authorization:
+ - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
response: !ruby/struct:VCR::Response
status: !ruby/struct:VCR::ResponseStatus
code: 200
message: OK
headers:
- server:
- - nginx/0.7.65
- date:
- - Fri, 12 Nov 2010 10:37:02 GMT
- content-type:
- - application/xml; charset=utf-8
+ x-ua-compatible:
+ - IE=Edge
+ etag:
+ - "\"4a1680f40f358271631e93c1f4c92466\""
connection:
- close
+ content-type:
+ - application/xml; charset=utf-8
x-runtime:
- - "26"
- etag:
- - "\"5b715afed3c606ba517dd56fdd836c81\""
- cache-control:
- - private, max-age=0, must-revalidate
+ - "32"
+ date:
+ - Tue, 16 Nov 2010 07:05:07 GMT
+ server:
+ - nginx/0.7.65
content-length:
- "850"
set-cookie:
- - _recurly_session=53fbfc2a01ec69b8fdf6b7c1cce56565; domain=.recurly.com; path=/; secure; HttpOnly
- x-ua-compatible:
- - IE=Edge
+ - _recurly_session=450d455ae75201e07a9e05d6c728f9f4; domain=.recurly.com; path=/; secure; HttpOnly
+ cache-control:
+ - private, max-age=0, must-revalidate
body: |
<?xml version="1.0" encoding="UTF-8"?>
<transaction type="Payment">
- <id>0db5ff9f7a9c46a19859e3c49fa71727</id>
+ <id>79bc093c97dd48f48b95aa2b495fd523</id>
<account_code>transaction-refund-1289558212</account_code>
<action>purchase</action>
- <date type="datetime">2010-11-12T10:37:04Z</date>
+ <date type="datetime">2010-11-16T07:05:08Z</date>
<amount_in_cents type="integer">1000</amount_in_cents>
<status>void</status>
<message>Test Gateway: Successful test transaction</message>
<reference></reference>
<cvv_result code="M">Match</cvv_result>