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,181 @@
|
|
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>R953511821</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">true</store-in-vault>
|
26
|
+
<store-shipping-address-in-vault type="boolean">true</store-shipping-address-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.49.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
|
+
- Tue, 20 Oct 2015 10:58:58 GMT
|
48
|
+
Content-Type:
|
49
|
+
- application/xml; charset=utf-8
|
50
|
+
Transfer-Encoding:
|
51
|
+
- chunked
|
52
|
+
Connection:
|
53
|
+
- close
|
54
|
+
X-Authentication:
|
55
|
+
- basic_auth
|
56
|
+
X-User:
|
57
|
+
- 97syg9czj6hrdzyn
|
58
|
+
Vary:
|
59
|
+
- Accept-Encoding
|
60
|
+
Content-Encoding:
|
61
|
+
- gzip
|
62
|
+
X-Ua-Compatible:
|
63
|
+
- IE=Edge,chrome=1
|
64
|
+
Etag:
|
65
|
+
- '"08f67c95047980f36d44b5e65b8768e6"'
|
66
|
+
Cache-Control:
|
67
|
+
- max-age=0, private, must-revalidate
|
68
|
+
X-Request-Id:
|
69
|
+
- 8514b3467874f421b750c342696e3965
|
70
|
+
X-Runtime:
|
71
|
+
- '0.622668'
|
72
|
+
X-Frame-Options:
|
73
|
+
- SAMEORIGIN
|
74
|
+
Strict-Transport-Security:
|
75
|
+
- max-age=31536000; includeSubDomains
|
76
|
+
body:
|
77
|
+
encoding: ASCII-8BIT
|
78
|
+
string: !binary |-
|
79
|
+
H4sIAHIeJlYAA+RY227jNhB9z1cEfmckOU7iXSgKFkULFIstit2kXfQloMSR
|
80
|
+
xVoiVZJy7P36HequiEoCtEAL9M2aORxyLpw5dHh3LPLzAyjNpbhdBRf+6hxE
|
81
|
+
IhkXu9vVw/1PZLu6i85Co6jQNDGIis7Oz0POol2xT9k29PCnlWhDTaUjXcUF
|
82
|
+
NwbYYyrVowZjcihAmNBrARZrTiVEmuYQevVPK0sqpXDnE+FaEjwARD8+fA69
|
83
|
+
udiCaSErYaK1f+H7odd+WUUBKsmoMIQmiRUSPJ0uqdprmVf29FqX36QMPRfQ
|
84
|
+
GpCKgbIfn99dXV4FwXYdhF4vrA+qgKJ/hJpze/jbFcNPwwtY4XmCKxL4ZO3f
|
85
|
+
B/77q+37q5s/0IV+Qb2+Ktnb129x/bCgDZQ2Eo9vP5pMXAfXwU2w6XOB0pQr
|
86
|
+
bYigBZwLnt+ujKpg5bXK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c2lg+gCgk
|
102
|
+
0Wy/cNl6fUsqp5etfaSQjGNlqtOENPQDt0YAGmpzaG8osnNUFOUbGX+P7y20
|
103
|
+
j5+Bk4zfQzVi6UnTBFRjBAqacgyQ7oJhDzYiNlpiK4OIlghyyBv3vLl/f9/l
|
104
|
+
7Usuv+VB+G8GoJe0RdFMhZy6mWIV60TxcpFJjvR9D69pMimRuUhGkKwRG0tH
|
105
|
+
13uGxGMp48TikZ/tY0cjwSnooMGM6/o2O3XQWJHd9Vrox0sPOeyg87NNjSLF
|
106
|
+
tE949Gvhxvb6Zjrim1zA3Crm/GDHeQqwNIjttvKJNNmcaTEMcaV0w/IZGHzL
|
107
|
+
6q5HT1Tu3IyeCO7tp5jZvxZvhMPRBgBnk3Ifwz6XsFKR2LoMVknieAFgRhZ8
|
108
|
+
t56XlQFXabRDlXCBRLVqnlyWSDQd9dF21NBbAk2p3sjRKSMcs71F0Ou2an74
|
109
|
+
mq2eRCqu9zbLdPj/5DL41feD+48f3336OvoPhUHC7d9iHTu1pd1K6rBOLIUm
|
110
|
+
Q1pC8NraegYMSSqnmZg0pejsOwAAAP//AwAi1xHLehMAAA==
|
111
|
+
http_version:
|
112
|
+
recorded_at: Tue, 20 Oct 2015 10:58:58 GMT
|
113
|
+
- request:
|
114
|
+
method: get
|
115
|
+
uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/payment_methods/any/dgk4pg
|
116
|
+
body:
|
117
|
+
encoding: US-ASCII
|
118
|
+
string: ''
|
119
|
+
headers:
|
120
|
+
Accept-Encoding:
|
121
|
+
- gzip
|
122
|
+
Accept:
|
123
|
+
- application/xml
|
124
|
+
User-Agent:
|
125
|
+
- Braintree Ruby Gem 2.49.0
|
126
|
+
X-Apiversion:
|
127
|
+
- '4'
|
128
|
+
response:
|
129
|
+
status:
|
130
|
+
code: 200
|
131
|
+
message: OK
|
132
|
+
headers:
|
133
|
+
Date:
|
134
|
+
- Tue, 20 Oct 2015 10:59:00 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
|
+
- '"1057e1444c456284222858c2b845da68"'
|
153
|
+
Cache-Control:
|
154
|
+
- max-age=0, private, must-revalidate
|
155
|
+
X-Request-Id:
|
156
|
+
- 7a04dc9594450947f5557eeea537fd78
|
157
|
+
X-Runtime:
|
158
|
+
- '0.054675'
|
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
|
+
H4sIAHQeJlYAA5RUPXPiMBDt8ysY98KWcQiTMWKuufKaC1dck1lZi9EgSz5J
|
167
|
+
JvDvT7INJjApMuNC+/btp55cbk6Nmh3ROmn0OqHzLJmhroyQul4n27efZJVs
|
168
|
+
2FNZWRTSkwqsYE+zWcmlZkVG89WqTOM5YtFJ/LlF9kc6KNPJvnj3Rgm0REOD
|
169
|
+
My3VOvG2wyQd/KZp0FYSFNvqgzYfOmSYsIHSaW/PxOyIdK4DXSHb/v4ReY+O
|
170
|
+
PsAieBQE/Cz2sU5EML1sMGF5Rp8JzUievdHs9XkVvr8h0TVgiO+cN6EDIgVb
|
171
|
+
0iV9oUWY9xb9xFKmAh/2GJq6YV3RyBXIpZ8GHMzBsYNOXfrkxigEnbC4oEjr
|
172
|
+
nQOxs2HhxGLdqdjrTbJ7T6TjqZW2r08ao/2e0bxMH8A75hnBhg3l2Sdqj16Z
|
173
|
+
KO573YFyOEaM1fcIyu/D1ePU5g0WKbKBGklnFdt737rXNAXn0Ls5tyDDrSLW
|
174
|
+
YZgPOM+DGtIWzg1q/96g3xvxrkxt0mNQ27zV9Qb1UVqjI2HtQAtuTmU65e+r
|
175
|
+
BXkEaRMO+jC19AmNNAXOk4LR1YqW6WhEPJS3Rt0o9AL0TostBE38MgEfzxF3
|
176
|
+
HXeVlW1cohuXBtbCeVS+NwfUTNSHoq3LdLAi3mn5r0Oiu4b3YgtjyZ1EyyrO
|
177
|
+
qaCLRcVFsdgVgGIpePEi8qrgRb4MF/xlaJ+3Fd97FVNAH39E3RjixOELAVz9
|
178
|
+
I9uG0sMTeJi+f3HTj+U/AAAA//8DAObsEq6OBAAA
|
179
|
+
http_version:
|
180
|
+
recorded_at: Tue, 20 Oct 2015 10:59:00 GMT
|
181
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,112 @@
|
|
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-debit-nonce</payment-method-nonce>
|
14
|
+
<amount>20.00</amount>
|
15
|
+
<order-id>R588904961</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">true</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: 422
|
43
|
+
message: Unprocessable Entity
|
44
|
+
headers:
|
45
|
+
Date:
|
46
|
+
- Tue, 20 Oct 2015 10:59:16 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
|
+
Cache-Control:
|
64
|
+
- no-cache
|
65
|
+
X-Request-Id:
|
66
|
+
- c0826982838ea2a210cdf7d5f096c3d6
|
67
|
+
X-Runtime:
|
68
|
+
- '0.288520'
|
69
|
+
X-Frame-Options:
|
70
|
+
- SAMEORIGIN
|
71
|
+
Strict-Transport-Security:
|
72
|
+
- max-age=31536000; includeSubDomains
|
73
|
+
body:
|
74
|
+
encoding: ASCII-8BIT
|
75
|
+
string: !binary |-
|
76
|
+
H4sIAIQeJlYAA+xYO3PjNhDu9Ss0qpICpuTYF9tD05MiSZfi7nwzSaMBiZWI
|
77
|
+
Mwnw8JCl+/VZ8E0KsJUqKdKRu4sF9olvET8dy2J5AKW5FI+rzdV6tQSRScbF
|
78
|
+
/nH1/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http_version:
|
111
|
+
recorded_at: Tue, 20 Oct 2015 10:59:16 GMT
|
112
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,112 @@
|
|
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-debit-nonce</payment-method-nonce>
|
14
|
+
<amount>20.00</amount>
|
15
|
+
<order-id>R580753177</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">true</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: 422
|
43
|
+
message: Unprocessable Entity
|
44
|
+
headers:
|
45
|
+
Date:
|
46
|
+
- Tue, 20 Oct 2015 10:59:14 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
|
+
Cache-Control:
|
64
|
+
- no-cache
|
65
|
+
X-Request-Id:
|
66
|
+
- 38d74f89c327d7b81905e7ce7aea2091
|
67
|
+
X-Runtime:
|
68
|
+
- '0.221424'
|
69
|
+
X-Frame-Options:
|
70
|
+
- SAMEORIGIN
|
71
|
+
Strict-Transport-Security:
|
72
|
+
- max-age=31536000; includeSubDomains
|
73
|
+
body:
|
74
|
+
encoding: ASCII-8BIT
|
75
|
+
string: !binary |-
|
76
|
+
H4sIAIIeJlYAA+xYO3PjNhDu9Ss0qpICpuSz5+48ND0pknQpfOfMJI0GJFYi
|
77
|
+
IhLg4SFL9+uz4JsUYCtVUqQjdxeLfWHxLeKnU1ksj6A0l+JxtblZr5YgMsm4
|
78
|
+
2D+uXr7+Qj6tnpJFTCtOQCmpiAJdSaEhWSyXcU3S7rP/WZpzBY8rqhQ9r6Ja
|
79
|
+
KhrE4ooqWnYrjKJC08zg3g0FaZnVRpagloIXjyujLDRaamZFzyUIQ0owuWRE
|
80
|
+
SJFBsqMHIEdacEYYpNw05DjyCneaaCmtMMnt+ma9jqP2r2NKxUARzpLn+0/r
|
81
|
+
j/cfNh8/xlFP7KQY6EzxykjVkZAoaAle06NL8VhWznU9Wq5tWqIHOwy0BmMK
|
82
|
+
cB4kTlUc+XnDWsoYSXlRYOoIfmOiNDGSTMOA0So0KrtOeFBucgVAGO6cWQUD
|
83
|
+
A1kKvlmugLVm9r/D4ii0OsZcKyBcYP5sYTrjZtQ+hLN4xa7UEk0LXFJ/Ltrd
|
84
|
+
pmXlKqErurhER+kekl+pgVd6Xj7DX5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d
|
100
|
+
28Khw0HLBWd0PTjsi/fhIDyijYZNJYuRTEfoA6m1dfNTSsVhkJpQ501W7ojj
|
101
|
+
UzeKvnz5ye17yRjCJpnNalw+2DDQOjEr+DcL7ZFDBiaDY1v2T9BHEKUkmh0C
|
102
|
+
J6zn99hzfsLaMYfk3I1p5wluGN2ytQwcpyOqQ/fIKqsrEX8vPxkZr5iyml73
|
103
|
+
xozv4qYRUZd0x3Gy0DAe4sdYR0vsbJDQik8Gy47ez6aXHve0NlJdpyxoCEHZ
|
104
|
+
tHkiCGOskcSoqzVjfIU3t2QEoQtxcQ10wIksGqhMQLp+cJjtVr8x4E3hBYuM
|
105
|
+
67qaA9zL549ghwoPSNhVfJbOlSMAc5Mzehoo857f3SM4CAvw6cbKOLorcAcQ
|
106
|
+
vrjc9vKVNPn28DE0qVW6QccMDE6NwyvGlBnK3Aheh8yYSl08HVy9AE4uHNjD
|
107
|
+
VcgYN3ZgXSP08yu1WebFzZipYCRcHCprwF8+3cMUF4gCbTPAuEu4aU9b156G
|
108
|
+
F7+50Bw8jZwO46+g0DXaasT1nrYRLJs+kKEDOzmP3uxdCxua5032bwAAAP//
|
109
|
+
AwA+p7Hm0BUAAA==
|
110
|
+
http_version:
|
111
|
+
recorded_at: Tue, 20 Oct 2015 10:59:15 GMT
|
112
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,111 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://jp6z459pbpbhk923:9660751f1afe06d008d71c74efd226a7@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>100.0</amount>
|
15
|
+
<order-id>R357396236</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.56.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
|
+
- Thu, 03 Dec 2015 11:38:27 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
|
+
- 8x9btyr9rkybbwgr
|
57
|
+
Vary:
|
58
|
+
- Accept-Encoding
|
59
|
+
Content-Encoding:
|
60
|
+
- gzip
|
61
|
+
X-Ua-Compatible:
|
62
|
+
- IE=Edge,chrome=1
|
63
|
+
Etag:
|
64
|
+
- '"7720ca572f0ed17ec2694e3c35ffe435"'
|
65
|
+
Cache-Control:
|
66
|
+
- max-age=0, private, must-revalidate
|
67
|
+
X-Request-Id:
|
68
|
+
- 1e302cbf45092963747cbba0220ac9ef
|
69
|
+
X-Runtime:
|
70
|
+
- '0.690591'
|
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
|
+
H4sIALMpYFYAA+RYS2/kNgy+51cEc1c8j7zhOOihRVtgF4tk0wK9BBqLM1Zi
|
79
|
+
S64ek5n8+lK2/IrlJJcWC/Q2Jj9RFEmRnya+3Rf58Q6U5lLczBYn89kxiFQy
|
80
|
+
LrY3s4fvv5DL2W1yFBtFhaapQVRydHwcc5ZcbdlTehpH+NNJtKHG6kTbdcGN
|
81
|
+
Afa4kepRgzE5FCBMHHmAw5pDCYmmOcRR9dPJUqsU7nwgXEuCDkDy88NdHI3F
|
82
|
+
DkwLaYVJFvP5yXweR/7TaQpQaUaFITRNnZCge7qk6lnL3Dr3tS5fpYyjENAZ
|
83
|
+
kIqBch93q7OL1dX5cnUeR62w8lQBxQMSao6d9zczhp+GFzBLlvPFGVksyXz1
|
84
|
+
fbG4Xl1eL8//wjO0C6r1tmSfX3+B67sFPlLaSHTffVSpOBY8v5kZZWEWeeGG
|
85
|
+
K22IoAUElDmd1qWyKKk4BDRQUJ4H5C+w1tyEbJWZFCH5hu7fSl2iu1PFa57n
|
86
|
+
WIH/8Qm1UQBYEIwp0DoUgr0BwVwmJiG5TGnOTci8gi3WXyhOEu9GXlf31eli
|
87
|
+
fhFHfVHjNhapOkyfqla7FYTmZUaXn0KtPkIJi0nh6ThhvRzh0TZWMDJOVKfR
|
88
|
+
vtipUvQwUGI8e+0lZATvr+EYjq6dvFkRMk6tyaTirx+b75ldU5NmQUzGy/J/
|
89
|
+
WZLvFMgPU4v97Pj+SDYccqZ9Lew0AaWkIhijEocABI9W4XpHH6KTLzhp3gU0
|
90
|
+
JoZZewP6rbbyLqY6xm433n8sdNAtjocXekDNE9RVjhNHjxMbl0qmuBvGobkd
|
91
|
+
tIJXls6u7k7vXe95DzS0MnQFx/G8v3zsaEBnsIKTn0rU7IAFV1eIKrSMc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8c1XdjpS7P8AaHupK20uq
|
108
|
+
sA4sxSZDCkLw2rp6BgzJRg4zMWhKydE/AAAA//8DADPHMldkEwAA
|
109
|
+
http_version:
|
110
|
+
recorded_at: Thu, 03 Dec 2015 11:38:27 GMT
|
111
|
+
recorded_with: VCR 3.0.0
|