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>R531606614</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:42 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
|
+
- '"4bfd1f403883896e739321ad56d158d8"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- 9881004c4d1b4d2fefe6c70e0c204d22
|
69
|
+
X-Runtime:
|
70
|
+
- '0.592599'
|
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
|
+
H4sIAC4lJlYAA+RYWW/jNhB+319h+J2R5FzeQFGw6A20i3Z3syj2JaCkkcVa
|
79
|
+
IlWScuz99R1K1BVRSV56AH2zZj4OOQdnPjq8O5bF6gBSMcFv18GZv14BT0TK
|
80
|
+
+O52ff/pe7Jd30VvQi0pVzTRiIrerFYhS6Pry+vjVoce/jQSpamuVaTquGRa
|
81
|
+
Q/qQCfmgQOsCSuCIswCD1acKIkULCL3mp5EltZS484kwJQgeAKLv7j+E3lxs
|
82
|
+
wLQUNdfRxj/z/dCzX0ZRgkxyyjWhSWKEBE+nKir3ShS1Ob1S1VchQs8FNAaE
|
83
|
+
TEGajw+X58GVf3UVXIReL2wOKoGif4TqlTn87TrFT81KWON5gksS+GTjfwqC
|
84
|
+
m831zUXwBV3oFzTr6yp9/foNrh8W2EApLfD45qPJxIqz4natZQ1rzwozJpUm
|
85
|
+
nJbgUBZ0WZeIsqL85NBASVnhkD9CrJh22apywV3yjB6fSk2eB6/CmBUFFuA/
|
86
|
+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BDnnrnjf37292+TXPu38z
|
102
|
+
AL3EFkXb5AvqJn51rBLJqkViONL3TblhvaRCIiJSgtyLmFg62/cEiceS2onF
|
103
|
+
Iz/Zx0w6gkPNwWpTpprr6dRBa0V0nXmhwS69y7Alzs82NYqM0TzI0a+FG9vr
|
104
|
+
22GHL2wOc6uY84OZzhnA0lw124pH0mZzpsUwxLVULWlPQePTVHVNd6Jy52bE
|
105
|
+
+N3bTzGz/yBeCYejCQAOG+k+hnn9YKUiT3UZrJPEQegxIwu+G8+rWoOrNOyU
|
106
|
+
JIwj76zbF5RhBm1HfTAdNfSWQFPmNnJ0SvDG5G0R9LKthu69ZKvnhJKpvcky
|
107
|
+
7R9m0Xnw6zf+j5+vfvv258vu36nmdiTM/MnVkU1T2lbShHViKdQ58gyC19bU
|
108
|
+
M2BIMjHNxKQpRW/+AgAA//8DAEZf9+xIEwAA
|
109
|
+
http_version:
|
110
|
+
recorded_at: Tue, 20 Oct 2015 11:27:42 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:43 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
|
+
- '"7ef218856c5537b02c4555cdbbb437f7"'
|
151
|
+
Cache-Control:
|
152
|
+
- max-age=0, private, must-revalidate
|
153
|
+
X-Request-Id:
|
154
|
+
- ddb367b2e879eb57ea4238238810e95a
|
155
|
+
X-Runtime:
|
156
|
+
- '0.196325'
|
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
|
+
H4sIAC8lJlYAA+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+FuS2jY2ijG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BL8z4rZZAIyOJ9DOVZREsc+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:43 GMT
|
202
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,178 @@
|
|
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-paypal-one-time-nonce</payment-method-nonce>
|
14
|
+
<amount>20.00</amount>
|
15
|
+
<order-id>R073394327</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 09:27:20 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
|
+
- '"d80a855e2d20bbd2ff7a7a07b3bfcdcf"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- bb73d70fb870364a18952aef1257b481
|
69
|
+
X-Runtime:
|
70
|
+
- '0.447516'
|
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
|
+
H4sIAPgIJlYAA+xYS3PbNhC+51d4dC5MSpYrKSMzdRI1404OGTc+tBcPSCxF
|
79
|
+
1CTAAKAs5dd3wTdNMHZn+pppb+Tuh8c+sPsB2zfHLD07gNJciqvZ/NyfnYGI
|
80
|
+
JONifzW7+/wjWc/eBK+2RlGhaWQQFbw6O9tyFsTJ/svmtPXw00q0oabQgQZj
|
81
|
+
Uhy89WqB1ZlTDoGmKWy98tPKokIpXOlEuJYEF4Rgd3e79cZiC6aZLIQJFv65
|
82
|
+
72+9+s8qMlBRQoUhNIqskOBudE7Vg5ZpYXerdf5Vyq3nAtoJpGKg7M+tv7q4
|
83
|
+
2CwvFqut1wrLjSqgBhih5sxu/mrG8NfwDGa4n/klmftk4X/2N68Xq9cL/1c0
|
84
|
+
oR1Qji9y9sfGdwNqR2kjcfv2p/T8meDp1cyoAmZeLYy50oYImoFDmdJpXSSz
|
85
|
+
nIqTQwMZ5alD/gih5sY1V55I4ZLH9PhUauPcWbUNeWpz5m+2UBsFgAnBmAKt
|
86
|
+
XS44GhDMRmISksqIpty4plewx/xz+Uni0UjL5HbuF7NTnabNqdR2NKFpntDF
|
87
|
+
i1AXz6FEgdHg0ThSveCgTXEhGBlHqNPoOsupUvQ0UKIje2XENQkeXMPRNWUR
|
88
|
+
gQzwmA5HuCanhUmk4l+fn743bUhNlDgxCc/z/3PxX5qL/ejUhZHEHFKm61w4
|
89
|
+
aAJKSUXQRzlWf3CaVuJ6pg/RwQ22mG8CmimGUXPP8k1MacbhMB45FlroHvvC
|
90
|
+
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sJfH6+kt2+kwLviNmQAE+iS9qZ
|
106
|
+
IDkieNxsHgLaEUvH7dga/QzLRBC26/LxJii/f4Aj1r8ULOUqHdWq2wGV61jw
|
107
|
+
6foXEi0vVxeX681mtdkslytgsF5H/uW65+OGIQyvFij++frjjiw3G59iNfaX
|
108
|
+
q9Bf0zkW0ae4P4ssVg55OVdEYlfs7Qbe797efSBhGF+sN0u2opeLkvVVys6P
|
109
|
+
QKYewfpXz8kgVB7d3d7fvCdsSePv4ygOl8t5GC7jJhKD9RTpXhaCn2QiGlRP
|
110
|
+
3Ee3Tw3BewkNthM2BzxNUYx5aOo7Y93xdh9vPty8/bjDOj4FaXh/bsqkZMG7
|
111
|
+
60+f7253aBHSuE7cPDJMPA496ZBd9Qz87/z5sE32lO6RE+/Gz8OaHGhb1rhE
|
112
|
+
NSdsMF3w6ncAAAD//wMAUb3KgCUXAAA=
|
113
|
+
http_version:
|
114
|
+
recorded_at: Tue, 20 Oct 2015 09:27:20 GMT
|
115
|
+
- request:
|
116
|
+
method: put
|
117
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/fhgq9y/void
|
118
|
+
body:
|
119
|
+
encoding: UTF-8
|
120
|
+
string: ''
|
121
|
+
headers:
|
122
|
+
Accept-Encoding:
|
123
|
+
- gzip
|
124
|
+
Accept:
|
125
|
+
- application/xml
|
126
|
+
User-Agent:
|
127
|
+
- Braintree Ruby Gem 2.49.0
|
128
|
+
X-Apiversion:
|
129
|
+
- '4'
|
130
|
+
Content-Type:
|
131
|
+
- application/xml
|
132
|
+
response:
|
133
|
+
status:
|
134
|
+
code: 422
|
135
|
+
message: Unprocessable Entity
|
136
|
+
headers:
|
137
|
+
Date:
|
138
|
+
- Tue, 20 Oct 2015 09:27:22 GMT
|
139
|
+
Content-Type:
|
140
|
+
- application/xml; charset=utf-8
|
141
|
+
Transfer-Encoding:
|
142
|
+
- chunked
|
143
|
+
Connection:
|
144
|
+
- close
|
145
|
+
X-Authentication:
|
146
|
+
- basic_auth
|
147
|
+
X-User:
|
148
|
+
- 97syg9czj6hrdzyn
|
149
|
+
Vary:
|
150
|
+
- Accept-Encoding
|
151
|
+
Content-Encoding:
|
152
|
+
- gzip
|
153
|
+
X-Ua-Compatible:
|
154
|
+
- IE=Edge,chrome=1
|
155
|
+
Cache-Control:
|
156
|
+
- no-cache
|
157
|
+
X-Request-Id:
|
158
|
+
- fb3ad83000a912e46b57f1a50700ba32
|
159
|
+
X-Runtime:
|
160
|
+
- '0.118916'
|
161
|
+
X-Frame-Options:
|
162
|
+
- SAMEORIGIN
|
163
|
+
Strict-Transport-Security:
|
164
|
+
- max-age=31536000; includeSubDomains
|
165
|
+
body:
|
166
|
+
encoding: ASCII-8BIT
|
167
|
+
string: !binary |-
|
168
|
+
H4sIAPoIJlYAA7xSQW7CMBC88wrL92BQW6lIxtz6AnpGjrMEV4kddjeo6evr
|
169
|
+
QEJCxbm33ZnJemYUvfuuK3EBJB/DVq6XKykguFj4UG7l5/4je5c7s9C28Rkg
|
170
|
+
RswQqImBwCyE0FeI+vG+CO4a2EqLaDupBorRBrKO0yM35Ll85EZ22hOSTIHZ
|
171
|
+
rN9Wr1pd5zlpmdHnLcNwj7o6j5U0uSXQ6s4+fFMDkS3B7CdzwtkgYqg6kYO4
|
172
|
+
RF9AIfxREFtuSXgStuVTRP+T8IiC2rz2zFAcjhEPBMwV1BB4qdV4fEqkHiIN
|
173
|
+
69id+tPQnNaNRVuPykHTm0vBZpWmggJjrCpAM7tGfVt3YjEkR3eygTNfmM65
|
174
|
+
oqnDi7vwV14G7K1P7E2fhuOpPG86rW6YVpOnf+oxhX3yD/4CAAD//wMAcLOo
|
175
|
+
H8ACAAA=
|
176
|
+
http_version:
|
177
|
+
recorded_at: Tue, 20 Oct 2015 09:27:22 GMT
|
178
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,199 @@
|
|
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>R691344018</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 09:27:25 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
|
+
- '"0fac8f6aaf2e905431cf0e44f17d9d1a"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- 78dd09f054ff624f3442de49b99d8dcd
|
69
|
+
X-Runtime:
|
70
|
+
- '0.667001'
|
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
|
+
H4sIAP0IJlYAA+RYS2/jNhC+51cYvjOSnWTXCRQFi22LFmiDxW7SLnoJaHFs
|
79
|
+
cS2RKkk5dn59hxL1iqgkPfQB9GbNfBxyHpz56OjmkGezPSjNpbieL07D+QxE
|
80
|
+
IhkX2+v5/d0PZDW/iU8io6jQNDGIik9ms4izeHv+LXliUYA/rUQbakod63Kd
|
81
|
+
c2OAPWyketBgTAY5CBMFDmCx5lhArGkGUVD9tLKkVAp3PhKuJcEDQPz9/eco
|
82
|
+
GIstmOayFCZehqdhGAXuyypyUElKhSE0SayQ4Ol0QdVOy6y0p9e6eJIyCnxA
|
83
|
+
a0AqBsp+fH53uTg7Pw8XqyhohdVBFVD0j1Azs4e/njP8NDyHOZ5ncUEWIVmG
|
84
|
+
d+Hl1fL91fLid3ShXVCtLwv219Z3C1ygtJF4fPtRZWImeHY9N6qEeeCEG660
|
85
|
+
IYLm4FFmdFqXyLyg4ujRQE555pE/wlpz47NVpFL45Bt6eC61ee68itY8y7AA
|
86
|
+
/2EPtVEAWBCMKdDaF4KDAcFsJiYhmUxoxo3PvIIt1p8vThKvRlYX9+X5Inwf
|
87
|
+
BX1Rc2wsUnWc9qpW2xWEZkVKl29Cnb2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41DyslnFdXU+vDmorsunMEw126l2GLXF8tqFRZIz2QY5+TdzY
|
104
|
+
Vl8PO3xhCxhbxZzv7XTeAEzNVbutfCR1NkdaDMO6VLom7QwMPk1103QHKn9u
|
105
|
+
eozfv/0QM/oP4o1wONgA4LBR/mPY1w9WKvJUn8EySTyEHjMy4bv1vCgN+ErD
|
106
|
+
TUnCBfLOsn5BWWZQd9QH21GjYAo0ZG49R4cEr0/eJkGv26ro3mu2Wk6ouN7Z
|
107
|
+
LNP2YRafLT79GH738dPHr7e/Nf9OVbcj4fZProZs2tJ2kiqsA0uRSZFnELy2
|
108
|
+
tp4BQ7KRw0wMmlJ88icAAAD//wMA4uBP6kgTAAA=
|
109
|
+
http_version:
|
110
|
+
recorded_at: Tue, 20 Oct 2015 09:27:25 GMT
|
111
|
+
- request:
|
112
|
+
method: put
|
113
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/g4jczd/void
|
114
|
+
body:
|
115
|
+
encoding: UTF-8
|
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
|
+
Content-Type:
|
127
|
+
- application/xml
|
128
|
+
response:
|
129
|
+
status:
|
130
|
+
code: 200
|
131
|
+
message: OK
|
132
|
+
headers:
|
133
|
+
Date:
|
134
|
+
- Tue, 20 Oct 2015 09:27:27 GMT
|
135
|
+
Content-Type:
|
136
|
+
- application/xml; charset=utf-8
|
137
|
+
Transfer-Encoding:
|
138
|
+
- chunked
|
139
|
+
Connection:
|
140
|
+
- close
|
141
|
+
X-Authentication:
|
142
|
+
- basic_auth
|
143
|
+
X-User:
|
144
|
+
- 97syg9czj6hrdzyn
|
145
|
+
Vary:
|
146
|
+
- Accept-Encoding
|
147
|
+
Content-Encoding:
|
148
|
+
- gzip
|
149
|
+
X-Ua-Compatible:
|
150
|
+
- IE=Edge,chrome=1
|
151
|
+
Etag:
|
152
|
+
- '"8a770a9a6811da2f440ca3f44ace2ece"'
|
153
|
+
Cache-Control:
|
154
|
+
- max-age=0, private, must-revalidate
|
155
|
+
X-Request-Id:
|
156
|
+
- 6d27d48fcd23e4a5845945253b87ebd8
|
157
|
+
X-Runtime:
|
158
|
+
- '0.249139'
|
159
|
+
X-Frame-Options:
|
160
|
+
- SAMEORIGIN
|
161
|
+
Strict-Transport-Security:
|
162
|
+
- max-age=31536000; includeSubDomains
|
163
|
+
body:
|
164
|
+
encoding: ASCII-8BIT
|
165
|
+
string: !binary |-
|
166
|
+
H4sIAP8IJlYAA+RYS2/jNhC+51cYvjOynWTzgKJgsW3RAm2w2E3aRS8BJY4t
|
167
|
+
riVSJSnHzq/foUS9IipJD32gvZkzn4acB2c+OrzZ59lsB0pzKa7ny+PFfAYi
|
168
|
+
kYyLzfX8/u4HcjG/iY5Co6jQNDGIio5ms5CzaHP6NXliYYA/rUQbakod7SRn
|
169
|
+
gFK3tBpzKCDSNIMwqH5aWVIqhfscCNeS4HYQfX//KQzGYgumuSyFiVaL48Ui
|
170
|
+
DNzKKnJQSUqFITRJrJDgWXRB1VbLrLRn1bp4kjIMfEBrQCoGyi4+vbtcnpye
|
171
|
+
LpYXYdAKq4MqoAYYoWZmD389Z7g0PIc5nmd5RpYLslrcLS6vVudXq7Pf0YX2
|
172
|
+
g+r7smB/7vvuAxcobSQe3y6quM8Ez67nRpUwD5xwzZU2RNAcPMqMTusSmRdU
|
173
|
+
HDwayCnPPPJHiDU3PltFKoVPvqb751Kb586rMOZZhuX2N3uojQLAgmBMgda+
|
174
|
+
EOwNCGYzMQnJZEIzbnzmFWyw/nxxkng1srq4L0+Xi/Mw6IuaY2ORqsO0V7Xa
|
175
|
+
fkFoVqR09SbUyWsoUWJSeDJOWC9H6Nq6FIyME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OMM9JJ5xXXUjrw5qK7IZRBPzZOoZihNgfLah
|
192
|
+
USTI9v8H9GuiQbX6eranVAgYW8Wc7ywZWQNM0Qi7rXwkdTZHWgxDXCpdv1EY
|
193
|
+
GHyJ62bGDFT+3PQeOP7th5jRXy5vhMPeBgBnq/Ifwz72sFKRlvsMlknieb9g
|
194
|
+
RiZ8t54XpQFfaThSQLhAml3WD0ZLhOoB8mAHSBhMgYZEtefokM/2ueok6HVb
|
195
|
+
Fbt9zVZLgRXXW5tl2r5Do5Plxx8X3334+OHL7W/NX2/V7Ui4/Qev4da2tJ2k
|
196
|
+
CuvAUmhSpFUEr62tZ8CQrOUwE4OmFB19AwAA//8DAMjmiNYlFAAA
|
197
|
+
http_version:
|
198
|
+
recorded_at: Tue, 20 Oct 2015 09:27:27 GMT
|
199
|
+
recorded_with: VCR 2.9.3
|