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,113 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://5ffsvj9qxt38xptf:50ea069d312d35fbf779a66b6c86b897@api.sandbox.braintreegateway.com/merchants/zt9ssvxzppgzdjmn/transactions
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<transaction>
|
11
|
+
<channel>SpreeCommerceInc_Cart_Braintree</channel>
|
12
|
+
<customer>
|
13
|
+
</customer>
|
14
|
+
<payment-method-nonce>fake-valid-nonce</payment-method-nonce>
|
15
|
+
<amount>29.99</amount>
|
16
|
+
<order-id>R234352914</order-id>
|
17
|
+
<descriptor>
|
18
|
+
<name></name>
|
19
|
+
</descriptor>
|
20
|
+
<options>
|
21
|
+
<submit-for-settlement type="boolean">false</submit-for-settlement>
|
22
|
+
<add-billing-address-to-payment-method type="boolean">false</add-billing-address-to-payment-method>
|
23
|
+
<three-d-secure>
|
24
|
+
<required nil="true"/>
|
25
|
+
</three-d-secure>
|
26
|
+
<store-in-vault type="boolean">false</store-in-vault>
|
27
|
+
</options>
|
28
|
+
<type>sale</type>
|
29
|
+
</transaction>
|
30
|
+
headers:
|
31
|
+
Accept-Encoding:
|
32
|
+
- gzip
|
33
|
+
Accept:
|
34
|
+
- application/xml
|
35
|
+
User-Agent:
|
36
|
+
- Braintree Ruby Gem 2.73.0
|
37
|
+
X-Apiversion:
|
38
|
+
- '4'
|
39
|
+
Content-Type:
|
40
|
+
- application/xml
|
41
|
+
response:
|
42
|
+
status:
|
43
|
+
code: 201
|
44
|
+
message: Created
|
45
|
+
headers:
|
46
|
+
Date:
|
47
|
+
- Sun, 09 Apr 2017 10:52:25 GMT
|
48
|
+
Content-Type:
|
49
|
+
- application/xml; charset=utf-8
|
50
|
+
Transfer-Encoding:
|
51
|
+
- chunked
|
52
|
+
X-Frame-Options:
|
53
|
+
- SAMEORIGIN
|
54
|
+
- SAMEORIGIN
|
55
|
+
X-Xss-Protection:
|
56
|
+
- 1; mode=block
|
57
|
+
X-Content-Type-Options:
|
58
|
+
- nosniff
|
59
|
+
X-Authentication:
|
60
|
+
- basic_auth
|
61
|
+
X-User:
|
62
|
+
- vzw4dwqpkk82wnfg
|
63
|
+
Vary:
|
64
|
+
- Accept-Encoding
|
65
|
+
Content-Encoding:
|
66
|
+
- gzip
|
67
|
+
Etag:
|
68
|
+
- W/"206b1fa9d2ac144bf40144a422aaf7b2"
|
69
|
+
Cache-Control:
|
70
|
+
- max-age=0, private, must-revalidate
|
71
|
+
X-Request-Id:
|
72
|
+
- 34da11f7-130f-47a6-b045-c3b227a32ae4
|
73
|
+
X-Runtime:
|
74
|
+
- '0.709566'
|
75
|
+
Strict-Transport-Security:
|
76
|
+
- max-age=31536000; includeSubDomains
|
77
|
+
body:
|
78
|
+
encoding: ASCII-8BIT
|
79
|
+
string: !binary |-
|
80
|
+
H4sIAGkS6lgAA+RYS2/jNhC+51cYvjOyHWc3DhQF7S4KLPpAsUmKpheDksYW
|
81
|
+
G4nUkpRi99d3KFKyFFFJeikK9GbNfBxynvzo8PZQ5LMapGKC38yX54v5DHgi
|
82
|
+
Usb3N/OH+x/I1fw2Ogu1pFzRRCMqOpvNQpZGxbGo6w/FtzDADyNTmupKRbTS
|
83
|
+
mZDsL0jDwImMVh9LiBTNIQyan0aWVFLibkfClCC4KUQPd5/DYCw2YFqIiuto
|
84
|
+
tTnfbMLAfRlFATLJKNeEJokREjxPpdLWShj4AM2Bq5h4dDPO8pu5lhXMA7sB
|
85
|
+
VRrku6BCpohE+19XF+uLy9VmuQ6DTtj4LIFqSAnVMxOHm3mKn5oVMI9Wi+VH
|
86
|
+
sliTxeZ+ubi+XF2vLv/AaHQLmvVVmf6z9acFLuZKC3TFfDSJfOkDCnd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5dkgAA25jJhuQ6KNiqJ8J/nu8J2FV19JDWLqoWMj
|
103
|
+
pJDkFnTHtqWskdyrlsmbw/WIihI4miCiJcNDjOXWxeClj53ExcUOuZz6iU8V
|
104
|
+
q0SycpIY9fTdUGpYHynxIhYpQe5BTAS942uAxGNJ7cXikV/sYyY9waHuYXUp
|
105
|
+
U02FenVgrYh2Mk0MmKl3CY6E8dmGRpExmVcp+jVRtJ3eDnt8bXLIozucK/DJ
|
106
|
+
NjJ84cn2EwZj+307z7C4HdDSUVmbq2sHMHXpmDOJZ2JTPdJijOJKKstoU9D4
|
107
|
+
blPtRBqo/Inr0WH/9kPM6K3/TjgcjNM4iaX/GOZpgGWMJM5nsEoSD9vFdE34
|
108
|
+
bjwvKw2+unFXCGEcSVllnxfm2rQTZ2smThhMgYa0pufokP30mc0k6G1bDRd6
|
109
|
+
y1ZHmCRTTybLtHu1RL8+fkZO8bj58PHrRfu/T9M6CTN/ILVMzNS9kzRhHVgK
|
110
|
+
dYZFS7CnTbEDhmQnhpkYTKzo7G8AAAD//wMA7clNuKQSAAA=
|
111
|
+
http_version:
|
112
|
+
recorded_at: Sun, 09 Apr 2017 10:52:25 GMT
|
113
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://5ffsvj9qxt38xptf:50ea069d312d35fbf779a66b6c86b897@api.sandbox.braintreegateway.com/merchants/zt9ssvxzppgzdjmn/client_token
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<client-token>
|
11
|
+
<version type="integer">2</version>
|
12
|
+
</client-token>
|
13
|
+
headers:
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip
|
16
|
+
Accept:
|
17
|
+
- application/xml
|
18
|
+
User-Agent:
|
19
|
+
- Braintree Ruby Gem 2.64.0
|
20
|
+
X-Apiversion:
|
21
|
+
- '4'
|
22
|
+
Content-Type:
|
23
|
+
- application/xml
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 201
|
27
|
+
message: Created
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Wed, 27 Jul 2016 15:37:42 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/xml; charset=utf-8
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
- SAMEORIGIN
|
38
|
+
X-Xss-Protection:
|
39
|
+
- 1; mode=block
|
40
|
+
X-Content-Type-Options:
|
41
|
+
- nosniff
|
42
|
+
X-Authentication:
|
43
|
+
- basic_auth
|
44
|
+
X-User:
|
45
|
+
- vzw4dwqpkk82wnfg
|
46
|
+
Vary:
|
47
|
+
- Accept-Encoding
|
48
|
+
Content-Encoding:
|
49
|
+
- gzip
|
50
|
+
Etag:
|
51
|
+
- W/"82a8e303ef6764cf801a1f95e1bd6a17"
|
52
|
+
Cache-Control:
|
53
|
+
- max-age=0, private, must-revalidate
|
54
|
+
X-Request-Id:
|
55
|
+
- a904cfd7-33b5-4a41-9d28-afef263d0726
|
56
|
+
X-Runtime:
|
57
|
+
- '0.127775'
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubDomains
|
60
|
+
body:
|
61
|
+
encoding: ASCII-8BIT
|
62
|
+
string: !binary |-
|
63
|
+
H4sIAEbVmFcAA8RV23KjOBB9n69I5X12QJjUUJVkKo4DmDLygM1FekMSCRcJ
|
64
|
+
s/GFy9dP42Q3SW328rYPLlchdffp0+e0rn/0Sl6c8ud9uWtuLvXftMuLvOE7
|
65
|
+
UTZPN5fR1v76/fLH7ZdrLsu8OXw97Oq8uf1ycXF9yuQxv80HD9HUG7PEOi6r
|
66
|
+
3bC69wqRhjtmeG2ubG36Hip5pCgeuOu1rAnKdbmc4QUt8NbvSVXPcIJrv4qr
|
67
|
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ne0ummK6EvlKUe+F2f
|
83
|
+
vLJmmgk+ECeu9hBLQW9YfupvZSmq+pap6MwVnENcKOnD204ErSjQzjjVea/R
|
84
|
+
4KMODuBLbfLzq87Hs1aUBLzwFmh2M8Wc67r4vQ7/zA1nA/BSTPuFwO4Sb7kb
|
85
|
+
0swr8BTwbFb5mSPQegP9KGxuUnwKkFXTDfRTi/vo/uwL0IA8EpgBjeIjgZ1N
|
86
|
+
p1xvXLztngdZT3r43GOT5l72wXSHIaqWjXZz/e3lLfxy/e3jK/kLAAD//wMA
|
87
|
+
cXmQAVwHAAA=
|
88
|
+
http_version:
|
89
|
+
recorded_at: Wed, 27 Jul 2016 15:37:42 GMT
|
90
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://5ffsvj9qxt38xptf:50ea069d312d35fbf779a66b6c86b897@api.sandbox.braintreegateway.com/merchants/zt9ssvxzppgzdjmn/client_token
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<client-token>
|
11
|
+
<version type="integer">2</version>
|
12
|
+
</client-token>
|
13
|
+
headers:
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip
|
16
|
+
Accept:
|
17
|
+
- application/xml
|
18
|
+
User-Agent:
|
19
|
+
- Braintree Ruby Gem 2.64.0
|
20
|
+
X-Apiversion:
|
21
|
+
- '4'
|
22
|
+
Content-Type:
|
23
|
+
- application/xml
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 201
|
27
|
+
message: Created
|
28
|
+
headers:
|
29
|
+
Date:
|
30
|
+
- Wed, 27 Jul 2016 15:37:41 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/xml; charset=utf-8
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
X-Frame-Options:
|
36
|
+
- SAMEORIGIN
|
37
|
+
- SAMEORIGIN
|
38
|
+
X-Xss-Protection:
|
39
|
+
- 1; mode=block
|
40
|
+
X-Content-Type-Options:
|
41
|
+
- nosniff
|
42
|
+
X-Authentication:
|
43
|
+
- basic_auth
|
44
|
+
X-User:
|
45
|
+
- vzw4dwqpkk82wnfg
|
46
|
+
Vary:
|
47
|
+
- Accept-Encoding
|
48
|
+
Content-Encoding:
|
49
|
+
- gzip
|
50
|
+
Etag:
|
51
|
+
- W/"e5f0587afcfdbf30055cc5224b63d6cc"
|
52
|
+
Cache-Control:
|
53
|
+
- max-age=0, private, must-revalidate
|
54
|
+
X-Request-Id:
|
55
|
+
- c1f2f584-8e46-47cb-83d4-8cee5cc65f58
|
56
|
+
X-Runtime:
|
57
|
+
- '0.124552'
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubDomains
|
60
|
+
body:
|
61
|
+
encoding: ASCII-8BIT
|
62
|
+
string: !binary |-
|
63
|
+
H4sIAEXVmFcAA8RV2XKcOBR9z1e4/J4JCOMKVXZSbjts1ajDjvSGEDaLRDPp
|
64
|
+
hYavz1XbM45rPMvbPFCiJN3t3HOubr6epLg41j927Xa4vdR/0y4v6qHa8nZ4
|
65
|
+
ur1ME/vj58uvXz7cVKKth/3H/bavhy8fLi5ujqU41F/q2Ue08Jcytw5et53X
|
66
|
+
937Di2jLDH+spa2p/UiKA0XZXLn+yIaw3bTegp1QD5YAwYpw5+lBcmcEKGvJ
|
67
|
+
wvtgeVpoEp5wRwzSNV0gU5M+qP+nGSe9SZCnkY52wXJ3RRK/CaSn0eRpenTw
|
68
|
+
THNbo3n0SIrQCrq7E261Cc/ajHXwl2wXvGy1IL7SgodAx8kdfN6P4OFuCuyT
|
69
|
+
DuuMpS4qibckN7UCif57MWqbAi98aK4rdzXUMvqd5WbFE7Dp6MRzf1fm+LFE
|
70
|
+
mfk9ySQdMCo7cardcNm4zcQd0gImHUOmLHOeVXKC+v0td6OpWrbHNbKn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chKr1Bu7359PwWfrj59PaV/AkAAP//AwAXw2FJXAcA
|
87
|
+
AA==
|
88
|
+
http_version:
|
89
|
+
recorded_at: Wed, 27 Jul 2016 15:37:41 GMT
|
90
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,191 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://5ffsvj9qxt38xptf:50ea069d312d35fbf779a66b6c86b897@api.sandbox.braintreegateway.com/merchants/zt9ssvxzppgzdjmn/customers/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip
|
12
|
+
Accept:
|
13
|
+
- application/xml
|
14
|
+
User-Agent:
|
15
|
+
- Braintree Ruby Gem 2.64.0
|
16
|
+
X-Apiversion:
|
17
|
+
- '4'
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Wed, 27 Jul 2016 15:37:43 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/xml; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
X-Frame-Options:
|
30
|
+
- SAMEORIGIN
|
31
|
+
- SAMEORIGIN
|
32
|
+
X-Xss-Protection:
|
33
|
+
- 1; mode=block
|
34
|
+
X-Content-Type-Options:
|
35
|
+
- nosniff
|
36
|
+
X-Authentication:
|
37
|
+
- basic_auth
|
38
|
+
X-User:
|
39
|
+
- vzw4dwqpkk82wnfg
|
40
|
+
Vary:
|
41
|
+
- Accept-Encoding
|
42
|
+
Content-Encoding:
|
43
|
+
- gzip
|
44
|
+
Etag:
|
45
|
+
- W/"09159c0a7bf6b5a4da8c86946ec55ef9"
|
46
|
+
Cache-Control:
|
47
|
+
- max-age=0, private, must-revalidate
|
48
|
+
X-Request-Id:
|
49
|
+
- 2a186cc2-3fa6-46bf-9a03-87dcf6fdd883
|
50
|
+
X-Runtime:
|
51
|
+
- '0.353876'
|
52
|
+
Strict-Transport-Security:
|
53
|
+
- max-age=31536000; includeSubDomains
|
54
|
+
body:
|
55
|
+
encoding: ASCII-8BIT
|
56
|
+
string: !binary |-
|
57
|
+
H4sIAEfVmFcAA+ydW3OjNhTH3/dTeNxnwsXYxozDNt1Op+3s9GWTPvRlR4Cw
|
58
|
+
iUGwIN/y6SuBuTl2QsSE2LNnH7LW0dEJQT/9rRti/nkXBoMNTlI/IrdD9UYZ
|
59
|
+
DjBxItcni9vhw/0fkjH8bH2aO+uURiFOrE+Dwdx3LXUus588wYzOEhEqsfQT
|
60
|
+
naXpZvcUx4sn9zEkc7mey709P0mpRFCILZTa7nIu1yzcIUBFynZT9DiXKwPP
|
61
|
+
dqIwRmQ/IH5wO6TJGg/lzI5D5AdWGicY/4p3KIwDfMN853KewV3iZUTws4Ie
|
62
|
+
2j2zbbGd+vS5r5NgRLErITqg+xjfDl2WpH6Ih5amqBNJmUqqfq9q5sgwlcl/
|
63
|
+
c7kqkJVfx+7bylcF8t+fVYLk+Thw0/KSXJ9KDkrc9BAUJQnaD3luMz+3MJvt
|
64
|
+
E0tX+b+5zD8Xdu4k8RjWv36K2NWX6brHMgpcnGQ1cnyDcp8o5JXuo8B6ICsS
|
65
|
+
bRkFNVvltiY02UuRJ/lpukbEwXX/55llwdcrQZvcq2NzpJr69Fkl5DEONEs5
|
66
|
+
yfXkM5cgchBljcN6+FbzLK2Fv4ttn1Z/QZ6sMj20DooLtqMowIgMLQ8FKea+
|
67
|
+
WW7lvU5YtUgJXqwDfuW1qMc5RRG8i/0kuyApjAhdWqrG0D82nvDeY5Tw+zZt
|
68
|
+
uGfWhjd2z1z8Ibf0XmIU0CUDpVadNVvh5odogaV1ElhLSuPUlGWUppimN3aC
|
69
|
+
fFb3GC/YH7hFe96K5RjtQ0zo9xDTZeR+D6JFJG8YozcxWXzGZOMnEeEOtyki
|
70
|
+
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|
+
method: post
|
105
|
+
uri: https://5ffsvj9qxt38xptf:50ea069d312d35fbf779a66b6c86b897@api.sandbox.braintreegateway.com/merchants/zt9ssvxzppgzdjmn/client_token
|
106
|
+
body:
|
107
|
+
encoding: UTF-8
|
108
|
+
string: |
|
109
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
110
|
+
<client-token>
|
111
|
+
<customer-id type="integer">1</customer-id>
|
112
|
+
<version type="integer">2</version>
|
113
|
+
</client-token>
|
114
|
+
headers:
|
115
|
+
Accept-Encoding:
|
116
|
+
- gzip
|
117
|
+
Accept:
|
118
|
+
- application/xml
|
119
|
+
User-Agent:
|
120
|
+
- Braintree Ruby Gem 2.64.0
|
121
|
+
X-Apiversion:
|
122
|
+
- '4'
|
123
|
+
Content-Type:
|
124
|
+
- application/xml
|
125
|
+
response:
|
126
|
+
status:
|
127
|
+
code: 201
|
128
|
+
message: Created
|
129
|
+
headers:
|
130
|
+
Date:
|
131
|
+
- Wed, 27 Jul 2016 15:37:44 GMT
|
132
|
+
Content-Type:
|
133
|
+
- application/xml; charset=utf-8
|
134
|
+
Transfer-Encoding:
|
135
|
+
- chunked
|
136
|
+
X-Frame-Options:
|
137
|
+
- SAMEORIGIN
|
138
|
+
- SAMEORIGIN
|
139
|
+
X-Xss-Protection:
|
140
|
+
- 1; mode=block
|
141
|
+
X-Content-Type-Options:
|
142
|
+
- nosniff
|
143
|
+
X-Authentication:
|
144
|
+
- basic_auth
|
145
|
+
X-User:
|
146
|
+
- vzw4dwqpkk82wnfg
|
147
|
+
Vary:
|
148
|
+
- Accept-Encoding
|
149
|
+
Content-Encoding:
|
150
|
+
- gzip
|
151
|
+
Etag:
|
152
|
+
- W/"f32b73e69ec5027db9bd65f2b4258874"
|
153
|
+
Cache-Control:
|
154
|
+
- max-age=0, private, must-revalidate
|
155
|
+
X-Request-Id:
|
156
|
+
- b5e4e4e7-77e4-496f-98ca-6b28ee06b15d
|
157
|
+
X-Runtime:
|
158
|
+
- '0.048848'
|
159
|
+
Strict-Transport-Security:
|
160
|
+
- max-age=31536000; includeSubDomains
|
161
|
+
body:
|
162
|
+
encoding: ASCII-8BIT
|
163
|
+
string: !binary |-
|
164
|
+
H4sIAEjVmFcAA8RVW2+jOBR+n19R9X12wIRukTodNRcgKDgTGjD2W7CZ4WKT
|
165
|
+
bBPC5dfvcdrttFL38rZCyJLtc/u+7xzffeuVvDrnT8dy33y9Nn8zrq/yhu9F
|
166
|
+
2fz8eh1v3c+319/uP91xWebN6fNpX+fN/aerq7vzTrb5fT4EiKXBuCNOu6z2
|
167
|
+
w2oWFCKN9pkVHHLlGno/UrJlKBm4HxyyZlOuy2VHt3WPtwt7vd10lAQ1VrGN
|
168
|
+
t6KgaGNSshjWJDTCeVDhajOG8NFxM4SKWphselwVklZRrfdoRSfreTgwElo/
|
169
|
+
PAyrazAS/aDpxgmrhx6XRocHY8Am2G33Ix73Bp5NzPV2MQnntfb8FM4futDt
|
170
|
+
TVgHrLDJreickWRIkay/b10utnBesRPUWe08txWuc2Bz80bM5cgtNsmbaces
|
171
|
+
Q71TZpv6cRfOl4j7SZl5skrRSeZbw2SKjULtbZ4WRjgWE+5Hall2JUVOy5Rs
|
172
|
+
kjQ4An7lzo8M7oc3q8EpuFe3HLkt84JzPrNLrlzAL4Iak4amkRTItVcKn7Mt
|
173
|
+
1DQPLzlTVBRwZ1xZB2Od4lE0xQ33p02uoj8yMjlT1B8YsY0Uud3u0UHho1Nl
|
174
|
+
yFY7Ikz+wtdzXuDH62WmhOTD8oYMQSUaWqaPXQn2aJcG50yZ8pnPYKTErqly
|
175
|
+
Js+2zzE26fTw/9S1PC6VO3KUGNxMhmy2vFmqwhD+dFyXt2cK9iwFXyoYKJGt
|
176
|
+
8APJiCiEl1g0rVvg5HSpI02MnfuRPezPbATxTtlgv9b+r/6IXWS+BIzxuKwO
|
177
|
+
vy+bD3y/1LEibktJbwvQEP+PMf4Gm/IHcCa8QuO7iFFSiTSQEeRCVS8ZxAdf
|
178
|
+
JoM73HNt+I//dHbJW0UHbk2PNJVrSkyp+c3U7U+dA9xp8wv++LgjSSsWstbn
|
179
|
+
mySxoEcn3Av81Ew84oow9qM9i1mZAOMbZX+P46JgnolS5Mi1x47hYjGEiauY
|
180
|
+
cTvQ1MVx7VSsFjQyTkFcbXreHLaxWRg7xHZJjK3QjAYxbkqYQR1XElGC7Xf6
|
181
|
+
m+/PK5RMIOcu8+IXzKad5kakWPLabbhKZKbzfsf7g9atzD0X6uvlRZuPjpFZ
|
182
|
+
oY4FOsHyQ51bWAo/bGkTFDvgVPtmCOZTKor80Ya+M7T9yz2ccNXpXtoLP+r4
|
183
|
+
qHPFe0bwU2YlxqqZFnk6LbLZq10NPSipFc1+xT+0gvRH7RN69yyMS+7lGnpL
|
184
|
+
kBg4gbqUHKDfT1pjW+WsoQ8smNVPYKtAbyP7uL/PML+AT1tesIJzsNNzFr/O
|
185
|
+
RMCKKffIkY7zRqPxex1kxB1Bs8NfOg8HrRV4F7z+ALNmyiytax03Gt/q8Jdv
|
186
|
+
U3KF91TPF4IrwObVN0NBRy14Z6BOatUaI6110L1d5bEcMwOfmRfrevyNfLj0
|
187
|
+
BWgA4gIHKHEz5cLMTuq3WLyZPYHOY9l83GMQ62UeaM04ipWBc/fl+Y38dPfl
|
188
|
+
/ev5JwAAAP//AwAPFQ6RdAcAAA==
|
189
|
+
http_version:
|
190
|
+
recorded_at: Wed, 27 Jul 2016 15:37:44 GMT
|
191
|
+
recorded_with: VCR 3.0.3
|