spree_braintree_vzero 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +15 -0
  3. data/.gitignore +19 -0
  4. data/.rspec +1 -0
  5. data/.travis.yml +63 -0
  6. data/Appraisals +45 -0
  7. data/CONTRIBUTING.md +28 -0
  8. data/Gemfile +14 -0
  9. data/LICENSE +26 -0
  10. data/README.md +83 -0
  11. data/Rakefile +21 -0
  12. data/app/assets/images/credit_cards/icons/jcb.png +0 -0
  13. data/app/assets/javascripts/spree/backend/payments.js +19 -0
  14. data/app/assets/javascripts/spree/backend/spree_braintree_vzero.js +81 -0
  15. data/app/assets/javascripts/spree/frontend/spree_braintree_vzero.js +68 -0
  16. data/app/assets/stylesheets/spree/backend/spree_braintree_vzero.css +5 -0
  17. data/app/controllers/spree/admin/payments_controller_decorator.rb +43 -0
  18. data/app/controllers/spree/api/v1/braintree_client_token_controller.rb +31 -0
  19. data/app/controllers/spree/checkout_controller_decorator.rb +38 -0
  20. data/app/controllers/spree/orders_controller_decorator.rb +62 -0
  21. data/app/controllers/spree/user_sessions_controller_decorator.rb +15 -0
  22. data/app/helpers/spree/admin/decorated_navigation_helper.rb +10 -0
  23. data/app/helpers/spree/admin/payment_methods_helper.rb +101 -0
  24. data/app/helpers/spree/braintree_helper.rb +27 -0
  25. data/app/models/braintree/successful_result_decorator.rb +21 -0
  26. data/app/models/spree/address_decorator.rb +18 -0
  27. data/app/models/spree/braintree_checkout.rb +105 -0
  28. data/app/models/spree/gateway/braintree_vzero_base.rb +168 -0
  29. data/app/models/spree/gateway/braintree_vzero_base/address.rb +33 -0
  30. data/app/models/spree/gateway/braintree_vzero_base/braintree_user.rb +25 -0
  31. data/app/models/spree/gateway/braintree_vzero_base/purchase_data.rb +48 -0
  32. data/app/models/spree/gateway/braintree_vzero_base/transaction.rb +39 -0
  33. data/app/models/spree/gateway/braintree_vzero_base/utils.rb +108 -0
  34. data/app/models/spree/gateway/braintree_vzero_drop_in_ui.rb +24 -0
  35. data/app/models/spree/gateway/braintree_vzero_hosted_fields.rb +28 -0
  36. data/app/models/spree/gateway/braintree_vzero_paypal_express.rb +36 -0
  37. data/app/models/spree/order_decorator.rb +153 -0
  38. data/app/models/spree/payment_decorator.rb +10 -0
  39. data/app/models/spree/payment_processing_decorator.rb +61 -0
  40. data/app/models/spree/preferences/preferable_decorator.rb +54 -0
  41. data/app/overrides/spree/admin/orders/customer_details/_form.rb +8 -0
  42. data/app/overrides/spree/admin/payment_methods/_form.rb +10 -0
  43. data/app/overrides/spree/admin/shared/_order_summary.rb +23 -0
  44. data/app/overrides/spree/admin/shared/_refunds.rb +13 -0
  45. data/app/overrides/spree/checkout/_new_user.rb +6 -0
  46. data/app/overrides/spree/checkout/_payment.rb +20 -0
  47. data/app/overrides/spree/checkout/registration.rb +6 -0
  48. data/app/overrides/spree/orders/edit.rb +6 -0
  49. data/app/overrides/spree/shared/_order_details.rb +13 -0
  50. data/app/overrides/spree/shared/_payment.rb +28 -0
  51. data/app/views/spree/admin/payment_methods/_braintree_vzero_form.html.erb +83 -0
  52. data/app/views/spree/admin/payments/source_forms/_braintree_vzero_dropin_ui.html.erb +1 -0
  53. data/app/views/spree/admin/payments/source_forms/_braintree_vzero_hosted_fields.html.erb +1 -0
  54. data/app/views/spree/admin/payments/source_forms/_braintree_vzero_paypal_express.html.erb +1 -0
  55. data/app/views/spree/admin/payments/source_forms/braintree_vzero/_payments.html.erb +87 -0
  56. data/app/views/spree/admin/payments/source_views/_braintree_vzero_dropin_ui.html.erb +1 -0
  57. data/app/views/spree/admin/payments/source_views/_braintree_vzero_hosted_fields.html.erb +1 -0
  58. data/app/views/spree/admin/payments/source_views/_braintree_vzero_paypal_express.html.erb +1 -0
  59. data/app/views/spree/admin/payments/source_views/braintree_vzero/_payment.html.erb +17 -0
  60. data/app/views/spree/braintree_vzero/_paypal_checkout.html.erb +87 -0
  61. data/app/views/spree/checkout/payment/_braintree_vzero_dropin_ui.html.erb +4 -0
  62. data/app/views/spree/checkout/payment/_braintree_vzero_hosted_fields.html.erb +4 -0
  63. data/app/views/spree/checkout/payment/_braintree_vzero_paypal_express.html.erb +4 -0
  64. data/app/views/spree/checkout/payment/braintree_vzero/_buttons.html.erb +11 -0
  65. data/app/views/spree/checkout/payment/braintree_vzero/_dropin_on_error_callback.js.erb +3 -0
  66. data/app/views/spree/checkout/payment/braintree_vzero/_dropin_on_ready_callback.js.erb +1 -0
  67. data/app/views/spree/checkout/payment/braintree_vzero/_hosted_fields_on_field_event_callback.js.erb +12 -0
  68. data/app/views/spree/checkout/payment/braintree_vzero/_hosted_fields_styles.js.erb +29 -0
  69. data/app/views/spree/checkout/payment/braintree_vzero/_payment.html.erb +84 -0
  70. data/app/views/spree/checkout/payment/braintree_vzero/_three_d_secure.html.erb +218 -0
  71. data/app/views/spree/shared/braintree_vzero/_dropin.js.erb +70 -0
  72. data/app/views/spree/shared/braintree_vzero/_hosted.js.erb +66 -0
  73. data/app/views/spree/shared/braintree_vzero/_paypal.js.erb +39 -0
  74. data/bin/rails +7 -0
  75. data/config/initializers/extend_spree_permitted_checkout_attributes.rb +5 -0
  76. data/config/initializers/prepend_helpers.rb +1 -0
  77. data/config/locales/en.yml +79 -0
  78. data/config/routes.rb +7 -0
  79. data/db/migrate/20150904143013_create_spree_braintree_checkouts.rb +9 -0
  80. data/db/migrate/20151002094655_add_braintree_id_to_spree_addresses.rb +5 -0
  81. data/db/migrate/20151018123907_add_braintree_token_and_nonce_to_spree_payments.rb +6 -0
  82. data/db/migrate/20151027135109_add_paypal_email_to_spree_braintree_checkout.rb +5 -0
  83. data/db/migrate/20151028095515_add_advanced_fraud_data_to_spree_braintree_checkout.rb +5 -0
  84. data/db/migrate/20151202095956_add_risk_id_and_risk_decision_to_spree_braintree_checkouts.rb +6 -0
  85. data/db/migrate/20151211100203_add_braintree_last_digits_and_braintree_card_type_to_spree_braintree_checkouts.rb +6 -0
  86. data/db/migrate/20160112153422_add_admin_payment_to_spree_braintree_checkout.rb +5 -0
  87. data/gemfiles/spree_3_5.gemfile +12 -0
  88. data/gemfiles/spree_3_5_spree_auth_devise.gemfile +13 -0
  89. data/gemfiles/spree_3_7.gemfile +12 -0
  90. data/gemfiles/spree_3_7_spree_auth_devise.gemfile +13 -0
  91. data/gemfiles/spree_4_0.gemfile +11 -0
  92. data/gemfiles/spree_4_0_spree_auth_devise.gemfile +12 -0
  93. data/gemfiles/spree_master.gemfile +11 -0
  94. data/gemfiles/spree_master_spree_auth_devise.gemfile +12 -0
  95. data/lib/generators/spree_braintree_vzero/install/install_generator.rb +34 -0
  96. data/lib/spree_braintree_vzero.rb +6 -0
  97. data/lib/spree_braintree_vzero/engine.rb +28 -0
  98. data/lib/spree_braintree_vzero/factories.rb +10 -0
  99. data/lib/spree_braintree_vzero/railtie.rb +8 -0
  100. data/lib/spree_braintree_vzero/version.rb +17 -0
  101. data/lib/tasks/spree_braintree_vzero.rake +6 -0
  102. data/spec/controllers/spree/api/v1/braintree_client_token_controller_spec.rb +49 -0
  103. data/spec/controllers/spree/checkout_controller_spec.rb +85 -0
  104. data/spec/controllers/spree/orders_controller_spec.rb +97 -0
  105. data/spec/factories/braintree_checkout_factory.rb +7 -0
  106. data/spec/factories/braintree_gateway_factory.rb +35 -0
  107. data/spec/factories/payment_factory_decorator.rb +28 -0
  108. data/spec/features/spree/admin/log_entries_spec.rb +63 -0
  109. data/spec/models/gateway/braintree_vzero_base/address_spec.rb +28 -0
  110. data/spec/models/gateway/braintree_vzero_base/purchase_data_spec.rb +57 -0
  111. data/spec/models/gateway/braintree_vzero_base_spec.rb +346 -0
  112. data/spec/models/gateway/braintree_vzero_dropin_ui_spec.rb +35 -0
  113. data/spec/models/gateway/braintree_vzero_hosted_fields_spec.rb +35 -0
  114. data/spec/models/spree/order_spec.rb +186 -0
  115. data/spec/spec_helper.rb +100 -0
  116. data/spec/support/vcr.rb +10 -0
  117. data/spec/vcr/Log_entries/with_a_failed_log_entry/shows_a_failed_attempt.yml +91 -0
  118. data/spec/vcr/Log_entries/with_a_successful_log_entry/shows_a_successful_attempt.yml +113 -0
  119. data/spec/vcr/Spree_Api_V1_BraintreeClientTokenController/POST_create/guest_checkout/returns_proper_json_data_when_gateway_not_specified.yml +90 -0
  120. data/spec/vcr/Spree_Api_V1_BraintreeClientTokenController/POST_create/guest_checkout/returns_proper_json_data_when_gateway_specified.yml +90 -0
  121. data/spec/vcr/Spree_Api_V1_BraintreeClientTokenController/POST_create/user_checkout/returns_proper_json_data_when_gateway_not_specified.yml +191 -0
  122. data/spec/vcr/Spree_Api_V1_BraintreeClientTokenController/POST_create/user_checkout/returns_proper_json_data_when_gateway_specified.yml +191 -0
  123. data/spec/vcr/Spree_CheckoutController/_update/braintree_payment/advanced_fraud_data_in_source_should_be_updated.yml +71 -0
  124. data/spec/vcr/Spree_CheckoutController/_update/braintree_payment/when_token_credit_card_data_in_source_should_be_updated_from_Braintree_Vault.yml +139 -0
  125. data/spec/vcr/Spree_CheckoutController/_update/braintree_paypal_express_payment/amount_in_payment_should_be_updated.yml +280 -0
  126. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_capture/captures_authorized_amount/updates_Payment_state.yml +206 -0
  127. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_credit/with_refundable_state/should_be_a_success.yml +211 -0
  128. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_credit/with_unrefundable_state/should_not_be_a_success.yml +177 -0
  129. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/data_from_admin_panel/should_include_only_essential_data.yml +78 -0
  130. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/does_not_store_Transaction_in_Vault_by_default.yml +111 -0
  131. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/returns_false_with_invalid_nonce.yml +88 -0
  132. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/returns_false_with_invalid_token.yml +88 -0
  133. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/returns_success_with_valid_token.yml +113 -0
  134. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/returns_suceess_with_valid_nonce.yml +111 -0
  135. 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
  136. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/using_Vault/saves_unique_Braintree_Addresses_ids.yml +143 -0
  137. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/using_Vault/sends_empty_address_id_when_address_is_already_in_vault.yml +553 -0
  138. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/using_Vault/stores_Transaction.yml +181 -0
  139. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/with_3DSecure_option_turned_on/performs_3DSecure_check.yml +112 -0
  140. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/with_3DSecure_option_turned_on/returns_error.yml +112 -0
  141. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/with_advanced_fraud_tool_enabled/returns_fraud_data.yml +111 -0
  142. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_purchase/with_advanced_fraud_tool_enabled/returns_success.yml +111 -0
  143. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_settle/settles_authorized_amount/does_not_update_Order_payment_state.yml +204 -0
  144. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_settle/settles_authorized_amount/prepares_Checkout_for_status_updating.yml +204 -0
  145. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_settle/settles_authorized_amount/submits_Transaction_for_settlement.yml +377 -0
  146. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_settle/settles_authorized_amount/updates_Payment_state.yml +203 -0
  147. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_update_states/does_not_update_completed_Checkout_on_subsequent_runs.yml +202 -0
  148. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_update_states/updates_Order_payment_state_when_Checkout_is_updated.yml +202 -0
  149. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_update_states/updates_Payment_state_when_Checkout_is_updated.yml +202 -0
  150. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_update_states/updates_payment_State.yml +202 -0
  151. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_void/with_unvoidable_state/should_not_change_payment_source_state.yml +178 -0
  152. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/_void/with_voidable_state/should_change_payment_source_state_to_voided.yml +199 -0
  153. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/generates_token_for_User_registered_in_Braintree.yml +356 -0
  154. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/generates_token_for_new_User.yml +189 -0
  155. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/valid_credentials/generates_token_without_User.yml +89 -0
  156. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase/with_invalid_credentials/raises_Braintree_error.yml +62 -0
  157. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase_Address/_create/creates_Braintree_Address.yml +84 -0
  158. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase_Address/_create/deletes_Braintree_Address.yml +141 -0
  159. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase_Address/_create/finds_Braintree_Address.yml +148 -0
  160. data/spec/vcr/Spree_Gateway_BraintreeVzeroBase_Address/_create/updates_Braintree_Address.yml +154 -0
  161. data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/with_auto_capture/should_complete_payment.yml +116 -0
  162. data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/with_auto_capture/should_update_payment_s_response_code.yml +111 -0
  163. 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
  164. data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/without_auto_capture/should_pend_payment.yml +111 -0
  165. data/spec/vcr/Spree_Order/complete_with_braintree_vzero_standard_payment/without_auto_capture/should_update_payment_s_response_code.yml +111 -0
  166. 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
  167. data/spree_braintree_vzero.gemspec +52 -0
  168. data/vendor/assets/javascripts/maskedinput/jquery.maskedinput.min.js +7 -0
  169. metadata +643 -0
@@ -0,0 +1,356 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/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.49.0
16
+ X-Apiversion:
17
+ - '4'
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Tue, 13 Oct 2015 14:08:34 GMT
25
+ Content-Type:
26
+ - application/xml; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - close
31
+ X-Authentication:
32
+ - basic_auth
33
+ Strict-Transport-Security:
34
+ - max-age=31536000
35
+ - max-age=31536000; includeSubDomains
36
+ X-User:
37
+ - 97syg9czj6hrdzyn
38
+ Vary:
39
+ - Accept-Encoding
40
+ Content-Encoding:
41
+ - gzip
42
+ X-Ua-Compatible:
43
+ - IE=Edge,chrome=1
44
+ Etag:
45
+ - '"10e9499a4ad280083c1ac2e1582f214c"'
46
+ Cache-Control:
47
+ - max-age=0, private, must-revalidate
48
+ X-Request-Id:
49
+ - 40702262c21a573513f2e4f996b00a33
50
+ X-Runtime:
51
+ - '0.193708'
52
+ X-Frame-Options:
53
+ - SAMEORIGIN
54
+ body:
55
+ encoding: ASCII-8BIT
56
+ string: !binary |-
57
+ H4sIAGIQHVYAA+yc247bNhCG7/MUhgPkTqujtbbiVRo0KIoibQNktwV6E1AS
58
+ bWlXIhWKPvXpS0qW5YO8a4uFmqBzk1jD4ZgmP/4azsqevltn6WCJWZFQcjc0
59
+ b4zhAJOQRgmZ3w0f7n/SxsN3/qtpuCg4zTDzXw0G0yTyzaku/pUXwhjGiHBN
60
+ XG/CMMozYodL/hjMCZvq+63Se5awgmsEZdj/QLOEJE9Tfc8mXVJUX/2MUsSn
61
+ emOQzSHNckQ2A5Kkd0POFniol3acoST1i5xh/ANeoyxP8Y3wnepVg3TJY0rw
62
+ SccZWp/YVjgoEn7qGzKMOI40xAd8k+O7YSQueZLhoW8Z5kgzDc1w703Ls8ae
63
+ Zf811ZsOZf9FHl3Xv+lQvX+5DNoswWlU7IYUJVwLEYuKbVDEGNoMZethe2UR
64
+ tiAhvmOY1ng81eXr2i6dNBnD/yMpkBj97nrfI6ZphFm5IscTVPnQTC57glL/
65
+ gTwRuiIiUmNr3BaEs41GZ1pSFAtEQuw/fH4vfU8bdp0uWgDL8gzbG41OFqCK
66
+ sWVZqzjevzxxSWmIuNgaYmR7njtr7R/hIOHNp60um8YZWqT1gANKU4zI0J+h
67
+ tMDSt2xtvBdMLInG8HyRypHvRT1uqbvgdZ6wckBaRgmPfdMS2B8bW7w3GDEx
68
+ b5Zx4F5aD7xxdGbw29add4xRymMBCW6GvWer3ZIMzbG2YKkfc54Xnq6josC8
69
+ uAkYSsTaYzwXH3CFNnIH6znaZJjwLxnmMY2+pHRO9aXg8yYn83eYLBNGiXS4
70
+ KxCJAroW0rSLv3tHAZK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EvYnR
87
+ AXYWg7oD8H0Dr5a7VzE65u7cAuAB+D6BlxV1VeBljHFHhV9DOgOw9wi7Yt29
88
+ idEB9lEBsAPsfcKuVndvYnSAfT0B2AH2XmAXCbcx8kZKacxejC6wZ5C3A/C9
89
+ Au8qliG3MZyOB9UI1B1g7w32iecolSH3YnSA3VGpygDsAPvVsCunMtsYHWBf
90
+ 3kIqA8D3DPxIqSqzjdHxoPo4AnUH2PuC3Zyc/QruxbDXMTrAngPsAHuvsJ/5
91
+ otRVsHc8pBJ4OAyA7x141dxdxuj419RVAOoOsPcFu+V4tmpVpo7RJW9nADvA
92
+ 3g/spmcZnq2m7E2MDrAXkMoA8L0DP1EH3un4rIwLjw8A7H3CXv4inSrs7T9R
93
+ 8fIXskNQdwC+J+Dt8idsbj1L4Wt7uxhdn5dR+VI2qDvAfjXsCqnMQYwuz8pA
94
+ KgOw9wm7rVBzP4jRBXaVZ9whlQHgrwTe8YyxZ6kBX8XoWIbkkMoA7L3Crpa3
95
+ NzG6VGVmADvA3ifsZ37d+SrYX/xr6u4Ci8uGY//VPwAAAP//AwDotFFX22YA
96
+ AA==
97
+ http_version:
98
+ recorded_at: Tue, 13 Oct 2015 14:08:34 GMT
99
+ - request:
100
+ method: post
101
+ uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/customers
102
+ body:
103
+ encoding: UTF-8
104
+ string: |
105
+ <?xml version="1.0" encoding="UTF-8"?>
106
+ <customer>
107
+ <first-name>John</first-name>
108
+ <last-name>Doe</last-name>
109
+ <company>Company</company>
110
+ <id type="integer">1</id>
111
+ <email>oren.shanahan@stokes.name</email>
112
+ </customer>
113
+ headers:
114
+ Accept-Encoding:
115
+ - gzip
116
+ Accept:
117
+ - application/xml
118
+ User-Agent:
119
+ - Braintree Ruby Gem 2.49.0
120
+ X-Apiversion:
121
+ - '4'
122
+ Content-Type:
123
+ - application/xml
124
+ response:
125
+ status:
126
+ code: 422
127
+ message: Unprocessable Entity
128
+ headers:
129
+ Date:
130
+ - Tue, 13 Oct 2015 14:08:35 GMT
131
+ Content-Type:
132
+ - application/xml; charset=utf-8
133
+ Transfer-Encoding:
134
+ - chunked
135
+ Connection:
136
+ - close
137
+ X-Authentication:
138
+ - basic_auth
139
+ Strict-Transport-Security:
140
+ - max-age=31536000
141
+ - max-age=31536000; includeSubDomains
142
+ X-User:
143
+ - 97syg9czj6hrdzyn
144
+ Vary:
145
+ - Accept-Encoding
146
+ Content-Encoding:
147
+ - gzip
148
+ X-Ua-Compatible:
149
+ - IE=Edge,chrome=1
150
+ Cache-Control:
151
+ - no-cache
152
+ X-Request-Id:
153
+ - 4030ba390e8d4b69cb1f6599fddfb44d
154
+ X-Runtime:
155
+ - '0.043737'
156
+ X-Frame-Options:
157
+ - SAMEORIGIN
158
+ body:
159
+ encoding: ASCII-8BIT
160
+ string: !binary |-
161
+ H4sIAGMQHVYAA5xSTW/DIAy991cg7gnNZVolSie1mrSdtx/gNl6LGiCy6bT8
162
+ ++WLJpWyyw6An9/D8jPo3Y+rxDcS2+C3ssjXUqA/hdL681Z+frxmz3JnVhpq
163
+ myFRoIyQ6+AZzUoI3ae4C+9AxKbGrQQiaKQaqdONY3BIA1zWJi6xE+4KhBLN
164
+ pnhab7Tq4zkJMZI93iKO9bhxx1BJY0ut7tzDDYfMcEazH/sSbwdxARZQEULZ
165
+ iCOiFxGu6HOtknjqTz00OMI0BjU3O+d0DQSO/xrJlyWOmQeH5j1cvFazRNJU
166
+ kDKHgFpNMAlOwdXgG7Mfzm5YQyIJbGkKrdr9/hIObGUCtVb5Ah7a9dJ2dkXO
167
+ u8qtgV6w6G0y9M+Jtu+z8LF+AQAA//8DAMfTkzyVAgAA
168
+ http_version:
169
+ recorded_at: Tue, 13 Oct 2015 14:08:36 GMT
170
+ - request:
171
+ method: post
172
+ uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/client_token
173
+ body:
174
+ encoding: UTF-8
175
+ string: |
176
+ <?xml version="1.0" encoding="UTF-8"?>
177
+ <client-token>
178
+ <version type="integer">2</version>
179
+ </client-token>
180
+ headers:
181
+ Accept-Encoding:
182
+ - gzip
183
+ Accept:
184
+ - application/xml
185
+ User-Agent:
186
+ - Braintree Ruby Gem 2.49.0
187
+ X-Apiversion:
188
+ - '4'
189
+ Content-Type:
190
+ - application/xml
191
+ response:
192
+ status:
193
+ code: 201
194
+ message: Created
195
+ headers:
196
+ Date:
197
+ - Tue, 13 Oct 2015 14:08:37 GMT
198
+ Content-Type:
199
+ - application/xml; charset=utf-8
200
+ Transfer-Encoding:
201
+ - chunked
202
+ Connection:
203
+ - close
204
+ X-Authentication:
205
+ - basic_auth
206
+ Strict-Transport-Security:
207
+ - max-age=31536000
208
+ - max-age=31536000; includeSubDomains
209
+ X-User:
210
+ - 97syg9czj6hrdzyn
211
+ Vary:
212
+ - Accept-Encoding
213
+ Content-Encoding:
214
+ - gzip
215
+ X-Ua-Compatible:
216
+ - IE=Edge,chrome=1
217
+ Etag:
218
+ - '"c843c42d7409ca03e51acf26a16f63a3"'
219
+ Cache-Control:
220
+ - max-age=0, private, must-revalidate
221
+ X-Request-Id:
222
+ - edeebea4be5f103eccd7f343ffd1ac27
223
+ X-Runtime:
224
+ - '0.148597'
225
+ X-Frame-Options:
226
+ - SAMEORIGIN
227
+ body:
228
+ encoding: ASCII-8BIT
229
+ string: !binary |-
230
+ H4sIAGUQHVYAA7xV226jSBB9n6+I8j470DbZIGUyiu2AQaY9xnYD/UZ3OzHQ
231
+ Dd5grl+/hXPzaK3VSCvtA0KC6jpVp86pvvvRKnlV717KpMi/X+t/aNdXu5wX
232
+ Ismfv19vN9bX2+sf91/uuEx2+fHrsch2+f2Xq6u7OpbV7n7XuYiGbh8HZuWk
233
+ RbeYunsR+gUbuYedsrThu69kRRHp+Nw9sHyVLBM39TYrA6OVTmfblqpVh9UW
234
+ Re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BsLrB7679494nWDz+HOsNsD
251
+ U+Kc//5cM5+5P3f3CjTJRp+5+Ukvx56hVgfP1SzHPZ8fanbCwDrPoX+FjXWI
252
+ 6xUys8EzTkbINnHN1/0tq9Msz/2mKPgdD9x9+uEN77InBi1RwNHrU7+IKtBn
253
+ Rdeuefft9T79cvft15v2bwAAAP//AwBj3x/AoAcAAA==
254
+ http_version:
255
+ recorded_at: Tue, 13 Oct 2015 14:08:37 GMT
256
+ - request:
257
+ method: get
258
+ uri: https://5ffsvj9qxt38xptf:50ea069d312d35fbf779a66b6c86b897@api.sandbox.braintreegateway.com/merchants/zt9ssvxzppgzdjmn/customers/1
259
+ body:
260
+ encoding: US-ASCII
261
+ string: ''
262
+ headers:
263
+ Accept-Encoding:
264
+ - gzip
265
+ Accept:
266
+ - application/xml
267
+ User-Agent:
268
+ - Braintree Ruby Gem 2.64.0
269
+ X-Apiversion:
270
+ - '4'
271
+ response:
272
+ status:
273
+ code: 200
274
+ message: OK
275
+ headers:
276
+ Date:
277
+ - Wed, 27 Jul 2016 15:05:44 GMT
278
+ Content-Type:
279
+ - application/xml; charset=utf-8
280
+ Transfer-Encoding:
281
+ - chunked
282
+ X-Frame-Options:
283
+ - SAMEORIGIN
284
+ - SAMEORIGIN
285
+ X-Xss-Protection:
286
+ - 1; mode=block
287
+ X-Content-Type-Options:
288
+ - nosniff
289
+ X-Authentication:
290
+ - basic_auth
291
+ X-User:
292
+ - vzw4dwqpkk82wnfg
293
+ Vary:
294
+ - Accept-Encoding
295
+ Content-Encoding:
296
+ - gzip
297
+ Etag:
298
+ - W/"a13aeca6f1ad47b15eeeb097e5e3c1eb"
299
+ Cache-Control:
300
+ - max-age=0, private, must-revalidate
301
+ X-Request-Id:
302
+ - 729f1bf9-2aa9-4d9a-8797-25f5917ffa36
303
+ X-Runtime:
304
+ - '0.286110'
305
+ Strict-Transport-Security:
306
+ - max-age=31536000; includeSubDomains
307
+ body:
308
+ encoding: ASCII-8BIT
309
+ string: !binary |-
310
+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xfgW2Men
343
+ jpxrM+cOA1WAvVfYzzw2/CbYTz0d2WZFdfuRsJ98OuiYc200+M0PAp8s3kz6
344
+ XUxvBr+obTj/smSVuYjOc/7Xy5xPlIlqAOcij8d3fgq4Bec72CYDot4b7PzA
345
+ 226TMVUMkQ2QMD4F4PsGXuu2tpTHEFxbeuyymArqDrC/GfZu49MqhkiXHWAH
346
+ 2HuC3TB1xdTPHNjXEvYqhsiesC6TMdCVAeCFgO82UM1j6GLAL2CgCrD3Cnu3
347
+ bTJVDAHYVx86+wiw/2SwG133hFUxBGBfPgLsAHufsHebgqxiCMC+NaDfDsD3
348
+ DLzebQoyjyE4UPViWEiFhdT35fy1Nyh0Pii+BeezHXAOnL8v56+9A6n1q16K
349
+ GAKcGx96iAxw/tNwztf5u3JexBDZ2gucA+e9cH547VYnzs+8uqsF5w4FzoHz
350
+ d+f8xbfSdn75ZptZxhBmGWHSpQfYs5fL64c9W4KwN2KInOHbZZYRYAfY3wx7
351
+ h31fjRgiMy8LmFIH4PsGvkOXvYwhODSdwDm+AHt/sOtdTmhvxhCZb+xytCnA
352
+ DrC/GfYOuwMaMQRg/9FlEQm6MgD8hwH/6qxMmcAsWbFsffofAAD//wMA0T2o
353
+ rheaAAA=
354
+ http_version:
355
+ recorded_at: Wed, 27 Jul 2016 15:05:44 GMT
356
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,189 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://yd57hn7c4r5bhp8g:1cc8b0097ef43165847630438f864834@api.sandbox.braintreegateway.com/merchants/yccdpmn3cvtjbgnr/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.49.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
+ - Tue, 13 Oct 2015 14:08:41 GMT
31
+ Content-Type:
32
+ - application/xml; charset=utf-8
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - close
37
+ X-Authentication:
38
+ - basic_auth
39
+ Strict-Transport-Security:
40
+ - max-age=31536000
41
+ - max-age=31536000; includeSubDomains
42
+ X-User:
43
+ - 97syg9czj6hrdzyn
44
+ Vary:
45
+ - Accept-Encoding
46
+ Content-Encoding:
47
+ - gzip
48
+ X-Ua-Compatible:
49
+ - IE=Edge,chrome=1
50
+ Etag:
51
+ - '"77434837e0a708b6441c47e348109f70"'
52
+ Cache-Control:
53
+ - max-age=0, private, must-revalidate
54
+ X-Request-Id:
55
+ - 1154447c608f51b25b7c0b8ba0d545f3
56
+ X-Runtime:
57
+ - '0.162472'
58
+ X-Frame-Options:
59
+ - SAMEORIGIN
60
+ body:
61
+ encoding: ASCII-8BIT
62
+ string: !binary |-
63
+ H4sIAGkQHVYAA7xVS2+jSBC+51dEuc8ONCEbpExGsRMwyLQHbPPoG93tjIFu
64
+ 8Abz/PVbkJdHa61GWmkPXKC6vqrv0dx976S4bHYvVVoW367UP5Sry13BSp4W
65
+ P79dbTfml9ur7/cXd0yku+L45Vjmu+L+4vLyrklEvbvf9Q4ikTMkoVHbWdkv
66
+ 586eR35JNeewk6YyvvelqAkKerZwDrTw0lXqZG7oy1Xo9e5gq0Q6e3fjSDx4
67
+ qvsYSPLoS/zo6sRyxGqT667lqnHmtatHP19tZrk7MJ1It1uFT1o8bHWcwTPY
68
+ 2rOFexKaCgn95zjyDDd76PBa6dw5PKrX4ccSepSKu75GbhZrq82Tgjfei/v4
69
+ 0LpmB9gPPZaqYBKXcagrERL5j0hkMfJbGl4PsUaURDoFLRzGN3AmIy0PnSoJ
70
+ 8XOCAh1qc7zhJc14hhe2Gst9u7JYCpxkFO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:
88
+ recorded_at: Tue, 13 Oct 2015 14:08:41 GMT
89
+ - request:
90
+ method: get
91
+ uri: https://5ffsvj9qxt38xptf:50ea069d312d35fbf779a66b6c86b897@api.sandbox.braintreegateway.com/merchants/zt9ssvxzppgzdjmn/customers/1
92
+ body:
93
+ encoding: US-ASCII
94
+ string: ''
95
+ headers:
96
+ Accept-Encoding:
97
+ - gzip
98
+ Accept:
99
+ - application/xml
100
+ User-Agent:
101
+ - Braintree Ruby Gem 2.64.0
102
+ X-Apiversion:
103
+ - '4'
104
+ response:
105
+ status:
106
+ code: 200
107
+ message: OK
108
+ headers:
109
+ Date:
110
+ - Wed, 27 Jul 2016 15:05:42 GMT
111
+ Content-Type:
112
+ - application/xml; charset=utf-8
113
+ Transfer-Encoding:
114
+ - chunked
115
+ X-Frame-Options:
116
+ - SAMEORIGIN
117
+ - SAMEORIGIN
118
+ X-Xss-Protection:
119
+ - 1; mode=block
120
+ X-Content-Type-Options:
121
+ - nosniff
122
+ X-Authentication:
123
+ - basic_auth
124
+ X-User:
125
+ - vzw4dwqpkk82wnfg
126
+ Vary:
127
+ - Accept-Encoding
128
+ Content-Encoding:
129
+ - gzip
130
+ Etag:
131
+ - W/"51494b1f6e8106de4fcb8ce83c96ccb3"
132
+ Cache-Control:
133
+ - max-age=0, private, must-revalidate
134
+ X-Request-Id:
135
+ - 56217f7b-c457-4c2e-82dd-93618d422c17
136
+ X-Runtime:
137
+ - '0.295615'
138
+ Strict-Transport-Security:
139
+ - max-age=31536000; includeSubDomains
140
+ body:
141
+ encoding: ASCII-8BIT
142
+ string: !binary |-
143
+ H4sIAMbNmFcAA+ydW3OjNhTH3/dTeNxnwsXYxozDNt1Op+3s9GWTPvRlR4Cw
144
+ iUGwIN/y6SuBuTl2QsSE2LNnH7LW0dEJQT/9rRti/nkXBoMNTlI/IrdD9UYZ
145
+ DjBxItcni9vhw/0fkjH8bH2aO+uURiFOrE+Dwdx3LXUus588wYzOEhEqsfQT
146
+ naXpZvcUx4sn9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3TB1xdTPHNjXEvYqhsiesC6TMdCVAeCFgO82UM1j6GLAL2CgCrD3Cnu3
180
+ bTJVDAHYVx86+wiw/2SwG133hFUxBGBfPgLsAHufsHebgqxiCMC+NaDfDsD3
181
+ DLzebQoyjyE4UPViWEiFhdT35fy1Nyh0Pii+BeezHXAOnL8v56+9A6n1q16K
182
+ GAKcGx96iAxw/tNwztf5u3JexBDZ2gucA+e9cH547VYnzs+8uqsF5w4FzoHz
183
+ d+f8xbfSdn75ZptZxhBmGWHSpQfYs5fL64c9W4KwN2KInOHbZZYRYAfY3wx7
184
+ h31fjRgiMy8LmFIH4PsGvkOXvYwhODSdwDm+AHt/sOtdTmhvxhCZb+xytCnA
185
+ DrC/GfYOuwMaMQRg/9FlEQm6MgD8hwH/6qxMmcAsWbFsffofAAD//wMA0T2o
186
+ rheaAAA=
187
+ http_version:
188
+ recorded_at: Wed, 27 Jul 2016 15:05:43 GMT
189
+ recorded_with: VCR 3.0.3