spree_braintree_vzero 3.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +15 -0
- data/.gitignore +19 -0
- data/.rspec +1 -0
- data/.travis.yml +63 -0
- data/Appraisals +45 -0
- data/CONTRIBUTING.md +28 -0
- data/Gemfile +14 -0
- data/LICENSE +26 -0
- data/README.md +83 -0
- data/Rakefile +21 -0
- data/app/assets/images/credit_cards/icons/jcb.png +0 -0
- data/app/assets/javascripts/spree/backend/payments.js +19 -0
- data/app/assets/javascripts/spree/backend/spree_braintree_vzero.js +81 -0
- data/app/assets/javascripts/spree/frontend/spree_braintree_vzero.js +68 -0
- data/app/assets/stylesheets/spree/backend/spree_braintree_vzero.css +5 -0
- data/app/controllers/spree/admin/payments_controller_decorator.rb +43 -0
- data/app/controllers/spree/api/v1/braintree_client_token_controller.rb +31 -0
- data/app/controllers/spree/checkout_controller_decorator.rb +38 -0
- data/app/controllers/spree/orders_controller_decorator.rb +62 -0
- data/app/controllers/spree/user_sessions_controller_decorator.rb +15 -0
- data/app/helpers/spree/admin/decorated_navigation_helper.rb +10 -0
- data/app/helpers/spree/admin/payment_methods_helper.rb +101 -0
- data/app/helpers/spree/braintree_helper.rb +27 -0
- data/app/models/braintree/successful_result_decorator.rb +21 -0
- data/app/models/spree/address_decorator.rb +18 -0
- data/app/models/spree/braintree_checkout.rb +105 -0
- data/app/models/spree/gateway/braintree_vzero_base.rb +168 -0
- data/app/models/spree/gateway/braintree_vzero_base/address.rb +33 -0
- data/app/models/spree/gateway/braintree_vzero_base/braintree_user.rb +25 -0
- data/app/models/spree/gateway/braintree_vzero_base/purchase_data.rb +48 -0
- data/app/models/spree/gateway/braintree_vzero_base/transaction.rb +39 -0
- data/app/models/spree/gateway/braintree_vzero_base/utils.rb +108 -0
- data/app/models/spree/gateway/braintree_vzero_drop_in_ui.rb +24 -0
- data/app/models/spree/gateway/braintree_vzero_hosted_fields.rb +28 -0
- data/app/models/spree/gateway/braintree_vzero_paypal_express.rb +36 -0
- data/app/models/spree/order_decorator.rb +153 -0
- data/app/models/spree/payment_decorator.rb +10 -0
- data/app/models/spree/payment_processing_decorator.rb +61 -0
- data/app/models/spree/preferences/preferable_decorator.rb +54 -0
- data/app/overrides/spree/admin/orders/customer_details/_form.rb +8 -0
- data/app/overrides/spree/admin/payment_methods/_form.rb +10 -0
- data/app/overrides/spree/admin/shared/_order_summary.rb +23 -0
- data/app/overrides/spree/admin/shared/_refunds.rb +13 -0
- data/app/overrides/spree/checkout/_new_user.rb +6 -0
- data/app/overrides/spree/checkout/_payment.rb +20 -0
- data/app/overrides/spree/checkout/registration.rb +6 -0
- data/app/overrides/spree/orders/edit.rb +6 -0
- data/app/overrides/spree/shared/_order_details.rb +13 -0
- data/app/overrides/spree/shared/_payment.rb +28 -0
- data/app/views/spree/admin/payment_methods/_braintree_vzero_form.html.erb +83 -0
- data/app/views/spree/admin/payments/source_forms/_braintree_vzero_dropin_ui.html.erb +1 -0
- data/app/views/spree/admin/payments/source_forms/_braintree_vzero_hosted_fields.html.erb +1 -0
- data/app/views/spree/admin/payments/source_forms/_braintree_vzero_paypal_express.html.erb +1 -0
- data/app/views/spree/admin/payments/source_forms/braintree_vzero/_payments.html.erb +87 -0
- data/app/views/spree/admin/payments/source_views/_braintree_vzero_dropin_ui.html.erb +1 -0
- data/app/views/spree/admin/payments/source_views/_braintree_vzero_hosted_fields.html.erb +1 -0
- data/app/views/spree/admin/payments/source_views/_braintree_vzero_paypal_express.html.erb +1 -0
- data/app/views/spree/admin/payments/source_views/braintree_vzero/_payment.html.erb +17 -0
- data/app/views/spree/braintree_vzero/_paypal_checkout.html.erb +87 -0
- data/app/views/spree/checkout/payment/_braintree_vzero_dropin_ui.html.erb +4 -0
- data/app/views/spree/checkout/payment/_braintree_vzero_hosted_fields.html.erb +4 -0
- data/app/views/spree/checkout/payment/_braintree_vzero_paypal_express.html.erb +4 -0
- data/app/views/spree/checkout/payment/braintree_vzero/_buttons.html.erb +11 -0
- data/app/views/spree/checkout/payment/braintree_vzero/_dropin_on_error_callback.js.erb +3 -0
- data/app/views/spree/checkout/payment/braintree_vzero/_dropin_on_ready_callback.js.erb +1 -0
- data/app/views/spree/checkout/payment/braintree_vzero/_hosted_fields_on_field_event_callback.js.erb +12 -0
- data/app/views/spree/checkout/payment/braintree_vzero/_hosted_fields_styles.js.erb +29 -0
- data/app/views/spree/checkout/payment/braintree_vzero/_payment.html.erb +84 -0
- data/app/views/spree/checkout/payment/braintree_vzero/_three_d_secure.html.erb +218 -0
- data/app/views/spree/shared/braintree_vzero/_dropin.js.erb +70 -0
- data/app/views/spree/shared/braintree_vzero/_hosted.js.erb +66 -0
- data/app/views/spree/shared/braintree_vzero/_paypal.js.erb +39 -0
- data/bin/rails +7 -0
- data/config/initializers/extend_spree_permitted_checkout_attributes.rb +5 -0
- data/config/initializers/prepend_helpers.rb +1 -0
- data/config/locales/en.yml +79 -0
- data/config/routes.rb +7 -0
- data/db/migrate/20150904143013_create_spree_braintree_checkouts.rb +9 -0
- data/db/migrate/20151002094655_add_braintree_id_to_spree_addresses.rb +5 -0
- data/db/migrate/20151018123907_add_braintree_token_and_nonce_to_spree_payments.rb +6 -0
- data/db/migrate/20151027135109_add_paypal_email_to_spree_braintree_checkout.rb +5 -0
- data/db/migrate/20151028095515_add_advanced_fraud_data_to_spree_braintree_checkout.rb +5 -0
- data/db/migrate/20151202095956_add_risk_id_and_risk_decision_to_spree_braintree_checkouts.rb +6 -0
- data/db/migrate/20151211100203_add_braintree_last_digits_and_braintree_card_type_to_spree_braintree_checkouts.rb +6 -0
- data/db/migrate/20160112153422_add_admin_payment_to_spree_braintree_checkout.rb +5 -0
- data/gemfiles/spree_3_5.gemfile +12 -0
- data/gemfiles/spree_3_5_spree_auth_devise.gemfile +13 -0
- data/gemfiles/spree_3_7.gemfile +12 -0
- data/gemfiles/spree_3_7_spree_auth_devise.gemfile +13 -0
- data/gemfiles/spree_4_0.gemfile +11 -0
- data/gemfiles/spree_4_0_spree_auth_devise.gemfile +12 -0
- data/gemfiles/spree_master.gemfile +11 -0
- data/gemfiles/spree_master_spree_auth_devise.gemfile +12 -0
- data/lib/generators/spree_braintree_vzero/install/install_generator.rb +34 -0
- data/lib/spree_braintree_vzero.rb +6 -0
- data/lib/spree_braintree_vzero/engine.rb +28 -0
- data/lib/spree_braintree_vzero/factories.rb +10 -0
- data/lib/spree_braintree_vzero/railtie.rb +8 -0
- data/lib/spree_braintree_vzero/version.rb +17 -0
- data/lib/tasks/spree_braintree_vzero.rake +6 -0
- data/spec/controllers/spree/api/v1/braintree_client_token_controller_spec.rb +49 -0
- data/spec/controllers/spree/checkout_controller_spec.rb +85 -0
- data/spec/controllers/spree/orders_controller_spec.rb +97 -0
- data/spec/factories/braintree_checkout_factory.rb +7 -0
- data/spec/factories/braintree_gateway_factory.rb +35 -0
- data/spec/factories/payment_factory_decorator.rb +28 -0
- data/spec/features/spree/admin/log_entries_spec.rb +63 -0
- data/spec/models/gateway/braintree_vzero_base/address_spec.rb +28 -0
- data/spec/models/gateway/braintree_vzero_base/purchase_data_spec.rb +57 -0
- data/spec/models/gateway/braintree_vzero_base_spec.rb +346 -0
- data/spec/models/gateway/braintree_vzero_dropin_ui_spec.rb +35 -0
- data/spec/models/gateway/braintree_vzero_hosted_fields_spec.rb +35 -0
- data/spec/models/spree/order_spec.rb +186 -0
- data/spec/spec_helper.rb +100 -0
- data/spec/support/vcr.rb +10 -0
- data/spec/vcr/Log_entries/with_a_failed_log_entry/shows_a_failed_attempt.yml +91 -0
- data/spec/vcr/Log_entries/with_a_successful_log_entry/shows_a_successful_attempt.yml +113 -0
- data/spec/vcr/Spree_Api_V1_BraintreeClientTokenController/POST_create/guest_checkout/returns_proper_json_data_when_gateway_not_specified.yml +90 -0
- data/spec/vcr/Spree_Api_V1_BraintreeClientTokenController/POST_create/guest_checkout/returns_proper_json_data_when_gateway_specified.yml +90 -0
- data/spec/vcr/Spree_Api_V1_BraintreeClientTokenController/POST_create/user_checkout/returns_proper_json_data_when_gateway_not_specified.yml +191 -0
- data/spec/vcr/Spree_Api_V1_BraintreeClientTokenController/POST_create/user_checkout/returns_proper_json_data_when_gateway_specified.yml +191 -0
- data/spec/vcr/Spree_CheckoutController/_update/braintree_payment/advanced_fraud_data_in_source_should_be_updated.yml +71 -0
- data/spec/vcr/Spree_CheckoutController/_update/braintree_payment/when_token_credit_card_data_in_source_should_be_updated_from_Braintree_Vault.yml +139 -0
- data/spec/vcr/Spree_CheckoutController/_update/braintree_paypal_express_payment/amount_in_payment_should_be_updated.yml +280 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_capture/captures_authorized_amount/updates_Payment_state.yml +206 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_credit/with_refundable_state/should_be_a_success.yml +211 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_credit/with_unrefundable_state/should_not_be_a_success.yml +177 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/data_from_admin_panel/should_include_only_essential_data.yml +78 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/does_not_store_Transaction_in_Vault_by_default.yml +111 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/returns_false_with_invalid_nonce.yml +88 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/returns_false_with_invalid_token.yml +88 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/returns_success_with_valid_token.yml +113 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/returns_suceess_with_valid_nonce.yml +111 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/using_Vault/saves_Braintree_Address_id_to_Spree_Address_when_address_is_being_saved.yml +130 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/using_Vault/saves_unique_Braintree_Addresses_ids.yml +143 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/using_Vault/sends_empty_address_id_when_address_is_already_in_vault.yml +553 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/using_Vault/stores_Transaction.yml +181 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/with_3DSecure_option_turned_on/performs_3DSecure_check.yml +112 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/with_3DSecure_option_turned_on/returns_error.yml +112 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/with_advanced_fraud_tool_enabled/returns_fraud_data.yml +111 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/with_advanced_fraud_tool_enabled/returns_success.yml +111 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_settle/settles_authorized_amount/does_not_update_Order_payment_state.yml +204 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_settle/settles_authorized_amount/prepares_Checkout_for_status_updating.yml +204 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_settle/settles_authorized_amount/submits_Transaction_for_settlement.yml +377 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_settle/settles_authorized_amount/updates_Payment_state.yml +203 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_update_states/does_not_update_completed_Checkout_on_subsequent_runs.yml +202 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_update_states/updates_Order_payment_state_when_Checkout_is_updated.yml +202 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_update_states/updates_Payment_state_when_Checkout_is_updated.yml +202 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_update_states/updates_payment_State.yml +202 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_void/with_unvoidable_state/should_not_change_payment_source_state.yml +178 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_void/with_voidable_state/should_change_payment_source_state_to_voided.yml +199 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/generates_token_for_User_registered_in_Braintree.yml +356 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/generates_token_for_new_User.yml +189 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/generates_token_without_User.yml +89 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/with_invalid_credentials/raises_Braintree_error.yml +62 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase_Address/_create/creates_Braintree_Address.yml +84 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase_Address/_create/deletes_Braintree_Address.yml +141 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase_Address/_create/finds_Braintree_Address.yml +148 -0
- data/spec/vcr/Spree_Gateway_BraintreeVzeroBase_Address/_create/updates_Braintree_Address.yml +154 -0
- data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/with_auto_capture/should_complete_payment.yml +116 -0
- data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/with_auto_capture/should_update_payment_s_response_code.yml +111 -0
- data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/with_auto_capture/should_update_payment_s_source_state_and_transaction_id.yml +111 -0
- data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/without_auto_capture/should_pend_payment.yml +111 -0
- data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/without_auto_capture/should_update_payment_s_response_code.yml +111 -0
- data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/without_auto_capture/should_update_payment_s_source_state_and_transaction_id.yml +110 -0
- data/spree_braintree_vzero.gemspec +52 -0
- data/vendor/assets/javascripts/maskedinput/jquery.maskedinput.min.js +7 -0
- metadata +643 -0
@@ -0,0 +1,202 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<transaction>
|
11
|
+
<customer>
|
12
|
+
</customer>
|
13
|
+
<payment-method-nonce>fake-valid-nonce</payment-method-nonce>
|
14
|
+
<amount>20.00</amount>
|
15
|
+
<order-id>R715687034</order-id>
|
16
|
+
<descriptor>
|
17
|
+
<name></name>
|
18
|
+
</descriptor>
|
19
|
+
<options>
|
20
|
+
<submit-for-settlement type="boolean">true</submit-for-settlement>
|
21
|
+
<add-billing-address-to-payment-method type="boolean">false</add-billing-address-to-payment-method>
|
22
|
+
<three-d-secure>
|
23
|
+
<required type="boolean">false</required>
|
24
|
+
</three-d-secure>
|
25
|
+
<store-in-vault type="boolean">false</store-in-vault>
|
26
|
+
</options>
|
27
|
+
<type>sale</type>
|
28
|
+
</transaction>
|
29
|
+
headers:
|
30
|
+
Accept-Encoding:
|
31
|
+
- gzip
|
32
|
+
Accept:
|
33
|
+
- application/xml
|
34
|
+
User-Agent:
|
35
|
+
- Braintree Ruby Gem 2.49.0
|
36
|
+
X-Apiversion:
|
37
|
+
- '4'
|
38
|
+
Content-Type:
|
39
|
+
- application/xml
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 201
|
43
|
+
message: Created
|
44
|
+
headers:
|
45
|
+
Date:
|
46
|
+
- Tue, 20 Oct 2015 11:27:38 GMT
|
47
|
+
Content-Type:
|
48
|
+
- application/xml; charset=utf-8
|
49
|
+
Transfer-Encoding:
|
50
|
+
- chunked
|
51
|
+
Connection:
|
52
|
+
- close
|
53
|
+
X-Authentication:
|
54
|
+
- basic_auth
|
55
|
+
X-User:
|
56
|
+
- 97syg9czj6hrdzyn
|
57
|
+
Vary:
|
58
|
+
- Accept-Encoding
|
59
|
+
Content-Encoding:
|
60
|
+
- gzip
|
61
|
+
X-Ua-Compatible:
|
62
|
+
- IE=Edge,chrome=1
|
63
|
+
Etag:
|
64
|
+
- '"a347a53f316d9347d64910f7d60f1faa"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- 95ed7d9edb2e25b2ac159b1b2f111cad
|
69
|
+
X-Runtime:
|
70
|
+
- '0.691424'
|
71
|
+
X-Frame-Options:
|
72
|
+
- SAMEORIGIN
|
73
|
+
Strict-Transport-Security:
|
74
|
+
- max-age=31536000; includeSubDomains
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: !binary |-
|
78
|
+
H4sIAColJlYAA+RYS2/jNhC+768wfGdkOdnGGygKFkULFE0Xi+xmW/QSUNLY
|
79
|
+
4loiWZJy7P31O5SoV0QlufQB9GbNfBxyHpz56OjmWBaLAyjNBL9ehmer5QJ4
|
80
|
+
KjLGd9fL+88/k83yJn4TGUW5pqlBVPxmsYhYFn99d3GUmyjAn1aiDTWVjnWV
|
81
|
+
lMwYyB62Qj1oMKaAEriJAgewWHOSEGtaQBTUP60srZTCnU+EaUHwABD/dH8X
|
82
|
+
BVOxBdNSVNzE69XZahUF7ssqSlBpTrkhNE2tkODptKRqr0VR2dNrLb8JEQU+
|
83
|
+
oDUgVAbKftxdhm9/2Fyuzi+ioBPWB1VA0T9CzcIe/nqZ4adhJSzxPOFbEq7I
|
84
|
+
evU5DK/Wl1fnl3+iC92Cen0ls9ev3+D6foELlDYCj28/6kwsOCuul0ZVsAyc
|
85
|
+
cMuUNoTTEjzKgs7rUlFKyk8eDZSUFR75IySaGZ8tmQvuk2/p8anU5rn3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ctkbcHG/AULbAzQUwlgjzyxr1g6t/f7PJr
|
102
|
+
nnf/ZgA6iSuKpskX1E/8qkSnislZYjjQd025Zr1EIhERGUHuRWwsve17hMRj
|
103
|
+
KePF4pGf7GMnHcGh5mG1GdP19fTqoLEi2s4802Dn3mXYEqdnGxtFxmgf5OjX
|
104
|
+
zI3t9M2wwxc2h6lVzPnBTuctwNxctduKR9Jkc6LFMCSV0g1pz8Dg01S3TXek
|
105
|
+
8udmwPj9248xk/8gXgmHow0ADhvlP4Z9/WClIk/1GazS1EPoMSMzvlvPZWXA
|
106
|
+
VxpuShLGkXdWzQvKMoOmoz7YjhoFc6Axcxs4OiZ4Q/I2C3rZVk33XrLVcULF
|
107
|
+
9N5mmXYPs/g8/Pjj6sPtl7vb32/bf6fq25Ey+ydXSzZtaTtJHdaRpcjkyDMI
|
108
|
+
Xltbz4Ah2YpxJkZNKX7zHQAA//8DAPdou4VIEwAA
|
109
|
+
http_version:
|
110
|
+
recorded_at: Tue, 20 Oct 2015 11:27:38 GMT
|
111
|
+
- request:
|
112
|
+
method: get
|
113
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/dw49zp
|
114
|
+
body:
|
115
|
+
encoding: US-ASCII
|
116
|
+
string: ''
|
117
|
+
headers:
|
118
|
+
Accept-Encoding:
|
119
|
+
- gzip
|
120
|
+
Accept:
|
121
|
+
- application/xml
|
122
|
+
User-Agent:
|
123
|
+
- Braintree Ruby Gem 2.49.0
|
124
|
+
X-Apiversion:
|
125
|
+
- '4'
|
126
|
+
response:
|
127
|
+
status:
|
128
|
+
code: 200
|
129
|
+
message: OK
|
130
|
+
headers:
|
131
|
+
Date:
|
132
|
+
- Tue, 20 Oct 2015 11:27:40 GMT
|
133
|
+
Content-Type:
|
134
|
+
- application/xml; charset=utf-8
|
135
|
+
Transfer-Encoding:
|
136
|
+
- chunked
|
137
|
+
Connection:
|
138
|
+
- close
|
139
|
+
X-Authentication:
|
140
|
+
- basic_auth
|
141
|
+
X-User:
|
142
|
+
- 97syg9czj6hrdzyn
|
143
|
+
Vary:
|
144
|
+
- Accept-Encoding
|
145
|
+
Content-Encoding:
|
146
|
+
- gzip
|
147
|
+
X-Ua-Compatible:
|
148
|
+
- IE=Edge,chrome=1
|
149
|
+
Etag:
|
150
|
+
- '"7a44d1abd422187ba736d846faddcfc3"'
|
151
|
+
Cache-Control:
|
152
|
+
- max-age=0, private, must-revalidate
|
153
|
+
X-Request-Id:
|
154
|
+
- 3e8c9577a937d0dd2781d4df6de11fd7
|
155
|
+
X-Runtime:
|
156
|
+
- '0.160565'
|
157
|
+
X-Frame-Options:
|
158
|
+
- SAMEORIGIN
|
159
|
+
Strict-Transport-Security:
|
160
|
+
- max-age=31536000; includeSubDomains
|
161
|
+
body:
|
162
|
+
encoding: ASCII-8BIT
|
163
|
+
string: !binary |-
|
164
|
+
H4sIACwlJlYAA+xYS2/cNhC+51cs9i7rsWt7Y8gKjD5QFGkQJHFQ5GJQIrVi
|
165
|
+
VyJVklrv5td3RqJeK8lJD720PXk183E4M5ynwzenIl8dmdJcivu1f+WtV0wk
|
166
|
+
knKxv18/fvrZ2a3fRK9Co4jQJDGAil6tViGnEX3evv5ahi78RIo2xFQ60syY
|
167
|
+
nNHQtd/IMueSRZrkLHTrn0hLKqXgorPDtXTgPhb99PghdKdkBJNCVsJEgXfl
|
168
|
+
eaFrv5BRMJVkRBiHJAkSHVBGl0QdtMwrVFbr8quUoTsHRAFSUabw48Pmxg+C
|
169
|
+
bbCBCzpirahixDDqELNC5e/XFD4NL9ga9PGvHd9z/JtP3uu7ze1dcPsFTOgO
|
170
|
+
1Oerkn7/+R2c7w9YR2kjQX38aBx/ffv6dru7CVrXAzXlShtHkIKtBM/v10ZV
|
171
|
+
bO1aZk6WeYksSiLOMxxWEJ7P0J9ZrLmZk1VmUszRU3K6pOJD92aFMc9zCLje
|
172
|
+
RGNmjYtiokJ38H1hYP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Z
|
188
|
+
raskrZJ6h+hv72kNqBL8z4rZZAIyOJ9DOVZREsc+9TebJKbbTboljN7QeHtL
|
189
|
+
g2QbbwMc6xePNpKPTBTS0fSwkGwd307a42Szi5qTcYhMdR6NNV2PrxEMBNk3
|
190
|
+
xAyFlQUYRfmda1CH7yTYjbCfmoZLYo1Y2vMah2rwQEFSDg7SrTNQscHopSWU
|
191
|
+
MhaREkAz9MY8d2rfP2yyruKCGwjwp1Sqp36w+1c4INjcecHd9fWLDpj+V+D7
|
192
|
+
7J0WxnmD/461HcWmQNMDczI/uVexThQvFyf7Ab/rWPXa4pQwm0nqwHDroONm
|
193
|
+
avwFEtRSZhYLKl/cg4OAAz1/Zi2hXNe1a5bHGimyLSYL3Wdpl4d+MdVtLBQG
|
194
|
+
c/wvDti1UJ86fjMLZEQINpUKj3/E4SVlbGnswGvls9O85oQLbogrpZsNijJD
|
195
|
+
eN7uFmMW+ruP70Fs34Jpl8g2XfrlbBzDU8bkwMK/vl5ELAthJ/QgtHKF2vnz
|
196
|
+
csYguyjCYgw5AAvCwjv1gPb6KsGB8xKOPscArZk2IhZ8j54vK9yypqFpRxiH
|
197
|
+
C1gLqmYFx7Gt6V9P2L9Cdwk0HqwHLhjP38PZehH0bVn1NP4tWd3Irrg+YOyQ
|
198
|
+
fmPf+Lv33q9fNu8/fPk82N0pS7iul9pmF8DUspTarSNJoclgCHSgbGA+MXBJ
|
199
|
+
KsdJMCqK0au/AAAA//8DAF5cKfnsFQAA
|
200
|
+
http_version:
|
201
|
+
recorded_at: Tue, 20 Oct 2015 11:27:40 GMT
|
202
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,202 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<transaction>
|
11
|
+
<customer>
|
12
|
+
</customer>
|
13
|
+
<payment-method-nonce>fake-valid-nonce</payment-method-nonce>
|
14
|
+
<amount>20.00</amount>
|
15
|
+
<order-id>R624532677</order-id>
|
16
|
+
<descriptor>
|
17
|
+
<name></name>
|
18
|
+
</descriptor>
|
19
|
+
<options>
|
20
|
+
<submit-for-settlement type="boolean">true</submit-for-settlement>
|
21
|
+
<add-billing-address-to-payment-method type="boolean">false</add-billing-address-to-payment-method>
|
22
|
+
<three-d-secure>
|
23
|
+
<required type="boolean">false</required>
|
24
|
+
</three-d-secure>
|
25
|
+
<store-in-vault type="boolean">false</store-in-vault>
|
26
|
+
</options>
|
27
|
+
<type>sale</type>
|
28
|
+
</transaction>
|
29
|
+
headers:
|
30
|
+
Accept-Encoding:
|
31
|
+
- gzip
|
32
|
+
Accept:
|
33
|
+
- application/xml
|
34
|
+
User-Agent:
|
35
|
+
- Braintree Ruby Gem 2.49.0
|
36
|
+
X-Apiversion:
|
37
|
+
- '4'
|
38
|
+
Content-Type:
|
39
|
+
- application/xml
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 201
|
43
|
+
message: Created
|
44
|
+
headers:
|
45
|
+
Date:
|
46
|
+
- Tue, 20 Oct 2015 11:27:29 GMT
|
47
|
+
Content-Type:
|
48
|
+
- application/xml; charset=utf-8
|
49
|
+
Transfer-Encoding:
|
50
|
+
- chunked
|
51
|
+
Connection:
|
52
|
+
- close
|
53
|
+
X-Authentication:
|
54
|
+
- basic_auth
|
55
|
+
X-User:
|
56
|
+
- 97syg9czj6hrdzyn
|
57
|
+
Vary:
|
58
|
+
- Accept-Encoding
|
59
|
+
Content-Encoding:
|
60
|
+
- gzip
|
61
|
+
X-Ua-Compatible:
|
62
|
+
- IE=Edge,chrome=1
|
63
|
+
Etag:
|
64
|
+
- '"14ed538430f9bfe2b443cb6bb13bd608"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- c2e6c1de8d39a216826c0ccc1d648d50
|
69
|
+
X-Runtime:
|
70
|
+
- '0.944680'
|
71
|
+
X-Frame-Options:
|
72
|
+
- SAMEORIGIN
|
73
|
+
Strict-Transport-Security:
|
74
|
+
- max-age=31536000; includeSubDomains
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: !binary |-
|
78
|
+
H4sIACElJlYAA+RYS3PbNhC++1dodIcpykqseGh6kr6mk2kmTeJ22osHJFYi
|
79
|
+
ahJgAVCW8uu7IMGXCdq+9DHTm7j7YYF9YPeDoptjkS8OoDSX4noZnq+WCxCp
|
80
|
+
ZFzsr5e3X74n2+VNfBYZRYWmqUFUfLZYRJzF6Waj9CYK8KeVaENNpWNdJQU3
|
81
|
+
BtjdTqo7DcbkUIAwUeAAFmtOJcSa5hAF9U8rSyulcOcT4VoSPADE391+ioKp
|
82
|
+
2IJpISth4vXqfLWKAvdlFQWoNKPCEJqmVkjwdLqk6l7LvLKn17r8KmUU+IDW
|
83
|
+
gFQMlP349Hq9eXWxfn15GQWdsD6oAor+EWoW9vDXS4afhhewxPOEr0i4IuvV
|
84
|
+
lzC8Wl9erbe/owvdgnp9VbKXr3+D6/sFLlDaSDy+/agzsRA8v14aVcEycMId
|
85
|
+
V9oQQQvwKHM6r0tlUVJx8migoDz3yB8g0dz4bJWZFD75jh4fS22ee6+ihOc5
|
86
|
+
FuA/7KE2CgALgjEFWvtCcDQgmM3ELCSXKc258ZlXsMf688VJ4tXIm+J+swlX
|
87
|
+
WHBDUXtsLFJ1mveqUdsVhOZlRtcvQl08hxIVJoWn04QNcoSu7SrByDRRvUa7
|
88
|
+
YqdK0dNIifEcdBefEby/hmM4+m7yaIXPOK1MJhX/+rz5gdmEmjTzYjJelv/L
|
89
|
+
knyiQP4ztTjMjuuPZMchZ9rVwkETUEoqgjEqcQiA17UaN3B9jI5/wknz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0AcBho/zHsK8frFTkqT6DVZp6CD1mZMZ363lZGfCV
|
106
|
+
hpuShAvknVXzgrLMoOmod7ajRsEcaMzcBo6OCd6QvM2CnrdV073nbHWcUHF9
|
107
|
+
b7NMu4dZfBF+/Gb187e/Xbx7v23/napvR8rtn1wt2bSl7SR1WEeWIpMhzyB4
|
108
|
+
bW09A4ZkJ8eZGDWl+OwvAAAA//8DANDes8tIEwAA
|
109
|
+
http_version:
|
110
|
+
recorded_at: Tue, 20 Oct 2015 11:27:29 GMT
|
111
|
+
- request:
|
112
|
+
method: get
|
113
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/dw49zp
|
114
|
+
body:
|
115
|
+
encoding: US-ASCII
|
116
|
+
string: ''
|
117
|
+
headers:
|
118
|
+
Accept-Encoding:
|
119
|
+
- gzip
|
120
|
+
Accept:
|
121
|
+
- application/xml
|
122
|
+
User-Agent:
|
123
|
+
- Braintree Ruby Gem 2.49.0
|
124
|
+
X-Apiversion:
|
125
|
+
- '4'
|
126
|
+
response:
|
127
|
+
status:
|
128
|
+
code: 200
|
129
|
+
message: OK
|
130
|
+
headers:
|
131
|
+
Date:
|
132
|
+
- Tue, 20 Oct 2015 11:27:31 GMT
|
133
|
+
Content-Type:
|
134
|
+
- application/xml; charset=utf-8
|
135
|
+
Transfer-Encoding:
|
136
|
+
- chunked
|
137
|
+
Connection:
|
138
|
+
- close
|
139
|
+
X-Authentication:
|
140
|
+
- basic_auth
|
141
|
+
X-User:
|
142
|
+
- 97syg9czj6hrdzyn
|
143
|
+
Vary:
|
144
|
+
- Accept-Encoding
|
145
|
+
Content-Encoding:
|
146
|
+
- gzip
|
147
|
+
X-Ua-Compatible:
|
148
|
+
- IE=Edge,chrome=1
|
149
|
+
Etag:
|
150
|
+
- '"b9b4a145177709ca4c4e9a65f2994142"'
|
151
|
+
Cache-Control:
|
152
|
+
- max-age=0, private, must-revalidate
|
153
|
+
X-Request-Id:
|
154
|
+
- 6041002116419d19ea66aadd0097de5d
|
155
|
+
X-Runtime:
|
156
|
+
- '0.151220'
|
157
|
+
X-Frame-Options:
|
158
|
+
- SAMEORIGIN
|
159
|
+
Strict-Transport-Security:
|
160
|
+
- max-age=31536000; includeSubDomains
|
161
|
+
body:
|
162
|
+
encoding: ASCII-8BIT
|
163
|
+
string: !binary |-
|
164
|
+
H4sIACMlJlYAA+xYS2/cNhC+51cs9i7rsWt7Y8gKjD5QFGkQJHFQ5GJQIrVi
|
165
|
+
VyJVklrv5td3RqJeK8lJD720PXk183E4M5ynwzenIl8dmdJcivu1f+WtV0wk
|
166
|
+
knKxv18/fvrZ2a3fRK9Co4jQJDGAil6tViGnEX3evv5ahi78RIo2xFQ60syY
|
167
|
+
nNHQtd/IMueSRZrkLHTrn0hLKqXgorPDtXTgPhb99PghdKdkBJNCVsJEgXfl
|
168
|
+
eaFrv5BRMJVkRBiHJAkSHVBGl0QdtMwrVFbr8quUoTsHRAFSUabw48Pmxg+C
|
169
|
+
bbCBCzpirahixDDqELNC5e/XFD4NL9ga9PGvHd9z/JtP3uu7ze1dcPsFTOgO
|
170
|
+
1Oerkn7/+R2c7w9YR2kjQX38aBx/ffv6dru7CVrXAzXlShtHkIKtBM/v10ZV
|
171
|
+
bO1aZk6WeYksSiLOMxxWEJ7P0J9ZrLmZk1VmUszRU3K6pOJD92aFMc9zCLje
|
172
|
+
RGNmjYtiokJ38H1hYPSjhBjrP0c2Rj80f+FuS2jY2ijGIDAoVUzryPdWb+WR
|
173
|
+
5efVx5qBkTwCWPecDBMUn8mS30llsmem4cCEZ9WUCcm5OUe/MCWoFKBpS2kA
|
174
|
+
iu0xvx7ehq79aR0rIZnyJh021553HbpDUmslhLU6N4Y/CngiChZAJOmVTFcP
|
175
|
+
4GqeELR9ABufRGEOycuMBNHjxx46pC+d2MCJh7kjm7kjoqrViXZb7+JMy6lj
|
176
|
+
ZBAW4Ju0EhSSchJKHUfbBCN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192
|
+
7J0WxnmD/461HcWmQNMDczI/uVexThQvFyf7Ab/rWPXa4pQwm0nqwHDroONm
|
193
|
+
avwFEtRSZhYLKl/cg4OAAz1/Zi2hXNe1a5bHGimyLSYL3Wdpl4d+MdVtLBQG
|
194
|
+
c/wvDti1UJ86fjMLZEQINpUKj3/E4SVlbGnswGvls9O85oQLbogrpZsNijJD
|
195
|
+
eN7uFmMW+ruP70Fs34Jpl8g2XfrlbBzDU8bkwMK/vl5ELAthJ/QgtHKF2vnz
|
196
|
+
csYguyjCYgw5AAvCwjv1gPb6KsGB8xKOPscArZk2IhZ8j54vK9yypqFpRxiH
|
197
|
+
C1gLqmYFx7Gt6V9P2L9Cdwk0HqwHLhjP38PZehH0bVn1NP4tWd3Irrg+YOyQ
|
198
|
+
fmPf+Lv33q9fNu8/fPk82N0pS7iul9pmF8DUspTarSNJoclgCHSgbGA+MXBJ
|
199
|
+
KsdJMCqK0au/AAAA//8DAF5cKfnsFQAA
|
200
|
+
http_version:
|
201
|
+
recorded_at: Tue, 20 Oct 2015 11:27:31 GMT
|
202
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,202 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<transaction>
|
11
|
+
<customer>
|
12
|
+
</customer>
|
13
|
+
<payment-method-nonce>fake-valid-nonce</payment-method-nonce>
|
14
|
+
<amount>20.00</amount>
|
15
|
+
<order-id>R294097527</order-id>
|
16
|
+
<descriptor>
|
17
|
+
<name></name>
|
18
|
+
</descriptor>
|
19
|
+
<options>
|
20
|
+
<submit-for-settlement type="boolean">true</submit-for-settlement>
|
21
|
+
<add-billing-address-to-payment-method type="boolean">false</add-billing-address-to-payment-method>
|
22
|
+
<three-d-secure>
|
23
|
+
<required type="boolean">false</required>
|
24
|
+
</three-d-secure>
|
25
|
+
<store-in-vault type="boolean">false</store-in-vault>
|
26
|
+
</options>
|
27
|
+
<type>sale</type>
|
28
|
+
</transaction>
|
29
|
+
headers:
|
30
|
+
Accept-Encoding:
|
31
|
+
- gzip
|
32
|
+
Accept:
|
33
|
+
- application/xml
|
34
|
+
User-Agent:
|
35
|
+
- Braintree Ruby Gem 2.49.0
|
36
|
+
X-Apiversion:
|
37
|
+
- '4'
|
38
|
+
Content-Type:
|
39
|
+
- application/xml
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 201
|
43
|
+
message: Created
|
44
|
+
headers:
|
45
|
+
Date:
|
46
|
+
- Tue, 20 Oct 2015 11:27:34 GMT
|
47
|
+
Content-Type:
|
48
|
+
- application/xml; charset=utf-8
|
49
|
+
Transfer-Encoding:
|
50
|
+
- chunked
|
51
|
+
Connection:
|
52
|
+
- close
|
53
|
+
X-Authentication:
|
54
|
+
- basic_auth
|
55
|
+
X-User:
|
56
|
+
- 97syg9czj6hrdzyn
|
57
|
+
Vary:
|
58
|
+
- Accept-Encoding
|
59
|
+
Content-Encoding:
|
60
|
+
- gzip
|
61
|
+
X-Ua-Compatible:
|
62
|
+
- IE=Edge,chrome=1
|
63
|
+
Etag:
|
64
|
+
- '"208e5f583d79b8f2afde85c839381474"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- 2802cafa4aedb32eecda56c791cfa475
|
69
|
+
X-Runtime:
|
70
|
+
- '0.968819'
|
71
|
+
X-Frame-Options:
|
72
|
+
- SAMEORIGIN
|
73
|
+
Strict-Transport-Security:
|
74
|
+
- max-age=31536000; includeSubDomains
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: !binary |-
|
78
|
+
H4sIACYlJlYAA+RYS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
|
+
VwVNkoZO/cY1xVrpv7tWUXHVprKUwuRJtI6DmXCGPQJVSEzW4QTcSN2+bnIT
|
95
|
+
22gagvj4dZjng3Q4ZS6LJtj+9sFLugVSqyLJjan0dRBQjS1an6aKcmGvjav3
|
96
|
+
U+ybQUWPtnM/lYC1yp4KuZXBHv0/rcT2FsSeKyks4EZTwVJ5QL7a23e9TkFF
|
97
|
+
kdv9Im35tb9bTQ60MDmeGJJHsRPyWcTBSNaCGKTcDPr206lqhYnDGtzWhWVw
|
98
|
+
I9RLTT8ILC/FWTdARzJ3XnpUshghOoELn9Y1tkIcZWI3YCbSaWuVG2K1VGTo
|
99
|
+
5tdPdse5oguVZHXWcOVh90HWgmrB/6zBXSUUY/A5NuPZrbJ3FEQpiWa7hbvT
|
100
|
+
6x1HnN4d9+QgOcdSU8cJB+jnZ4MANOSSYi8ccm1UlNU7+XeP7y24p8xAMcav
|
101
|
+
mwax9EBpI6SR55Z0w5Hb647I24ONeIqW2JkgoRWCPPLWvWDu39/s8nued/9m
|
102
|
+
AHqJK4q2yRfUT/zqVGeKV4vEcKTvm3LDekmFREQygtyL2Fh62/cEicdSxovF
|
103
|
+
I7/Yx046gkPNw2oZ18319OqgtSK7zrzQYJfeZdgS52ebGkXGaB/k6NfCje31
|
104
|
+
7bDDF7aAuVXM+d5O5w3A0ly128pn0mZzpsUwpLXSLWlnYPBpqrumO1H5czNi
|
105
|
+
/P7tp5jZfxDvhMPBBgCHjfIfw75+sFKRp/oM1lnmIfSYkQXfredVbcBXGm5K
|
106
|
+
Ei6Qd9btC8oyg7ajPtmOGgdLoClzGzk6JXhj8rYIettWQ/festVzQsX1zmaZ
|
107
|
+
9g+z5Cz69bvw809f7u7u77t/p5rbkXH7J1dHNm1pO0kT1oml2OTIMwheW1vP
|
108
|
+
gCHZyGkmJk0p+fAXAAAA//8DAJavVotIEwAA
|
109
|
+
http_version:
|
110
|
+
recorded_at: Tue, 20 Oct 2015 11:27:34 GMT
|
111
|
+
- request:
|
112
|
+
method: get
|
113
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/dw49zp
|
114
|
+
body:
|
115
|
+
encoding: US-ASCII
|
116
|
+
string: ''
|
117
|
+
headers:
|
118
|
+
Accept-Encoding:
|
119
|
+
- gzip
|
120
|
+
Accept:
|
121
|
+
- application/xml
|
122
|
+
User-Agent:
|
123
|
+
- Braintree Ruby Gem 2.49.0
|
124
|
+
X-Apiversion:
|
125
|
+
- '4'
|
126
|
+
response:
|
127
|
+
status:
|
128
|
+
code: 200
|
129
|
+
message: OK
|
130
|
+
headers:
|
131
|
+
Date:
|
132
|
+
- Tue, 20 Oct 2015 11:27:36 GMT
|
133
|
+
Content-Type:
|
134
|
+
- application/xml; charset=utf-8
|
135
|
+
Transfer-Encoding:
|
136
|
+
- chunked
|
137
|
+
Connection:
|
138
|
+
- close
|
139
|
+
X-Authentication:
|
140
|
+
- basic_auth
|
141
|
+
X-User:
|
142
|
+
- 97syg9czj6hrdzyn
|
143
|
+
Vary:
|
144
|
+
- Accept-Encoding
|
145
|
+
Content-Encoding:
|
146
|
+
- gzip
|
147
|
+
X-Ua-Compatible:
|
148
|
+
- IE=Edge,chrome=1
|
149
|
+
Etag:
|
150
|
+
- '"7badabe53845fedd2ab7dd29cb3cad39"'
|
151
|
+
Cache-Control:
|
152
|
+
- max-age=0, private, must-revalidate
|
153
|
+
X-Request-Id:
|
154
|
+
- 4243d1ff285863a334aa9ca4ec0fc50d
|
155
|
+
X-Runtime:
|
156
|
+
- '0.260172'
|
157
|
+
X-Frame-Options:
|
158
|
+
- SAMEORIGIN
|
159
|
+
Strict-Transport-Security:
|
160
|
+
- max-age=31536000; includeSubDomains
|
161
|
+
body:
|
162
|
+
encoding: ASCII-8BIT
|
163
|
+
string: !binary |-
|
164
|
+
H4sIACglJlYAA+xYS2/cNhC+51cs9i7rsWt7Y8gKjD5QFGkQJHFQ5GJQIrV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5AAvCwjv1gPb6KsGB8xKOPscArZk2IhZ8j54vK9yypqFpRxiH
|
197
|
+
C1gLqmYFx7Gt6V9P2L9Cdwk0HqwHLhjP38PZehH0bVn1NP4tWd3Irrg+YOyQ
|
198
|
+
fmPf+Lv33q9fNu8/fPk82N0pS7iul9pmF8DUspTarSNJoclgCHSgbGA+MXBJ
|
199
|
+
KsdJMCqK0au/AAAA//8DAF5cKfnsFQAA
|
200
|
+
http_version:
|
201
|
+
recorded_at: Tue, 20 Oct 2015 11:27:36 GMT
|
202
|
+
recorded_with: VCR 2.9.3
|