solidus_paypal_braintree 1.1.0 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +4 -0
  3. data/.gitignore +1 -0
  4. data/.rubocop.yml +1 -1
  5. data/CHANGELOG.md +70 -1
  6. data/Gemfile +9 -6
  7. data/app/models/solidus_paypal_braintree/gateway.rb +5 -3
  8. data/app/models/solidus_paypal_braintree/transaction.rb +2 -2
  9. data/app/models/solidus_paypal_braintree/transaction_import.rb +2 -2
  10. data/lib/solidus_paypal_braintree/engine.rb +5 -3
  11. data/lib/solidus_paypal_braintree/factories.rb +5 -5
  12. data/lib/solidus_paypal_braintree/version.rb +1 -1
  13. data/lib/views/frontend/solidus_paypal_braintree/payments/_payment.html.erb +3 -3
  14. data/solidus_paypal_braintree.gemspec +0 -1
  15. metadata +4 -122
  16. data/spec/controllers/solidus_paypal_braintree/checkouts_controller_spec.rb +0 -99
  17. data/spec/controllers/solidus_paypal_braintree/client_tokens_controller_spec.rb +0 -55
  18. data/spec/controllers/solidus_paypal_braintree/configurations_controller_spec.rb +0 -73
  19. data/spec/controllers/solidus_paypal_braintree/transactions_controller_spec.rb +0 -183
  20. data/spec/features/backend/configuration_spec.rb +0 -23
  21. data/spec/features/backend/new_payment_spec.rb +0 -137
  22. data/spec/features/frontend/braintree_credit_card_checkout_spec.rb +0 -191
  23. data/spec/features/frontend/paypal_checkout_spec.rb +0 -166
  24. data/spec/features/frontend/venmo_checkout_spec.rb +0 -189
  25. data/spec/fixtures/cassettes/admin/invalid_credit_card.yml +0 -63
  26. data/spec/fixtures/cassettes/admin/resubmit_credit_card.yml +0 -352
  27. data/spec/fixtures/cassettes/admin/valid_credit_card.yml +0 -412
  28. data/spec/fixtures/cassettes/braintree/create_profile.yml +0 -71
  29. data/spec/fixtures/cassettes/braintree/generate_token.yml +0 -63
  30. data/spec/fixtures/cassettes/braintree/token.yml +0 -63
  31. data/spec/fixtures/cassettes/checkout/invalid_credit_card.yml +0 -63
  32. data/spec/fixtures/cassettes/checkout/resubmit_credit_card.yml +0 -216
  33. data/spec/fixtures/cassettes/checkout/update.yml +0 -71
  34. data/spec/fixtures/cassettes/checkout/valid_credit_card.yml +0 -156
  35. data/spec/fixtures/cassettes/checkout/valid_venmo_transaction.yml +0 -599
  36. data/spec/fixtures/cassettes/gateway/authorize/credit_card/address.yml +0 -86
  37. data/spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml +0 -154
  38. data/spec/fixtures/cassettes/gateway/authorize/paypal/EUR.yml +0 -90
  39. data/spec/fixtures/cassettes/gateway/authorize/paypal/address.yml +0 -90
  40. data/spec/fixtures/cassettes/gateway/authorize.yml +0 -86
  41. data/spec/fixtures/cassettes/gateway/authorized_transaction.yml +0 -73
  42. data/spec/fixtures/cassettes/gateway/cancel/missing.yml +0 -63
  43. data/spec/fixtures/cassettes/gateway/cancel/refunds.yml +0 -272
  44. data/spec/fixtures/cassettes/gateway/cancel/void.yml +0 -201
  45. data/spec/fixtures/cassettes/gateway/capture.yml +0 -141
  46. data/spec/fixtures/cassettes/gateway/complete.yml +0 -157
  47. data/spec/fixtures/cassettes/gateway/credit.yml +0 -208
  48. data/spec/fixtures/cassettes/gateway/purchase.yml +0 -87
  49. data/spec/fixtures/cassettes/gateway/settled_transaction.yml +0 -140
  50. data/spec/fixtures/cassettes/gateway/void.yml +0 -137
  51. data/spec/fixtures/cassettes/source/card_type.yml +0 -267
  52. data/spec/fixtures/cassettes/source/last4.yml +0 -267
  53. data/spec/fixtures/cassettes/transaction/import/valid/capture.yml +0 -224
  54. data/spec/fixtures/cassettes/transaction/import/valid.yml +0 -71
  55. data/spec/fixtures/views/spree/orders/edit.html.erb +0 -50
  56. data/spec/helpers/solidus_paypal_braintree/braintree_admin_helper_spec.rb +0 -17
  57. data/spec/helpers/solidus_paypal_braintree/braintree_checkout_helper_spec.rb +0 -70
  58. data/spec/models/solidus_paypal_braintree/address_spec.rb +0 -71
  59. data/spec/models/solidus_paypal_braintree/avs_result_spec.rb +0 -317
  60. data/spec/models/solidus_paypal_braintree/gateway_spec.rb +0 -692
  61. data/spec/models/solidus_paypal_braintree/response_spec.rb +0 -280
  62. data/spec/models/solidus_paypal_braintree/source_spec.rb +0 -499
  63. data/spec/models/solidus_paypal_braintree/transaction_address_spec.rb +0 -235
  64. data/spec/models/solidus_paypal_braintree/transaction_import_spec.rb +0 -300
  65. data/spec/models/solidus_paypal_braintree/transaction_spec.rb +0 -85
  66. data/spec/models/spree/store_spec.rb +0 -14
  67. data/spec/requests/spree/api/orders_controller_spec.rb +0 -36
  68. data/spec/spec_helper.rb +0 -29
  69. data/spec/support/capybara.rb +0 -7
  70. data/spec/support/factories.rb +0 -2
  71. data/spec/support/gateway_helpers.rb +0 -29
  72. data/spec/support/order_ready_for_payment.rb +0 -37
  73. data/spec/support/vcr.rb +0 -42
  74. data/spec/support/views.rb +0 -1
@@ -1,352 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers
6
- body:
7
- encoding: UTF-8
8
- string: |
9
- <?xml version="1.0" encoding="UTF-8"?>
10
- <customer>
11
- <payment-method-nonce>fake-valid-nonce</payment-method-nonce>
12
- </customer>
13
- headers:
14
- Accept-Encoding:
15
- - gzip
16
- Accept:
17
- - application/xml
18
- User-Agent:
19
- - Braintree Ruby Gem 2.98.0
20
- X-Apiversion:
21
- - '5'
22
- Content-Type:
23
- - application/xml
24
- Authorization:
25
- - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
26
- response:
27
- status:
28
- code: 201
29
- message: Created
30
- headers:
31
- Date:
32
- - Fri, 13 Sep 2019 14:22:38 GMT
33
- Content-Type:
34
- - application/xml; charset=utf-8
35
- Transfer-Encoding:
36
- - chunked
37
- X-Frame-Options:
38
- - SAMEORIGIN
39
- X-Xss-Protection:
40
- - 1; mode=block
41
- X-Content-Type-Options:
42
- - nosniff
43
- X-Authentication:
44
- - basic_auth
45
- X-User:
46
- - 3v249hqtptsg744y
47
- Vary:
48
- - Accept-Encoding
49
- Content-Encoding:
50
- - gzip
51
- Etag:
52
- - W/"95fd21ec0f69e5135dede28531f22e17"
53
- Cache-Control:
54
- - max-age=0, private, must-revalidate
55
- X-Runtime:
56
- - '0.462221'
57
- X-Request-Id:
58
- - 01-1568384558.107-92.223.152.178-12907427
59
- Content-Security-Policy:
60
- - frame-ancestors 'self'
61
- X-Broxyid:
62
- - 01-1568384558.107-92.223.152.178-12907427
63
- Strict-Transport-Security:
64
- - max-age=31536000; includeSubDomains
65
- body:
66
- encoding: ASCII-8BIT
67
- string: !binary |-
68
- H4sIAC6me10AA6xWyW7jOBC95ysM3RVtdmwHsoIBGglmgMxlOplJLg1KLFmMKVJDUo6dr29S1uZFbgfpm/jqFVksvqpSeLfJ6WgNQhLOFpZ37VojYAnHhC0X1tP3e3tm3UVXYVJKxXMQ0dVoFBIc+W7g3ty403Ho6JUBtTHJEFO2Xk8FXs79t2mcT9PVJAtCp2817JQIqWyGchgxQheWEiVYTmWiaMiS8LxAbHuEQ44IPUKLjLPjPVK0OcLeIZZEnThPAFKAbaRGalvAwsJ6qUgOlr6/N7fdue0F373xre/fBrPX0OkcKv+ywJ/z7xx251dJt1MCFMtdSEvKY0RNFl+C5w/8MFev//2VPr798fH47cV//Ja4odNx6ktgouwECSzrMJAQaGsZ6759h2gsJpRqAdgIYwFSNvju6ae4efMaa7Rh7+uiD3fk4YevCYPP35x2WgS1VSoBoJrAB0iwUcCwyfNZGuUJokQNHSVgqWtmwFhwqfQb6EKCaD723Gno9KH+dUqmxLaCbUSLDPmDFz9kBpcwWanfgCS/oJ5L+NeqoN7li7VQ7eEM6FLrlUVj1/NnM8NhLW5EbZvjomcikY6sXfcZGadYy3QoBUZxpn0RRKMntmL8nemdOqyj7VLJU5tIWSKWQJ9/bGwdv57gT9RgRzX6VlrC0dM/PWaLNnwMMVHdTXbLzpiikjaBx5xTQMyKTAYNtTJ25FLo17F14ZTUXKC36aGlcYFNQUQVj51zprLI80PnCDzB3gISOhO+u0ev0D024MPYU0Ql1F69SLqumjzcT+J/n0v84FH8kK1f7+dvL97MR/mfHzh4OWjAlXMGiKpMi60niR7W0EiOlmCXgkaZUoW8dRwkJSh5HQtEmGltS52dd7S91vpzCrTNgakfOaiM4x+UL7mz1jq/LtjyDtiaCM4MYSERwzHf6Lbd7t+eqMVoKipGbNWFtoc21KoxjyNvNvNCp140Nh2K4LRXHw3QEgQUSCfkb65t9Xdn47hMql+Dzr/DGposY5kIUpiH3J9kXakqvgIW3bzFwfs6dHarxlYy8n9Z9cO4KgidGaJHq4hQOplMx/N0Mk+9FAczfJOkiaeBdDyZxakW3KBru/dv6G5rYDm3JV4NCLK19zyEDmNXriczUrWK/nTfA6r+Gda9FE7+HBw22qPx/5nGc370nx/858b+BUP/opF/duCfGfcXDvtLR/2lg/7iMf/LIf9bJtCXSyB0emprF6CXnZyiq58AAAD//wMAxUIjVLEMAAA=
69
- http_version:
70
- recorded_at: Fri, 13 Sep 2019 14:22:39 GMT
71
- - request:
72
- method: post
73
- uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions
74
- body:
75
- encoding: UTF-8
76
- string: |
77
- <?xml version="1.0" encoding="UTF-8"?>
78
- <transaction>
79
- <amount>110.00</amount>
80
- <order-id>R9999999-123ABC</order-id>
81
- <channel>Solidus</channel>
82
- <options>
83
- <store-in-vault-on-success type="boolean">true</store-in-vault-on-success>
84
- </options>
85
- <payment-method-token>6jb3wv</payment-method-token>
86
- <billing>
87
- <first-name>John</first-name>
88
- <last-name>Doe</last-name>
89
- <street-address>PO Box 1337 Northwest</street-address>
90
- <locality>Herndon</locality>
91
- <postal-code>21088-0255</postal-code>
92
- <region>AL</region>
93
- <country-code-alpha2>US</country-code-alpha2>
94
- </billing>
95
- <customer-id>203066074</customer-id>
96
- <type>sale</type>
97
- </transaction>
98
- headers:
99
- Accept-Encoding:
100
- - gzip
101
- Accept:
102
- - application/xml
103
- User-Agent:
104
- - Braintree Ruby Gem 2.98.0
105
- X-Apiversion:
106
- - '5'
107
- Content-Type:
108
- - application/xml
109
- Authorization:
110
- - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
111
- response:
112
- status:
113
- code: 201
114
- message: Created
115
- headers:
116
- Date:
117
- - Fri, 13 Sep 2019 14:27:04 GMT
118
- Content-Type:
119
- - application/xml; charset=utf-8
120
- Transfer-Encoding:
121
- - chunked
122
- X-Frame-Options:
123
- - SAMEORIGIN
124
- X-Xss-Protection:
125
- - 1; mode=block
126
- X-Content-Type-Options:
127
- - nosniff
128
- X-Authentication:
129
- - basic_auth
130
- X-User:
131
- - 3v249hqtptsg744y
132
- Vary:
133
- - Accept-Encoding
134
- Content-Encoding:
135
- - gzip
136
- Etag:
137
- - W/"afd237f5509cd7815a4e533b63a9f319"
138
- Cache-Control:
139
- - max-age=0, private, must-revalidate
140
- X-Runtime:
141
- - '0.387950'
142
- X-Request-Id:
143
- - 02-1568384824.212-92.223.152.178-13016464
144
- Content-Security-Policy:
145
- - frame-ancestors 'self'
146
- X-Broxyid:
147
- - 02-1568384824.212-92.223.152.178-13016464
148
- Strict-Transport-Security:
149
- - max-age=31536000; includeSubDomains
150
- body:
151
- encoding: ASCII-8BIT
152
- string: !binary |-
153
- H4sIADine10AA6xY21LjOBB9n69I5d34kgTClPEssywzSy3s1lwYmJcp2ZJjgS0ZSQ4JX78t32LHcmCrNk9x91FbavXltP0PmyydrImQlLOzqXvkTCeERRxTtjqbfv92aS2nH4J3vhKISRQpQAXvJhOf4mDx9PTCHkLk2/CgZVIhVcgAFSrhgr4Q7Nu1SGvVNieBRCnx7fKvlkWFEPC2rUUlt+ClJPj+9cK3h2INRhkvmApc1zlyHN+uH7UmIyJKEFMWiiIttGBDUpEs5KnybZO23G4RWgbdhNH0bKpE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PW/0iQEpSqBHeuu/cj4M5CDjqwCYRJStdNXj7WqEHBxEIWrItUUs4Pa17StQDNp6HY7aEdW7xdtBU87iEZQu0/KAoohNDP2uMP0pP3iymNLaxGLSPetQ2XjLo6LqBwUdjvYyfa5ZvTpchH+uC3wJzfFn5L1z8vTh3t36aHszxc8u9+jnDrP6wlCR64hOgpGnwpSpyqsgqulUOxFgOLF4mR+Gi9OYzfGsyU+juLIBUE8XyzDGGJ9dGlleU1Yxi2JH0dSudXX3LifyvWAZyUU4l5se5SkbeclgoChOkJ0/sNkAoosf+O00uJbCwcny8qlY8Nh5VEJLmhz67dmNtTZBT6TjX/0XjtMSnKonSRAOYU9DeXVie39I7eS2k1VFU6RmZkVoYwEzUeZW0ff1sySllo5MAWOLSBHlnaoIY72kLAtoYxY2PLee3QrsqDrGGgnprKMXqOOVFZ4E3Aj9W9sqoOKNdxb3yhQOv15AM41EsOtvupGMLIzkgZfeUpxISGma0HFi8Va99CYkLHup9/Nn63qSgda8EVYCFlRa0wUTLfNWNZXmS+ow8vNr+9jBp9F3ggnG31oaAjCvA09o0C4Aps0GSyiyEC74VpGzq5Pnhd68BsfWaoGi/ADdFC93oStu55FGTDJopqJdKevitIvXZR8ewzU52Idp/QpW5eOjYJet1USuNdstSyPEfXMxePeW+7ufNusMa4prUmokSncaKWctExRKw3W2h2oBKqgBRVBpwoB58XcOA9KKxYwaByYldqxcSx/mmoxpm822Z9gA0d3BufUnblz78SZ7w6zhxvj3DoG0EHO3URJPyRL+kfkoS9rntPtVWPLu98G2vZvDvODo//BtcbPC+2K4fBn/mAwvmDHW/DnqyRkN8n97Eseeov45u4SGP/i6T77o0dveo0yePcvAAAA//8DAP1JXt1eFgAA
154
- http_version:
155
- recorded_at: Fri, 13 Sep 2019 14:27:05 GMT
156
- - request:
157
- method: get
158
- uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/5qqznjba
159
- body:
160
- encoding: US-ASCII
161
- string: ''
162
- headers:
163
- Accept-Encoding:
164
- - gzip
165
- Accept:
166
- - application/xml
167
- User-Agent:
168
- - Braintree Ruby Gem 2.98.0
169
- X-Apiversion:
170
- - '5'
171
- Content-Type:
172
- - application/xml
173
- Authorization:
174
- - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
175
- response:
176
- status:
177
- code: 200
178
- message: OK
179
- headers:
180
- Date:
181
- - Fri, 13 Sep 2019 14:27:06 GMT
182
- Content-Type:
183
- - application/xml; charset=utf-8
184
- Transfer-Encoding:
185
- - chunked
186
- X-Frame-Options:
187
- - SAMEORIGIN
188
- X-Xss-Protection:
189
- - 1; mode=block
190
- X-Content-Type-Options:
191
- - nosniff
192
- X-Authentication:
193
- - basic_auth
194
- X-User:
195
- - 3v249hqtptsg744y
196
- Vary:
197
- - Accept-Encoding
198
- Content-Encoding:
199
- - gzip
200
- Etag:
201
- - W/"f6b088fde55054d8ef7a058e0aec17c3"
202
- Cache-Control:
203
- - max-age=0, private, must-revalidate
204
- X-Runtime:
205
- - '0.202933'
206
- X-Request-Id:
207
- - 02-1568384825.511-92.223.152.178-13016657
208
- Content-Security-Policy:
209
- - frame-ancestors 'self'
210
- X-Broxyid:
211
- - 02-1568384825.511-92.223.152.178-13016657
212
- Strict-Transport-Security:
213
- - max-age=31536000; includeSubDomains
214
- body:
215
- encoding: ASCII-8BIT
216
- string: !binary |-
217
- H4sIADqne10AA6xY21LjOBB9n69I5d34kgTClPEssywzSy3s1lwYmJcp2ZJjgS0ZSQ4JX78t32LHcmCrNk9x91FbavXltP0PmyydrImQlLOzqXvkTCeERRxTtjqbfv92aS2nH4J3vhKISRQpQAXvJhOf4mDx9PTCHkLk2/CgZVIhVcgAFSrhgr4Q7Nu1SGvVNieBRCnx7fKvlkWFEPC2rUUlt+ClJPj+9cK3h2INRhkvmApc1zlyHN+uH7UmIyJKEFMWiiIttGBDUpEs5KnybZO23G4RWgbdhNH0bKpEQaZ2Z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pSqBHeuu/cj4M5CDjqwCYRJStdNXj7WqEHBxEIWrItUUs4Pa17StQDNp6HY7aEdW7xdtBU87iEZQu0/KAoohNDP2uMP0pP3iymNLaxGLSPetQ2XjLo6LqBwUdjvYyfa5ZvTpchH+uC3wJzfFn5L1z8vTh3t36aHszxc8u9+jnDrP6wlCR64hOgpGnwpSpyqsgqulUOxFgOLF4mR+Gi9OYzfGsyU+juLIBUE8XyzDGGJ9dGlleU1Yxi2JH0dSudXX3LifyvWAZyUU4l5se5SkbeclgoChOkJ0/sNkAoosf+O00uJbCwcny8qlY8Nh5VEJLmhz67dmNtTZBT6TjX/0XjtMSnKonSRAOYU9DeXVie39I7eS2k1VFU6RmZkVoYwEzUeZW0ff1sySllo5MAWOLSBHlnaoIY72kLAtoYxY2PLee3QrsqDrGGgnprKMXqOOVFZ4E3Aj9W9sqoOKNdxb3yhQOv15AM41EsOtvupGMLIzkgZfeUpxISGma0HFi8Va99CYkLHup9/Nn63qSgda8EVYCFlRa0wUTLfNWNZXmS+ow8vNr+9jBp9F3ggnG31oaAjCvA09o0C4Aps0GSyiyEC74VpGzq5Pnhd68BsfWaoGi/ADdFC93oStu55FGTDJopqJdKevitIvXZR8ewzU52Idp/QpW5eOjYJet1USuNdstSyPEfXMxePeW+7ufNusMa4prUmokSncaKWctExRKw3W2h2oBKqgBRVBpwoB58XcOA9KKxYwaByYldqxcSx/mmoxpm822Z9gA0d3BufUnblz78SZ7w6zhxvj3DoG0EHO3URJPyRL+kfkoS9rntPtVWPLu98G2vZvDvODo//BtcbPC+2K4fBn/mAwvmDHW/DnqyRkN8n97Eseeov45u4SGP/i6T77o0dveo0yePcvAAAA//8DAP1JXt1eFgAA
218
- http_version:
219
- recorded_at: Fri, 13 Sep 2019 14:27:06 GMT
220
- - request:
221
- method: put
222
- uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/5qqznjba/submit_for_settlement
223
- body:
224
- encoding: UTF-8
225
- string: |
226
- <?xml version="1.0" encoding="UTF-8"?>
227
- <transaction>
228
- <amount>110.00</amount>
229
- </transaction>
230
- headers:
231
- Accept-Encoding:
232
- - gzip
233
- Accept:
234
- - application/xml
235
- User-Agent:
236
- - Braintree Ruby Gem 2.98.0
237
- X-Apiversion:
238
- - '5'
239
- Content-Type:
240
- - application/xml
241
- Authorization:
242
- - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
243
- response:
244
- status:
245
- code: 200
246
- message: OK
247
- headers:
248
- Date:
249
- - Fri, 13 Sep 2019 14:27:07 GMT
250
- Content-Type:
251
- - application/xml; charset=utf-8
252
- Transfer-Encoding:
253
- - chunked
254
- X-Frame-Options:
255
- - SAMEORIGIN
256
- X-Xss-Protection:
257
- - 1; mode=block
258
- X-Content-Type-Options:
259
- - nosniff
260
- X-Authentication:
261
- - basic_auth
262
- X-User:
263
- - 3v249hqtptsg744y
264
- Vary:
265
- - Accept-Encoding
266
- Content-Encoding:
267
- - gzip
268
- Etag:
269
- - W/"693f86207821aad9fd32533b95816aad"
270
- Cache-Control:
271
- - max-age=0, private, must-revalidate
272
- X-Runtime:
273
- - '0.355572'
274
- X-Request-Id:
275
- - 02-1568384826.802-92.223.152.178-13016965
276
- Content-Security-Policy:
277
- - frame-ancestors 'self'
278
- X-Broxyid:
279
- - 02-1568384826.802-92.223.152.178-13016965
280
- Strict-Transport-Security:
281
- - max-age=31536000; includeSubDomains
282
- body:
283
- encoding: ASCII-8BIT
284
- string: !binary |-
285
- H4sIADune10AA8xYS1PjOBC+z69I5W5s5wFhyniWWZaZoRZ2ax4MzIWSLRkLbMlIckj49dvy27EcqNo9bE5x99dtqdXd+treh02aTNZESMrZydQ9cKYTwkKOKbs/mf74fm6tph/8d54SiEkUKkD57yYTj2J/+fT0wh4C5NnwoGVSIZVLX+ZBSpUi+C7i4k4SpRKSEqY8uwJorNpmxJcoIZ5d/NWyMBcC3r21qOQWLIH4P76defZQrMEo5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sep 2019 14:27:07 GMT
288
- - request:
289
- method: get
290
- uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/5qqznjba
291
- body:
292
- encoding: US-ASCII
293
- string: ''
294
- headers:
295
- Accept-Encoding:
296
- - gzip
297
- Accept:
298
- - application/xml
299
- User-Agent:
300
- - Braintree Ruby Gem 2.98.0
301
- X-Apiversion:
302
- - '5'
303
- Content-Type:
304
- - application/xml
305
- Authorization:
306
- - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
307
- response:
308
- status:
309
- code: 200
310
- message: OK
311
- headers:
312
- Date:
313
- - Fri, 13 Sep 2019 14:27:09 GMT
314
- Content-Type:
315
- - application/xml; charset=utf-8
316
- Transfer-Encoding:
317
- - chunked
318
- X-Frame-Options:
319
- - SAMEORIGIN
320
- X-Xss-Protection:
321
- - 1; mode=block
322
- X-Content-Type-Options:
323
- - nosniff
324
- X-Authentication:
325
- - basic_auth
326
- X-User:
327
- - 3v249hqtptsg744y
328
- Vary:
329
- - Accept-Encoding
330
- Content-Encoding:
331
- - gzip
332
- Etag:
333
- - W/"0f68e6acf7e3736e3550fbe5dae21a65"
334
- Cache-Control:
335
- - max-age=0, private, must-revalidate
336
- X-Runtime:
337
- - '0.212004'
338
- X-Request-Id:
339
- - 02-1568384828.412-92.223.152.178-13017297
340
- Content-Security-Policy:
341
- - frame-ancestors 'self'
342
- X-Broxyid:
343
- - 02-1568384828.412-92.223.152.178-13017297
344
- Strict-Transport-Security:
345
- - max-age=31536000; includeSubDomains
346
- body:
347
- encoding: ASCII-8BIT
348
- string: !binary |-
349
- H4sIAD2ne10AA8xYS1PjOBC+z69I5W5s5wFhyniWWZaZoRZ2ax4MzIWSLRkLbMlIckj49dvy27EcqNo9bE5x99dtqdXd+treh02aTNZESMrZydQ9cKYTwkKOKbs/mf74fm6tph/8d54SiEkUKkD57yYTj2J/+fT0wh4C5NnwoGVSI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