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,377 @@
|
|
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>R406981682</order-id>
|
16
|
+
<descriptor>
|
17
|
+
<name></name>
|
18
|
+
</descriptor>
|
19
|
+
<options>
|
20
|
+
<submit-for-settlement type="boolean">false</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 12:17:47 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
|
+
- '"ed52a322edea7f64f40b8e7223d53240"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- a4643e3d250b76e95cfd8dd42c9e2532
|
69
|
+
X-Runtime:
|
70
|
+
- '0.576571'
|
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
|
+
H4sIAOswJlYAA+RYS2/jNhC+768wfGckOenGGygKFti2KJAWRbJZFHsJaHFs
|
79
|
+
cS2RKkk59v76HUrUK6KS9FIU6M2a+TjkPDjz0fHNscgXB1CaS3G9jM7C5QJE
|
80
|
+
KhkXu+vlw+dfyHp5k7yLjaJC09QgKnm3WMScJeffNsys4wB/Wok21FQ6oZXJ
|
81
|
+
pOLfgcWBE1mtOZWQaJpDHNQ/rSytlMK9ToRrSXBLSH5+uIuDqdiCaSErYZJV
|
82
|
+
eBaGceC+rKIAlWZUGELT1AoJnkeXVO21zCt7Xq3L71LGgQ9oDUjFQNmPu4vw
|
83
|
+
/Yd19H69ioNOWB9UATXACDULe/jrJcNPwwtY4nmin0gUklX4OVpdRZdXF5df
|
84
|
+
0YVuQb2+Ktk/W98vcIHSRuLx7Ucd+4Xg+fXSqAqWgRNuudKGCFqAR5nTeV0q
|
85
|
+
i5KKk0cDBeW5R/4EG82Nz1aZSeGTb+nxudTmufcq3vA8x5L7lz3URgFg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OfXznmqjU8XLWV400Hc9
|
102
|
+
qSZ9pMQ5LBlB6kFs9Lzda4TEYynjxeKRn+1jGz3Bnu4hdYzrujq9OmisyLYx
|
103
|
+
zfSXuWcJdoTp2cZGkTDZ9yj6NVOwnb7p9fjAFDC1ijk/2OG0BZgbK3Zb+USa
|
104
|
+
bE60GIZNpXTDWRkYfJnptueMVP7cDAivf/sxZvIEfyMcjjYA2GuV/xiW/GOl
|
105
|
+
Ik3zGazS1MNnMSMzvlvPy8qArzTckCBcIO2qmgeEHYxNQ3m0DSUO5kBj4jJw
|
106
|
+
dMxvhtxlFvS6rZrtvGaro0SK673NMu3eJcl59OfXMLw9v/z10237d0x9O1Ju
|
107
|
+
/9VpuZYtbSepwzqyFJsMxyzBa2vrGTAkWznOxKgpJe9+AAAA//8DAG7WwtA5
|
108
|
+
EgAA
|
109
|
+
http_version:
|
110
|
+
recorded_at: Tue, 20 Oct 2015 12:17:47 GMT
|
111
|
+
- request:
|
112
|
+
method: get
|
113
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/3jbdt8
|
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 12:17:50 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
|
+
- '"812efd8d49c16b08a718d3750ecca586"'
|
151
|
+
Cache-Control:
|
152
|
+
- max-age=0, private, must-revalidate
|
153
|
+
X-Request-Id:
|
154
|
+
- 949caad753800e6ff4a2a1e3704b916d
|
155
|
+
X-Runtime:
|
156
|
+
- '0.198417'
|
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
|
+
H4sIAO4wJlYAA+RYS2/jNhC+768wfGckOenGGygKFti2KJAWRbJZFHsJaHFs
|
165
|
+
cS2RKkk59v76HUrUK6KS9FIU6M2a+TjkPDjz0fHNscgXB1CaS3G9jM7C5QJE
|
166
|
+
KhkXu+vlw+dfyHp5k7yLjaJC09QgKnm3WMScJeffNsys4wB/Wok21FQ6oZXJ
|
167
|
+
pOLfgcWBE1mtOZWQaJpDHNQ/rSytlMK9ToRrSXBLSH5+uIuDqdiCaSErYZJV
|
168
|
+
eBaGceC+rKIAlWZUGELT1AoJnkeXVO21zCt7Xq3L71LGgQ9oDUjFQNmPu4vw
|
169
|
+
/Yd19H69ioNOWB9UATXACDULe/jrJcNPwwtY4nmin0gUklX4OVpdRZdXF5df
|
170
|
+
0YVuQb2+Ktk/W98vcIHSRuLx7Ucd+4Xg+fXSqAqWgRNuudKGCFqAR5nTeV0q
|
171
|
+
i5KKk0cDBeW5R/4EG82Nz1aZSeGTb+nxudTmufcq3vA8x5L7lz3URgFgQTCm
|
172
|
+
QGtfCI4GBLOZmIXkMqU5Nz7zCnZYf744SbwaeVPcHy6i8DIOhqL22Fik6jTv
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hdYzrujq9OmisyLYx
|
189
|
+
zfSXuWcJdoTp2cZGkTDZ9yj6NVOwnb7p9fjAFDC1ijk/2OG0BZgbK3Zb+USa
|
190
|
+
bE60GIZNpXTDWRkYfJnptueMVP7cDAivf/sxZvIEfyMcjjYA2GuV/xiW/GOl
|
191
|
+
Ik3zGazS1MNnMSMzvlvPy8qArzTckCBcIO2qmgeEHYxNQ3m0DSUO5kBj4jJw
|
192
|
+
dMxvhtxlFvS6rZrtvGaro0SK673NMu3eJcl59OfXMLw9v/z10237d0x9O1Ju
|
193
|
+
/9VpuZYtbSepwzqyFJsMxyzBa2vrGTAkWznOxKgpJe9+AAAA//8DAG7WwtA5
|
194
|
+
EgAA
|
195
|
+
http_version:
|
196
|
+
recorded_at: Tue, 20 Oct 2015 12:17:50 GMT
|
197
|
+
- request:
|
198
|
+
method: put
|
199
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/3jbdt8/submit_for_settlement
|
200
|
+
body:
|
201
|
+
encoding: UTF-8
|
202
|
+
string: |
|
203
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
204
|
+
<transaction>
|
205
|
+
<amount>12.73</amount>
|
206
|
+
</transaction>
|
207
|
+
headers:
|
208
|
+
Accept-Encoding:
|
209
|
+
- gzip
|
210
|
+
Accept:
|
211
|
+
- application/xml
|
212
|
+
User-Agent:
|
213
|
+
- Braintree Ruby Gem 2.49.0
|
214
|
+
X-Apiversion:
|
215
|
+
- '4'
|
216
|
+
Content-Type:
|
217
|
+
- application/xml
|
218
|
+
response:
|
219
|
+
status:
|
220
|
+
code: 200
|
221
|
+
message: OK
|
222
|
+
headers:
|
223
|
+
Date:
|
224
|
+
- Tue, 20 Oct 2015 12:17:51 GMT
|
225
|
+
Content-Type:
|
226
|
+
- application/xml; charset=utf-8
|
227
|
+
Transfer-Encoding:
|
228
|
+
- chunked
|
229
|
+
Connection:
|
230
|
+
- close
|
231
|
+
X-Authentication:
|
232
|
+
- basic_auth
|
233
|
+
X-User:
|
234
|
+
- 97syg9czj6hrdzyn
|
235
|
+
Vary:
|
236
|
+
- Accept-Encoding
|
237
|
+
Content-Encoding:
|
238
|
+
- gzip
|
239
|
+
X-Ua-Compatible:
|
240
|
+
- IE=Edge,chrome=1
|
241
|
+
Etag:
|
242
|
+
- '"161b741409557de748f5ffafcdf45fc4"'
|
243
|
+
Cache-Control:
|
244
|
+
- max-age=0, private, must-revalidate
|
245
|
+
X-Request-Id:
|
246
|
+
- a668d4a4ced17bb680c3adb27d456473
|
247
|
+
X-Runtime:
|
248
|
+
- '0.281953'
|
249
|
+
X-Frame-Options:
|
250
|
+
- SAMEORIGIN
|
251
|
+
Strict-Transport-Security:
|
252
|
+
- max-age=31536000; includeSubDomains
|
253
|
+
body:
|
254
|
+
encoding: ASCII-8BIT
|
255
|
+
string: !binary |-
|
256
|
+
H4sIAO8wJlYAA+RYbW/bNhD+nl9h+DstyUkbN1AUFOg2DMiGIWmKoV8CSjpb
|
257
|
+
rCVSIynH7q/vUaLeIioJMGwYsG/W3cMj74V3Dx3eHIt8cQCpmODXy2DlLxfA
|
258
|
+
E5EyvrtePnz+mWyWN9FZqCXliiYaUdHZYhGyNDr/Fqd6E3r400iUprpSkari
|
259
|
+
gmkN6eNWyEcFWudQANehZwEGq08lRIrmEHr1TyNLKilx5xNhShA8AEQ/PdyF
|
260
|
+
3lRswLQQFddRsF5dnoee/TKKAmSSUa4JTRIjJHg6VVK5VyKvzOmVKr8LEXou
|
261
|
+
oDEgZArSfNxd+O8/bIL3m3XodcL6oBIo+keoXpjDXy9T/NSsgGW09oN3JPDJ
|
262
|
+
2v8crK+Cy6uLy6/oQregXl+V6ZvXvwtwfb/ABkppgcc3H3UmFpzl10stK1h6
|
263
|
+
VrhlUmnCaQEOZU7ndYkoSspPDg0UlOUO+RPEimmXrTIT3CXf0uNzqclz71UY
|
264
|
+
szzHAvyXPVRaAmBBpKkEpVwh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+
eeOeN/Xvb7tcPzlmXX7L824YgMkL7R8OQCexRdE0+Zy6iV8Vq0SycpYYDvRd
|
281
|
+
U65ZLymRiIiUIPciJpbO9j1C4rGkdmLxyM/2MZOO4FBzsNqUqfp6OnXQWBFt
|
282
|
+
Z55psHPvMmyJ07ONjSJjNA9y9Gvmxnb6ZtjhC5vD1Crm/GCm8xZgbq6abcUT
|
283
|
+
abI50WIY4kqqhrSnoPFpqtqmO1K5czNg/O7tx5jJfxBvhMPRBACHjXQfw7x+
|
284
|
+
sFKRp7oMVkniIPSYkRnfjedlpcFVGnZKEsaRd1bNC8owg6ajPpqOGnpzoDFz
|
285
|
+
Gzg6JnhD8jYLet1WTfdes9VxQsnU3mSZdg+z6Dz446vv355f/vLptv13qr4d
|
286
|
+
CTN/crVk05S2ldRhHVkKdYY8g+C1NfUMGJKtGGdi1JSisx8AAAD//wMAG4NO
|
287
|
+
iUgTAAA=
|
288
|
+
http_version:
|
289
|
+
recorded_at: Tue, 20 Oct 2015 12:17:51 GMT
|
290
|
+
- request:
|
291
|
+
method: get
|
292
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/3jbdt8
|
293
|
+
body:
|
294
|
+
encoding: US-ASCII
|
295
|
+
string: ''
|
296
|
+
headers:
|
297
|
+
Accept-Encoding:
|
298
|
+
- gzip
|
299
|
+
Accept:
|
300
|
+
- application/xml
|
301
|
+
User-Agent:
|
302
|
+
- Braintree Ruby Gem 2.49.0
|
303
|
+
X-Apiversion:
|
304
|
+
- '4'
|
305
|
+
response:
|
306
|
+
status:
|
307
|
+
code: 200
|
308
|
+
message: OK
|
309
|
+
headers:
|
310
|
+
Date:
|
311
|
+
- Tue, 20 Oct 2015 12:17:52 GMT
|
312
|
+
Content-Type:
|
313
|
+
- application/xml; charset=utf-8
|
314
|
+
Transfer-Encoding:
|
315
|
+
- chunked
|
316
|
+
Connection:
|
317
|
+
- close
|
318
|
+
X-Authentication:
|
319
|
+
- basic_auth
|
320
|
+
X-User:
|
321
|
+
- 97syg9czj6hrdzyn
|
322
|
+
Vary:
|
323
|
+
- Accept-Encoding
|
324
|
+
Content-Encoding:
|
325
|
+
- gzip
|
326
|
+
X-Ua-Compatible:
|
327
|
+
- IE=Edge,chrome=1
|
328
|
+
Etag:
|
329
|
+
- '"b21cb9f386c840b516ed6e90bfbe12f1"'
|
330
|
+
Cache-Control:
|
331
|
+
- max-age=0, private, must-revalidate
|
332
|
+
X-Request-Id:
|
333
|
+
- 41e860416c218d37995fbf5796259984
|
334
|
+
X-Runtime:
|
335
|
+
- '0.114274'
|
336
|
+
X-Frame-Options:
|
337
|
+
- SAMEORIGIN
|
338
|
+
Strict-Transport-Security:
|
339
|
+
- max-age=31536000; includeSubDomains
|
340
|
+
body:
|
341
|
+
encoding: ASCII-8BIT
|
342
|
+
string: !binary |-
|
343
|
+
H4sIAPAwJlYAA+RYbW/bNhD+nl9h+DstyUkbN1AUFOg2DMiGIWmKoV8CSjpb
|
344
|
+
rCVSIynH7q/vUaLeIioJMGwYsG/W3cMj74V3Dx3eHIt8cQCpmODXy2DlLxfA
|
345
|
+
E5EyvrtePnz+mWyWN9FZqCXliiYaUdHZYhGyNDr/Fqd6E3r400iUprpSkari
|
346
|
+
gmkN6eNWyEcFWudQANehZwEGq08lRIrmEHr1TyNLKilx5xNhShA8AEQ/PdyF
|
347
|
+
3lRswLQQFddRsF5dnoee/TKKAmSSUa4JTRIjJHg6VVK5VyKvzOmVKr8LEXou
|
348
|
+
oDEgZArSfNxd+O8/bIL3m3XodcL6oBIo+keoXpjDXy9T/NSsgGW09oN3JPDJ
|
349
|
+
2v8crK+Cy6uLy6/oQregXl+V6ZvXvwtwfb/ABkppgcc3H3UmFpzl10stK1h6
|
350
|
+
VrhlUmnCaQEOZU7ndYkoSspPDg0UlOUO+RPEimmXrTIT3CXf0uNzqclz71UY
|
351
|
+
szzHAvyXPVRaAmBBpKkEpVwhO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
eeOeN/Xvb7tcPzlmXX7L824YgMkL7R8OQCexRdE0+Zy6iV8Vq0SycpYYDvRd
|
368
|
+
U65ZLymRiIiUIPciJpbO9j1C4rGkdmLxyM/2MZOO4FBzsNqUqfp6OnXQWBFt
|
369
|
+
Z55psHPvMmyJ07ONjSJjNA9y9Gvmxnb6ZtjhC5vD1Crm/GCm8xZgbq6abcUT
|
370
|
+
abI50WIY4kqqhrSnoPFpqtqmO1K5czNg/O7tx5jJfxBvhMPRBACHjXQfw7x+
|
371
|
+
sFKRp7oMVkniIPSYkRnfjedlpcFVGnZKEsaRd1bNC8owg6ajPpqOGnpzoDFz
|
372
|
+
Gzg6JnhD8jYLet1WTfdes9VxQsnU3mSZdg+z6Dz446vv355f/vLptv13qr4d
|
373
|
+
CTN/crVk05S2ldRhHVkKdYY8g+C1NfUMGJKtGGdi1JSisx8AAAD//wMAG4NO
|
374
|
+
iUgTAAA=
|
375
|
+
http_version:
|
376
|
+
recorded_at: Tue, 20 Oct 2015 12:17:52 GMT
|
377
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,203 @@
|
|
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>R789688130</order-id>
|
16
|
+
<descriptor>
|
17
|
+
<name></name>
|
18
|
+
</descriptor>
|
19
|
+
<options>
|
20
|
+
<submit-for-settlement type="boolean">false</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 12:17:54 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
|
+
- '"599f69444191cd56785d5e4ec2655cbf"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- 575a0cb1b293cd27ed44fd110bfa5bce
|
69
|
+
X-Runtime:
|
70
|
+
- '0.545813'
|
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
|
+
H4sIAPIwJlYAA+RYS2/jNhC+51cYvjOynOcGioIt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2iwOl1EwEo6wB+AaiclyMQDXUrevm9yMGk1NCR+/Huf5
|
95
|
+
UXo8ZabyOtj+9iEKvgFW6TzOrC3NTRBwgy3anK40F5Kujav3U+ybQckP1Lmf
|
96
|
+
CsBaTZ9ytVHBDv0/LeXmDuROaCUJcGu4TFdqjwy1s+96nYaSI7f7TVH5Nb8b
|
97
|
+
TQY8txmeGOJHuZXqWUZBT9aAUlgJe9Q3n05VaUwc1uCmyonB9VAvNd0gIF6K
|
98
|
+
s+4I7cnceflBq7yHaAUufMZU2ApxlMntETOQDlurWjPScpmgm18/0o5jRRsq
|
99
|
+
lVZJzZWPux9lDaiS4u8K3FVCMQZfYDMe3Sq6oyALxUy6nbg7nd5xxOHdcY8M
|
100
|
+
lgksNX0YcIBuftYIQEMuKXThkGujoijfyb87fGfh1ddNjZh6oDQRMshzC74W
|
101
|
+
yO1NS+TpYD2eYhR2Joh5iSCPvHEveOlfJ3ExaXpczv28p1qZRItykhf19F1P
|
102
|
+
qkkfK3EOq5Qh9WAUPW/3GiDxWNp6sXjkF/tQo2fY0z2kLhWmrk6vDhorqm1M
|
103
|
+
E/1l6lmCHWF8tqFRJEz0HkW/Jgq20ze9Hh+YEsZWMec7Gk5rgKmxQtuqZ9Zk
|
104
|
+
c6TFMKwqbRrOmoLFl5lpe85A5c9Nj/D6tx9iRk/wd8JhTwHAXqv9xyDyj5WK
|
105
|
+
NM1nsEoSD5/FjEz4Tp6XlQVfabghwYRE2lU1DwgajE1DeaKGEgVToCFx6Tk6
|
106
|
+
5Dd97jIJettWzXbestVRIi3MlrLMu3dJfBZ++bZ4uAx/+vT75/bvmPp2JIL+
|
107
|
+
1Wm5FpW2k9RhHViKbIZjluG1pXoGDMlaDTMxaErxyQ8AAAD//wMAPudWyjkS
|
108
|
+
AAA=
|
109
|
+
http_version:
|
110
|
+
recorded_at: Tue, 20 Oct 2015 12:17:54 GMT
|
111
|
+
- request:
|
112
|
+
method: put
|
113
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/transactions/3s5gpt/submit_for_settlement
|
114
|
+
body:
|
115
|
+
encoding: UTF-8
|
116
|
+
string: |
|
117
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
118
|
+
<transaction>
|
119
|
+
<amount>12.73</amount>
|
120
|
+
</transaction>
|
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: 200
|
135
|
+
message: OK
|
136
|
+
headers:
|
137
|
+
Date:
|
138
|
+
- Tue, 20 Oct 2015 12:17:56 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
|
+
Etag:
|
156
|
+
- '"87314895a9cb7fed5431a956b151d7c0"'
|
157
|
+
Cache-Control:
|
158
|
+
- max-age=0, private, must-revalidate
|
159
|
+
X-Request-Id:
|
160
|
+
- e6ccc780903743f751e2c5bb365157a0
|
161
|
+
X-Runtime:
|
162
|
+
- '0.163303'
|
163
|
+
X-Frame-Options:
|
164
|
+
- SAMEORIGIN
|
165
|
+
Strict-Transport-Security:
|
166
|
+
- max-age=31536000; includeSubDomains
|
167
|
+
body:
|
168
|
+
encoding: ASCII-8BIT
|
169
|
+
string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+
http_version:
|
202
|
+
recorded_at: Tue, 20 Oct 2015 12:17:56 GMT
|
203
|
+
recorded_with: VCR 2.9.3
|