recurly 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of recurly might be problematic. Click here for more details.

Files changed (86) hide show
  1. data/lib/recurly.rb +13 -5
  2. data/lib/recurly/rails3/railtie.rb +1 -8
  3. data/lib/recurly/version.rb +1 -1
  4. data/spec/vcr/account/close/1288381765.yml +15 -15
  5. data/spec/vcr/account/create-blank/1288381765.yml +3 -3
  6. data/spec/vcr/account/create-duplicate/1288381765.yml +27 -12
  7. data/spec/vcr/account/create-min/1288381765.yml +6 -6
  8. data/spec/vcr/account/create/1288381765.yml +6 -6
  9. data/spec/vcr/account/find/1288381765.yml +14 -14
  10. data/spec/vcr/account/list/1288381765.yml +251 -530
  11. data/spec/vcr/account/update/1288381765.yml +26 -26
  12. data/spec/vcr/billing/create/1286682213.yml +20 -20
  13. data/spec/vcr/billing/destroy/1286682213.yml +29 -29
  14. data/spec/vcr/billing/find/1286682213.yml +25 -25
  15. data/spec/vcr/billing/update/1286682213.yml +27 -27
  16. data/spec/vcr/charge/create/1287465632.yml +31 -29
  17. data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +33 -31
  18. data/spec/vcr/charge/list-all/1287465632.yml +43 -40
  19. data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -66
  20. data/spec/vcr/charge/list-pending/1287465632.yml +43 -40
  21. data/spec/vcr/charge/lookup/1287465632.yml +24 -22
  22. data/spec/vcr/credit/create/1287461400.yml +24 -22
  23. data/spec/vcr/credit/delete/1287461400.yml +31 -29
  24. data/spec/vcr/credit/list/1287461400.yml +47 -41
  25. data/spec/vcr/credit/lookup/1287461400.yml +23 -21
  26. data/spec/vcr/invoice/create-no-charges/1287167121.yml +16 -16
  27. data/spec/vcr/invoice/create/1287167121.yml +42 -40
  28. data/spec/vcr/invoice/list/1287167121.yml +59 -57
  29. data/spec/vcr/invoice/lookup/1287167121.yml +42 -41
  30. data/spec/vcr/plan/all.yml +9 -9
  31. data/spec/vcr/plan/delete/1286677585.yml +16 -16
  32. data/spec/vcr/plan/find.yml +9 -9
  33. data/spec/vcr/plan/update.yml +12 -12
  34. data/spec/vcr/subscription/cancel-with-code/1287455769.yml +52 -52
  35. data/spec/vcr/subscription/cancel/1287455769.yml +43 -43
  36. data/spec/vcr/subscription/change1/1287455769.yml +39 -39
  37. data/spec/vcr/subscription/change2/1287455769.yml +39 -39
  38. data/spec/vcr/subscription/create/1287455769.yml +18 -18
  39. data/spec/vcr/subscription/find/1287455769.yml +25 -25
  40. data/spec/vcr/subscription/reactivate/1287455769.yml +45 -45
  41. data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
  42. data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
  43. data/spec/vcr/subscription/refund-partial/1287455769.yml +37 -37
  44. data/spec/vcr/transaction/all/1289558212.yml +363 -54
  45. data/spec/vcr/transaction/create-no-account/1289558212.yml +25 -27
  46. data/spec/vcr/transaction/create-with-account/1289558212.yml +63 -69
  47. data/spec/vcr/transaction/list-filled/1289558212.yml +191 -148
  48. data/spec/vcr/transaction/list-initial/1289558212.yml +86 -84
  49. data/spec/vcr/transaction/lookup/1289558212.yml +222 -214
  50. data/spec/vcr/transaction/refund/1289558212.yml +82 -90
  51. data/spec/vcr/transaction/void/1289558212.yml +377 -143
  52. metadata +4 -72
  53. data/spec/vcr/account/close/1287167046.yml +0 -159
  54. data/spec/vcr/account/close/1288381369.yml +0 -159
  55. data/spec/vcr/account/close/1288381447.yml +0 -159
  56. data/spec/vcr/account/create-blank/1287167046.yml +0 -49
  57. data/spec/vcr/account/create-blank/1288381369.yml +0 -49
  58. data/spec/vcr/account/create-blank/1288381447.yml +0 -49
  59. data/spec/vcr/account/create-duplicate/1287167046.yml +0 -110
  60. data/spec/vcr/account/create-duplicate/1288381369.yml +0 -95
  61. data/spec/vcr/account/create-duplicate/1288381447.yml +0 -95
  62. data/spec/vcr/account/create-min/1287167046.yml +0 -63
  63. data/spec/vcr/account/create-min/1288381369.yml +0 -63
  64. data/spec/vcr/account/create-min/1288381447.yml +0 -63
  65. data/spec/vcr/account/create/1287167046.yml +0 -67
  66. data/spec/vcr/account/create/1288381369.yml +0 -67
  67. data/spec/vcr/account/create/1288381447.yml +0 -67
  68. data/spec/vcr/account/find-all/1288381369.yml +0 -52
  69. data/spec/vcr/account/find-all/1288381447.yml +0 -1383
  70. data/spec/vcr/account/find/1287167046.yml +0 -160
  71. data/spec/vcr/account/find/1288381369.yml +0 -160
  72. data/spec/vcr/account/find/1288381447.yml +0 -160
  73. data/spec/vcr/account/list/1287167046.yml +0 -1538
  74. data/spec/vcr/account/list/1288381369.yml +0 -1835
  75. data/spec/vcr/account/list/1288381447.yml +0 -1835
  76. data/spec/vcr/account/update/1287167046.yml +0 -250
  77. data/spec/vcr/account/update/1288381369.yml +0 -250
  78. data/spec/vcr/account/update/1288381447.yml +0 -250
  79. data/spec/vcr/transaction/all/1287186411.yml +0 -387
  80. data/spec/vcr/transaction/create-no-account/1287186411.yml +0 -91
  81. data/spec/vcr/transaction/create-with-account/1287186411.yml +0 -220
  82. data/spec/vcr/transaction/list-empty/1287186411.yml +0 -212
  83. data/spec/vcr/transaction/list-filled/1287186411.yml +0 -476
  84. data/spec/vcr/transaction/lookup/1287186411.yml +0 -548
  85. data/spec/vcr/transaction/refund/1287186411.yml +0 -282
  86. data/spec/vcr/transaction/void/1287186411.yml +0 -600
@@ -1,91 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml
6
- body: |
7
- <?xml version="1.0" encoding="UTF-8"?>
8
- <transaction>
9
- <account>
10
- <company-name>Recurly Ruby Gem</company-name>
11
- <account-code>transaction-create-with-accout-1287186411</account-code>
12
- <last-name>Test</last-name>
13
- <billing-info>
14
- <city>San Francisco</city>
15
- <address1>123 Test St</address1>
16
- <zip>94115</zip>
17
- <country>US</country>
18
- <credit-card>
19
- <number>1</number>
20
- <month type="integer">10</month>
21
- <year type="integer">2011</year>
22
- <verification-value>123</verification-value>
23
- </credit-card>
24
- <state>CA</state>
25
- </billing-info>
26
- <email>verena@test.com</email>
27
- <first-name>Verena</first-name>
28
- </account>
29
- <amount-in-cents type="integer">700</amount-in-cents>
30
- <description>setup fee of 7 dollarz</description>
31
- </transaction>
32
-
33
- headers:
34
- accept:
35
- - "*/*"
36
- connection:
37
- - close
38
- content-type:
39
- - application/xml
40
- authorization:
41
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
42
- response: !ruby/struct:VCR::Response
43
- status: !ruby/struct:VCR::ResponseStatus
44
- code: 201
45
- message: Created
46
- headers:
47
- location:
48
- - https://recurlytest3-test.recurly.com/transactions/2e42718d142b4d479c5f384def8f7b5f
49
- connection:
50
- - close
51
- content-type:
52
- - application/xml; charset=utf-8
53
- x-runtime:
54
- - "1035"
55
- date:
56
- - Tue, 19 Oct 2010 05:23:14 GMT
57
- server:
58
- - nginx/0.7.65
59
- content-length:
60
- - "862"
61
- set-cookie:
62
- - account_credentials=20c2f91fc466ad267d4fe3e444f0b781d5784e2ff5b192b3bcf09958f6932f2d89e467c8d90eb4f35e0c6bf1dfdd46b78e8f25246abaf6c0da919883aef54886%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
63
- - ""
64
- - _recurly_session=d8b2d4f71f39fe00b6b31df6f6e950f0; domain=.recurly.com; path=/; Secure; HttpOnly
65
- cache-control:
66
- - no-cache
67
- body: |
68
- <?xml version="1.0" encoding="UTF-8"?>
69
- <transaction type="Payment">
70
- <id>2e42718d142b4d479c5f384def8f7b5f</id>
71
- <account_code>transaction-create-with-accout-1287186411</account_code>
72
- <action>purchase</action>
73
- <date type="datetime">2010-10-19T05:23:13Z</date>
74
- <amount_in_cents type="integer">700</amount_in_cents>
75
- <status>success</status>
76
- <message>Test Gateway: Successful test transaction</message>
77
- <reference></reference>
78
- <cvv_result code="M">Match</cvv_result>
79
- <avs_result code="D">Street address and postal code match.</avs_result>
80
- <avs_result_street></avs_result_street>
81
- <avs_result_postal></avs_result_postal>
82
- <test type="boolean">true</test>
83
- <voidable type="boolean">true</voidable>
84
- <refundable type="boolean">true</refundable>
85
- <credit_card>
86
- <type>bogus</type>
87
- <last_four>1</last_four>
88
- </credit_card>
89
- </transaction>
90
-
91
- http_version: "1.1"
@@ -1,220 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
6
- body: |
7
- <?xml version="1.0" encoding="UTF-8"?>
8
- <account>
9
- <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>transaction-create-with-account-1287186411</account-code>
11
- <last-name>Test</last-name>
12
- <email>verena@test.com</email>
13
- <first-name>Verena</first-name>
14
- </account>
15
-
16
- headers:
17
- accept:
18
- - "*/*"
19
- connection:
20
- - close
21
- content-type:
22
- - application/xml
23
- authorization:
24
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
25
- response: !ruby/struct:VCR::Response
26
- status: !ruby/struct:VCR::ResponseStatus
27
- code: 201
28
- message: Created
29
- headers:
30
- location:
31
- - https://recurlytest3-test.recurly.com/accounts/transaction-create-with-account-1287186411
32
- connection:
33
- - close
34
- content-type:
35
- - application/xml; charset=utf-8
36
- x-runtime:
37
- - "609"
38
- date:
39
- - Tue, 19 Oct 2010 05:23:15 GMT
40
- server:
41
- - nginx/0.7.65
42
- content-length:
43
- - "617"
44
- set-cookie:
45
- - account_credentials=4ef2d5c1c0e664fb0c584c2e6e2b49effccf24d90d69fb608de4aaabb827bbf0169f80f599cc8bf856ecfac8576c106a492113059a889b3abbac28bd52e36be1%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
- - ""
47
- - _recurly_session=3654e22c07a13cbee49cef68c825e2b9; domain=.recurly.com; path=/; Secure; HttpOnly
48
- cache-control:
49
- - no-cache
50
- body: |
51
- <?xml version="1.0" encoding="UTF-8"?>
52
- <account>
53
- <id>transaction-create-with-account-1287186411</id>
54
- <account_code>transaction-create-with-account-1287186411</account_code>
55
- <username></username>
56
- <email>verena@test.com</email>
57
- <first_name>Verena</first_name>
58
- <last_name>Test</last_name>
59
- <company_name>Recurly Ruby Gem</company_name>
60
- <balance_in_cents type="integer">0</balance_in_cents>
61
- <closed type="boolean">false</closed>
62
- <hosted_login_token>94087af59d294c7dacebc2d34cb9f183</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:23:15Z</created_at>
64
- <state>active</state>
65
- </account>
66
-
67
- http_version: "1.1"
68
- - !ruby/struct:VCR::HTTPInteraction
69
- request: !ruby/struct:VCR::Request
70
- method: :put
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-create-with-account-1287186411/billing_info.xml
72
- body: |
73
- <?xml version="1.0" encoding="UTF-8"?>
74
- <billing-info>
75
- <city>San Francisco</city>
76
- <address1>123 Test St</address1>
77
- <zip>94115</zip>
78
- <account-code>transaction-create-with-account-1287186411</account-code>
79
- <country>US</country>
80
- <credit-card>
81
- <number>1</number>
82
- <month type="integer">10</month>
83
- <year type="integer">2011</year>
84
- <verification-value>123</verification-value>
85
- </credit-card>
86
- <last-name>Test</last-name>
87
- <first-name>Verena</first-name>
88
- <state>CA</state>
89
- </billing-info>
90
-
91
- headers:
92
- accept:
93
- - "*/*"
94
- connection:
95
- - close
96
- content-type:
97
- - application/xml
98
- authorization:
99
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
100
- response: !ruby/struct:VCR::Response
101
- status: !ruby/struct:VCR::ResponseStatus
102
- code: 200
103
- message: OK
104
- headers:
105
- x-ua-compatible:
106
- - IE=Edge
107
- etag:
108
- - "\"fb2b884307f7d6b2016ad74a6f726d9f\""
109
- connection:
110
- - close
111
- content-type:
112
- - application/xml; charset=utf-8
113
- x-runtime:
114
- - "59"
115
- date:
116
- - Tue, 19 Oct 2010 05:23:16 GMT
117
- server:
118
- - nginx/0.7.65
119
- content-length:
120
- - "656"
121
- set-cookie:
122
- - _recurly_session=404d36f9a63fa14a7ce979aeb82a22c4; domain=.recurly.com; path=/; Secure; HttpOnly
123
- cache-control:
124
- - private, max-age=0, must-revalidate
125
- body: |
126
- <?xml version="1.0" encoding="UTF-8"?>
127
- <billing_info>
128
- <account_code>transaction-create-with-account-1287186411</account_code>
129
- <first_name>Verena</first_name>
130
- <last_name>Test</last_name>
131
- <address1>123 Test St</address1>
132
- <address2></address2>
133
- <city>San Francisco</city>
134
- <state>CA</state>
135
- <country>US</country>
136
- <zip>94115</zip>
137
- <phone></phone>
138
- <vat_number></vat_number>
139
- <ip_address></ip_address>
140
- <credit_card>
141
- <type>bogus</type>
142
- <last_four>1</last_four>
143
- <month type="integer">10</month>
144
- <year type="integer">2011</year>
145
- </credit_card>
146
- <updated_at type="datetime">2010-10-19T05:23:16Z</updated_at>
147
- </billing_info>
148
-
149
- http_version: "1.1"
150
- - !ruby/struct:VCR::HTTPInteraction
151
- request: !ruby/struct:VCR::Request
152
- method: :post
153
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions.xml
154
- body: |
155
- <?xml version="1.0" encoding="UTF-8"?>
156
- <transaction>
157
- <account>
158
- <account-code>transaction-create-with-account-1287186411</account-code>
159
- </account>
160
- <amount-in-cents type="integer">700</amount-in-cents>
161
- <description>test transaction for $7</description>
162
- </transaction>
163
-
164
- headers:
165
- accept:
166
- - "*/*"
167
- connection:
168
- - close
169
- content-type:
170
- - application/xml
171
- authorization:
172
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
173
- response: !ruby/struct:VCR::Response
174
- status: !ruby/struct:VCR::ResponseStatus
175
- code: 201
176
- message: Created
177
- headers:
178
- location:
179
- - https://recurlytest3-test.recurly.com/transactions/7dce639c179e4d68b8d33571645d4755
180
- connection:
181
- - close
182
- content-type:
183
- - application/xml; charset=utf-8
184
- x-runtime:
185
- - "378"
186
- date:
187
- - Tue, 19 Oct 2010 05:23:17 GMT
188
- server:
189
- - nginx/0.7.65
190
- content-length:
191
- - "863"
192
- set-cookie:
193
- - _recurly_session=5853ae36e6fdbc2dc5b8c18994c28cd6; domain=.recurly.com; path=/; Secure; HttpOnly
194
- cache-control:
195
- - no-cache
196
- body: |
197
- <?xml version="1.0" encoding="UTF-8"?>
198
- <transaction type="Payment">
199
- <id>7dce639c179e4d68b8d33571645d4755</id>
200
- <account_code>transaction-create-with-account-1287186411</account_code>
201
- <action>purchase</action>
202
- <date type="datetime">2010-10-19T05:23:17Z</date>
203
- <amount_in_cents type="integer">700</amount_in_cents>
204
- <status>success</status>
205
- <message>Test Gateway: Successful test transaction</message>
206
- <reference></reference>
207
- <cvv_result code="M">Match</cvv_result>
208
- <avs_result code="D">Street address and postal code match.</avs_result>
209
- <avs_result_street></avs_result_street>
210
- <avs_result_postal></avs_result_postal>
211
- <test type="boolean">true</test>
212
- <voidable type="boolean">true</voidable>
213
- <refundable type="boolean">true</refundable>
214
- <credit_card>
215
- <type>bogus</type>
216
- <last_four>1</last_four>
217
- </credit_card>
218
- </transaction>
219
-
220
- http_version: "1.1"
@@ -1,212 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :post
5
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts.xml
6
- body: |
7
- <?xml version="1.0" encoding="UTF-8"?>
8
- <account>
9
- <company-name>Recurly Ruby Gem</company-name>
10
- <account-code>transaction-list-empty-1287186411</account-code>
11
- <last-name>Test</last-name>
12
- <email>verena@test.com</email>
13
- <first-name>Verena</first-name>
14
- </account>
15
-
16
- headers:
17
- accept:
18
- - "*/*"
19
- connection:
20
- - close
21
- content-type:
22
- - application/xml
23
- authorization:
24
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
25
- response: !ruby/struct:VCR::Response
26
- status: !ruby/struct:VCR::ResponseStatus
27
- code: 201
28
- message: Created
29
- headers:
30
- location:
31
- - https://recurlytest3-test.recurly.com/accounts/transaction-list-empty-1287186411
32
- connection:
33
- - close
34
- content-type:
35
- - application/xml; charset=utf-8
36
- x-runtime:
37
- - "586"
38
- date:
39
- - Tue, 19 Oct 2010 05:23:19 GMT
40
- server:
41
- - nginx/0.7.65
42
- content-length:
43
- - "599"
44
- set-cookie:
45
- - account_credentials=ebc7766c2c932b691650c84e5b74a7a71d3bb5672061959c25ea58aabf0aeeff1df30e12324200b5d2bf02e7c15f30b358d296e648eb46f503bb5d88de7c7f6a%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
46
- - ""
47
- - _recurly_session=76ca5c1f77ec3a3f97783d620aa956e4; domain=.recurly.com; path=/; Secure; HttpOnly
48
- cache-control:
49
- - no-cache
50
- body: |
51
- <?xml version="1.0" encoding="UTF-8"?>
52
- <account>
53
- <id>transaction-list-empty-1287186411</id>
54
- <account_code>transaction-list-empty-1287186411</account_code>
55
- <username></username>
56
- <email>verena@test.com</email>
57
- <first_name>Verena</first_name>
58
- <last_name>Test</last_name>
59
- <company_name>Recurly Ruby Gem</company_name>
60
- <balance_in_cents type="integer">0</balance_in_cents>
61
- <closed type="boolean">false</closed>
62
- <hosted_login_token>da4a29fcb9a3475db3d2a8e9d4bd801e</hosted_login_token>
63
- <created_at type="datetime">2010-10-19T05:23:19Z</created_at>
64
- <state>active</state>
65
- </account>
66
-
67
- http_version: "1.1"
68
- - !ruby/struct:VCR::HTTPInteraction
69
- request: !ruby/struct:VCR::Request
70
- method: :put
71
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-empty-1287186411/billing_info.xml
72
- body: |
73
- <?xml version="1.0" encoding="UTF-8"?>
74
- <billing-info>
75
- <city>San Francisco</city>
76
- <address1>123 Test St</address1>
77
- <zip>94115</zip>
78
- <account-code>transaction-list-empty-1287186411</account-code>
79
- <country>US</country>
80
- <credit-card>
81
- <number>1</number>
82
- <month type="integer">10</month>
83
- <year type="integer">2011</year>
84
- <verification-value>123</verification-value>
85
- </credit-card>
86
- <last-name>Test</last-name>
87
- <first-name>Verena</first-name>
88
- <state>CA</state>
89
- </billing-info>
90
-
91
- headers:
92
- accept:
93
- - "*/*"
94
- connection:
95
- - close
96
- content-type:
97
- - application/xml
98
- authorization:
99
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
100
- response: !ruby/struct:VCR::Response
101
- status: !ruby/struct:VCR::ResponseStatus
102
- code: 200
103
- message: OK
104
- headers:
105
- x-ua-compatible:
106
- - IE=Edge
107
- etag:
108
- - "\"f28dc8d261c2b479f4066cf4fbf4fe88\""
109
- connection:
110
- - close
111
- content-type:
112
- - application/xml; charset=utf-8
113
- x-runtime:
114
- - "60"
115
- date:
116
- - Tue, 19 Oct 2010 05:23:20 GMT
117
- server:
118
- - nginx/0.7.65
119
- content-length:
120
- - "647"
121
- set-cookie:
122
- - _recurly_session=eb17b55996c6ab304508e7b9b756a422; domain=.recurly.com; path=/; Secure; HttpOnly
123
- cache-control:
124
- - private, max-age=0, must-revalidate
125
- body: |
126
- <?xml version="1.0" encoding="UTF-8"?>
127
- <billing_info>
128
- <account_code>transaction-list-empty-1287186411</account_code>
129
- <first_name>Verena</first_name>
130
- <last_name>Test</last_name>
131
- <address1>123 Test St</address1>
132
- <address2></address2>
133
- <city>San Francisco</city>
134
- <state>CA</state>
135
- <country>US</country>
136
- <zip>94115</zip>
137
- <phone></phone>
138
- <vat_number></vat_number>
139
- <ip_address></ip_address>
140
- <credit_card>
141
- <type>bogus</type>
142
- <last_four>1</last_four>
143
- <month type="integer">10</month>
144
- <year type="integer">2011</year>
145
- </credit_card>
146
- <updated_at type="datetime">2010-10-19T05:23:20Z</updated_at>
147
- </billing_info>
148
-
149
- http_version: "1.1"
150
- - !ruby/struct:VCR::HTTPInteraction
151
- request: !ruby/struct:VCR::Request
152
- method: :get
153
- uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/transaction-list-empty-1287186411/transactions
154
- body:
155
- headers:
156
- accept:
157
- - application/xml
158
- connection:
159
- - close
160
- authorization:
161
- - Basic cmFpbHNqZWRpQHNvZ2V0dGhpcy5jb206N1BDQjJtWkM=
162
- response: !ruby/struct:VCR::Response
163
- status: !ruby/struct:VCR::ResponseStatus
164
- code: 200
165
- message: OK
166
- headers:
167
- x-ua-compatible:
168
- - IE=Edge
169
- etag:
170
- - "\"4cc98c578bada3953310aebd8f681b0f\""
171
- connection:
172
- - close
173
- content-type:
174
- - application/xml; charset=utf-8
175
- x-runtime:
176
- - "66"
177
- date:
178
- - Tue, 19 Oct 2010 05:23:20 GMT
179
- server:
180
- - nginx/0.7.65
181
- content-length:
182
- - "1000"
183
- set-cookie:
184
- - _recurly_session=332286bde4cab6ed51ccfdd38acf8669; domain=.recurly.com; path=/; Secure; HttpOnly
185
- cache-control:
186
- - private, max-age=0, must-revalidate
187
- body: |
188
- <?xml version="1.0" encoding="UTF-8"?>
189
- <transactions type="collection">
190
- <current_page type="integer">1</current_page>
191
- <per_page type="integer">50</per_page>
192
- <total_entries type="integer">1</total_entries>
193
- <transaction type="Payment">
194
- <id>19400347b0524ed5a2486d1225c1824a</id>
195
- <account_code>transaction-list-empty-1287186411</account_code>
196
- <action>authorization</action>
197
- <date type="datetime">2010-10-18T22:23:20-07:00</date>
198
- <amount_in_cents type="integer">100</amount_in_cents>
199
- <status>void</status>
200
- <message>Test Gateway: Successful test transaction</message>
201
- <reference></reference>
202
- <cvv_result code="M">Match</cvv_result>
203
- <avs_result code="D">Street address and postal code match.</avs_result>
204
- <avs_result_street></avs_result_street>
205
- <avs_result_postal></avs_result_postal>
206
- <test type="boolean">true</test>
207
- <voidable type="boolean">false</voidable>
208
- <refundable type="boolean">false</refundable>
209
- </transaction>
210
- </transactions>
211
-
212
- http_version: "1.1"