solidus_braintree 1.4.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +12 -0
- data/.gem_release.yml +5 -0
- data/.github_changelog_generator +2 -0
- data/.gitignore +20 -11
- data/.rspec +1 -1
- data/.rubocop.yml +79 -0
- data/CHANGELOG.md +178 -18
- data/Gemfile +31 -23
- data/LICENSE +26 -0
- data/README.md +387 -26
- data/Rakefile +4 -19
- data/app/assets/config/solidus_braintree_manifest.js +1 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_280x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_320x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_375x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_280x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_320x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_375x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_blue_acceptance_mark.svg +15 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_blue_button_280x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_blue_button_320x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_blue_button_375x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_blue_logo.svg +18 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_white_acceptance_mark.svg +20 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_white_button_280x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_white_button_320x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_white_button_375x48.svg +19 -0
- data/app/assets/images/solidus_braintree/venmo/venmo_white_logo.svg +18 -0
- data/app/assets/javascripts/solidus_braintree/apple_pay_button.js +179 -0
- data/app/assets/javascripts/solidus_braintree/checkout.js +108 -0
- data/app/assets/javascripts/solidus_braintree/client.js +239 -0
- data/app/assets/javascripts/solidus_braintree/constants.js +89 -0
- data/app/assets/javascripts/solidus_braintree/frontend.js +14 -0
- data/app/assets/javascripts/solidus_braintree/hosted_form.js +46 -0
- data/app/assets/javascripts/solidus_braintree/paypal_button.js +178 -0
- data/app/assets/javascripts/solidus_braintree/paypal_messaging.js +22 -0
- data/app/assets/javascripts/solidus_braintree/promise.js +20 -0
- data/app/assets/javascripts/solidus_braintree/venmo_button.js +86 -0
- data/app/assets/javascripts/spree/backend/solidus_braintree.js +96 -0
- data/app/assets/javascripts/spree/frontend/paypal_button.js +34 -0
- data/app/assets/javascripts/spree/frontend/solidus_braintree.js +1 -0
- data/app/assets/stylesheets/spree/backend/solidus_braintree.scss +28 -0
- data/app/assets/stylesheets/spree/frontend/solidus_braintree.scss +51 -0
- data/app/decorators/controllers/solidus_braintree/admin_payments_controller_decorator.rb +11 -0
- data/app/decorators/controllers/solidus_braintree/checkout_controller_decorator.rb +11 -0
- data/app/decorators/controllers/solidus_braintree/client_tokens_controller.rb +41 -0
- data/app/decorators/controllers/solidus_braintree/orders_controller_decorator.rb +11 -0
- data/app/decorators/models/solidus_braintree/spree/store_decorator.rb +20 -0
- data/app/decorators/models/solidus_braintree/spree/user_decorator.rb +13 -0
- data/app/helpers/solidus_braintree/braintree_admin_helper.rb +23 -0
- data/app/helpers/solidus_braintree/braintree_checkout_helper.rb +60 -0
- data/app/models/application_record.rb +5 -0
- data/app/models/solidus_braintree/address.rb +64 -0
- data/app/models/solidus_braintree/avs_result.rb +69 -0
- data/app/models/solidus_braintree/configuration.rb +39 -0
- data/app/models/solidus_braintree/customer.rb +8 -0
- data/app/models/solidus_braintree/gateway.rb +433 -0
- data/app/models/solidus_braintree/response.rb +80 -0
- data/app/models/solidus_braintree/source.rb +135 -0
- data/app/models/solidus_braintree/transaction.rb +31 -0
- data/app/models/solidus_braintree/transaction_address.rb +88 -0
- data/app/models/solidus_braintree/transaction_import.rb +98 -0
- data/app/overrides/spree/payments/payment/add_paypal_funding_source_to_payment.rb +9 -0
- data/app/views/spree/api/payments/source_views/_braintree.json.jbuilder +1 -1
- data/app/views/spree/checkout/existing_payment/_braintree.html.erb +10 -0
- data/app/views/spree/shared/_apple_pay_button.html.erb +27 -0
- data/app/views/spree/shared/_braintree_errors.html.erb +16 -0
- data/app/views/spree/shared/_braintree_head_scripts.html.erb +26 -0
- data/app/views/spree/shared/_braintree_hosted_fields.html.erb +43 -0
- data/app/views/spree/shared/_paypal_cart_button.html.erb +38 -0
- data/app/views/spree/shared/_paypal_messaging.html.erb +13 -0
- data/app/views/spree/shared/_venmo_button.html.erb +33 -0
- data/bin/console +4 -1
- data/bin/rails +5 -5
- data/bin/rails-engine +13 -0
- data/bin/rails-sandbox +16 -0
- data/bin/rake +7 -0
- data/bin/sandbox +103 -0
- data/bin/setup +5 -4
- data/config/locales/en.yml +94 -2
- data/config/locales/it.yml +56 -0
- data/config/routes.rb +12 -3
- data/db/migrate/20160830061749_create_solidus_paypal_braintree_sources.rb +16 -0
- data/db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb +13 -0
- data/db/migrate/20161114231422_create_solidus_paypal_braintree_configurations.rb +11 -0
- data/db/migrate/20161125172005_add_braintree_configuration_to_stores.rb +7 -0
- data/db/migrate/20170203191030_add_credit_card_to_braintree_configuration.rb +6 -0
- data/db/migrate/20170505193712_add_null_constraint_to_sources.rb +38 -0
- data/db/migrate/20170508085402_add_not_null_constraint_to_sources_payment_type.rb +14 -0
- data/db/migrate/20190705115327_add_paypal_button_preferences_to_braintree_configurations.rb +5 -0
- data/db/migrate/20190911141712_add_3d_secure_to_braintree_configuration.rb +5 -0
- data/db/migrate/20211222170950_add_paypal_funding_source_to_solidus_paypal_braintree_sources.rb +5 -0
- data/db/migrate/20220104150301_add_venmo_to_braintree_configuration.rb +5 -0
- data/db/migrate/20230109080950_rename_solidus_paypal_braintree_source_type.rb +31 -0
- data/lib/controllers/backend/solidus_braintree/configurations_controller.rb +48 -0
- data/lib/controllers/frontend/solidus_braintree/checkouts_controller.rb +31 -0
- data/lib/controllers/frontend/solidus_braintree/transactions_controller.rb +67 -0
- data/lib/generators/solidus_braintree/install/install_generator.rb +54 -18
- data/lib/generators/solidus_braintree/install/templates/initializer.rb +6 -0
- data/lib/solidus_braintree/country_mapper.rb +37 -0
- data/lib/solidus_braintree/engine.rb +55 -10
- data/lib/solidus_braintree/extension_configuration.rb +23 -0
- data/lib/solidus_braintree/request_protection.rb +21 -0
- data/lib/solidus_braintree/testing_support/factories.rb +53 -0
- data/lib/solidus_braintree/version.rb +3 -1
- data/lib/solidus_braintree.rb +14 -2
- data/lib/solidus_paypal_braintree.rb +6 -0
- data/lib/views/backend/solidus_braintree/configurations/list.html.erb +63 -0
- data/lib/views/backend/spree/admin/payments/source_forms/_braintree.html.erb +16 -0
- data/lib/views/backend/spree/admin/payments/source_views/_braintree.html.erb +39 -0
- data/lib/views/backend/spree/admin/shared/preference_fields/_preference_select.html.erb +13 -0
- data/lib/views/backend_v1.2/spree/admin/payments/source_forms/_braintree.html.erb +16 -0
- data/lib/views/backend_v2.4/spree/admin/shared/preference_fields/_hash.html.erb +12 -0
- data/lib/views/frontend/solidus_braintree/payments/_payment.html.erb +12 -0
- data/lib/views/frontend/spree/checkout/payment/_braintree.html.erb +23 -0
- data/lib/views/frontend/spree/shared/_paypal_checkout_button.html.erb +32 -0
- data/solidus_braintree.gemspec +39 -38
- data/spec/controllers/solidus_braintree/checkouts_controller_spec.rb +99 -0
- data/spec/controllers/solidus_braintree/client_tokens_controller_spec.rb +55 -0
- data/spec/controllers/solidus_braintree/configurations_controller_spec.rb +73 -0
- data/spec/controllers/solidus_braintree/transactions_controller_spec.rb +183 -0
- data/spec/features/backend/configuration_spec.rb +23 -0
- data/spec/features/backend/new_payment_spec.rb +137 -0
- data/spec/features/frontend/braintree_credit_card_checkout_spec.rb +191 -0
- data/spec/features/frontend/paypal_checkout_spec.rb +166 -0
- data/spec/features/frontend/venmo_checkout_spec.rb +194 -0
- data/spec/fixtures/cassettes/admin/invalid_credit_card.yml +63 -0
- data/spec/fixtures/cassettes/admin/resubmit_credit_card.yml +352 -0
- data/spec/fixtures/cassettes/admin/valid_credit_card.yml +412 -0
- data/spec/fixtures/cassettes/braintree/create_profile.yml +71 -0
- data/spec/fixtures/cassettes/braintree/generate_token.yml +63 -0
- data/spec/fixtures/cassettes/braintree/token.yml +63 -0
- data/spec/fixtures/cassettes/checkout/invalid_credit_card.yml +63 -0
- data/spec/fixtures/cassettes/checkout/resubmit_credit_card.yml +216 -0
- data/spec/fixtures/cassettes/checkout/update.yml +71 -0
- data/spec/fixtures/cassettes/checkout/valid_credit_card.yml +171 -0
- data/spec/fixtures/cassettes/checkout/valid_venmo_transaction.yml +599 -0
- data/spec/fixtures/cassettes/gateway/authorize/credit_card/address.yml +86 -0
- data/spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml +154 -0
- data/spec/fixtures/cassettes/gateway/authorize/paypal/EUR.yml +90 -0
- data/spec/fixtures/cassettes/gateway/authorize/paypal/address.yml +90 -0
- data/spec/fixtures/cassettes/gateway/authorize.yml +86 -0
- data/spec/fixtures/cassettes/gateway/authorized_transaction.yml +73 -0
- data/spec/fixtures/cassettes/gateway/cancel/missing.yml +63 -0
- data/spec/fixtures/cassettes/gateway/cancel/refunds.yml +272 -0
- data/spec/fixtures/cassettes/gateway/cancel/void.yml +201 -0
- data/spec/fixtures/cassettes/gateway/capture.yml +141 -0
- data/spec/fixtures/cassettes/gateway/complete.yml +157 -0
- data/spec/fixtures/cassettes/gateway/credit.yml +208 -0
- data/spec/fixtures/cassettes/gateway/customer.yml +79 -0
- data/spec/fixtures/cassettes/gateway/purchase.yml +87 -0
- data/spec/fixtures/cassettes/gateway/settled_transaction.yml +140 -0
- data/spec/fixtures/cassettes/gateway/void.yml +137 -0
- data/spec/fixtures/cassettes/source/bin.yml +295 -0
- data/spec/fixtures/cassettes/source/card_type.yml +267 -0
- data/spec/fixtures/cassettes/source/last4.yml +267 -0
- data/spec/fixtures/cassettes/transaction/import/valid/capture.yml +224 -0
- data/spec/fixtures/cassettes/transaction/import/valid.yml +71 -0
- data/spec/fixtures/views/spree/orders/edit.html.erb +50 -0
- data/spec/helpers/solidus_braintree/braintree_admin_helper_spec.rb +17 -0
- data/spec/helpers/solidus_braintree/braintree_checkout_helper_spec.rb +70 -0
- data/spec/models/solidus_braintree/address_spec.rb +71 -0
- data/spec/models/solidus_braintree/avs_result_spec.rb +317 -0
- data/spec/models/solidus_braintree/gateway_spec.rb +742 -0
- data/spec/models/solidus_braintree/response_spec.rb +280 -0
- data/spec/models/solidus_braintree/source_spec.rb +539 -0
- data/spec/models/solidus_braintree/transaction_address_spec.rb +235 -0
- data/spec/models/solidus_braintree/transaction_import_spec.rb +302 -0
- data/spec/models/solidus_braintree/transaction_spec.rb +86 -0
- data/spec/models/spree/store_spec.rb +14 -0
- data/spec/requests/spree/api/orders_controller_spec.rb +36 -0
- data/spec/spec_helper.rb +32 -0
- data/spec/support/capybara.rb +7 -0
- data/spec/support/gateway_helpers.rb +29 -0
- data/spec/support/order_ready_for_payment.rb +37 -0
- data/spec/support/vcr.rb +42 -0
- data/spec/support/views.rb +1 -0
- metadata +276 -224
- data/LICENSE.txt +0 -21
- data/app/controllers/spree/api/braintree_client_token_controller.rb +0 -13
- data/app/decorators/lib/solidus_braintree/spree/permitted_attributes_decorator.rb +0 -9
- data/app/decorators/models/solidus_braintree/spree/credit_card_decorator.rb +0 -11
- data/app/decorators/models/solidus_braintree/spree/payment_decorator.rb +0 -10
- data/app/helpers/braintree_view_helpers.rb +0 -20
- data/app/models/concerns/solidus_braintree/add_name_validation_concern.rb +0 -8
- data/app/models/concerns/solidus_braintree/inject_device_data_concern.rb +0 -18
- data/app/models/concerns/solidus_braintree/payment_braintree_nonce_concern.rb +0 -8
- data/app/models/concerns/solidus_braintree/permitted_attributes_concern.rb +0 -11
- data/app/models/concerns/solidus_braintree/skip_require_card_numbers_concern.rb +0 -14
- data/app/models/concerns/solidus_braintree/use_data_field_concern.rb +0 -23
- data/app/models/solidus/gateway/braintree_gateway.rb +0 -306
- data/app/overrides/spree/checkout/_confirm/braintree_security.html.erb.deface +0 -9
- data/app/views/spree/admin/payments/source_forms/_braintree.html.erb +0 -38
- data/app/views/spree/admin/payments/source_views/_braintree.html.erb +0 -30
- data/app/views/spree/checkout/payment/_braintree.html.erb +0 -55
- data/app/views/spree/checkout/payment/_braintree_initialization.html.erb +0 -12
- data/config/initializers/braintree.rb +0 -3
- data/db/migrate/20150910170527_add_data_to_credit_card.rb +0 -5
- data/db/migrate/20160426221931_add_braintree_device_data_to_order.rb +0 -5
- data/lib/assets/javascripts/spree/backend/braintree/solidus_braintree.js +0 -59
- data/lib/assets/javascripts/spree/frontend/braintree/solidus_braintree.js +0 -144
- data/lib/assets/javascripts/vendor/braintree.js +0 -8
- data/lib/assets/stylesheets/spree/frontend/solidus_braintree.scss +0 -26
@@ -0,0 +1,412 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/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.98.0
|
20
|
+
X-Apiversion:
|
21
|
+
- '5'
|
22
|
+
Content-Type:
|
23
|
+
- application/xml
|
24
|
+
Authorization:
|
25
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 201
|
29
|
+
message: Created
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- nginx
|
33
|
+
Date:
|
34
|
+
- Fri, 13 Sep 2019 14:26:36 GMT
|
35
|
+
Content-Type:
|
36
|
+
- application/xml; charset=utf-8
|
37
|
+
Transfer-Encoding:
|
38
|
+
- chunked
|
39
|
+
X-Authentication:
|
40
|
+
- server_to_server
|
41
|
+
Braintree-Service-Origin:
|
42
|
+
- clientauth
|
43
|
+
Vary:
|
44
|
+
- Accept-Encoding
|
45
|
+
Content-Encoding:
|
46
|
+
- gzip
|
47
|
+
Etag:
|
48
|
+
- W/"a35aafd38a0170ec2caae757a8b4b228"
|
49
|
+
Cache-Control:
|
50
|
+
- max-age=0, private, must-revalidate
|
51
|
+
X-Request-Id:
|
52
|
+
- 787ee291-9782-4473-b112-326fb283d795
|
53
|
+
X-Runtime:
|
54
|
+
- '0.481362'
|
55
|
+
Strict-Transport-Security:
|
56
|
+
- max-age=31536000; includeSubDomains
|
57
|
+
body:
|
58
|
+
encoding: ASCII-8BIT
|
59
|
+
string: !binary |-
|
60
|
+
H4sIAByne10AA3xWW3OjOBN9n18xNe/7LReTiqsyszU4gCFGjgVIoDeE2OEiYSa+wq//GpypTGqz++AqF2p1H3Wfc6SHv65Kfj6XL4d63339ov9P+/K57Iq9qLsfX78ksfvH/Ze/vn16KGRddsc/jvu27L59+vz54ZzLU/mtHAKDpcGY0+XJb/bDZhVUIsV7bgZ9qVxt+o6VPDGDDMU66Hm3q7d1IMtkf2GksvNk2UftkYbE7WMHPeVesM4M+ZwnvUfSPggTq49SFPAUX2iLAtTKn1EqEPGEGbc4CFs9oSluwpbptBVPQpHHqGlPLJVP3CP+jkKuNrnGqu9Cx7rDafVMXDlGVL+EnhtHMQvy1rnEiXjKNT3hngyJ7ppU9a5wLCeOA5bH33VKe4Sca5rEeFu2wc9YE27o9k7u9c+JNuWztiGR/ZxPYQuwNCjRj3xEjMffR6r0MaSuE1MZ7rT+ko0I3c4etNQNzoygoNDkMaTXhif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B97iUzNzcmPhfDpB/QkkE+4vkI37Vi+A+vmLCq1zidDFNvfVVpYm2PE1bwD5kZx7NIYfbQa/gd3vZh0CBphPNbfWXp3LtMOQ/cW5rRhB1ygrZ0FoGPUMvI0+AMvJ20suWaBToQwLkD7GXANyQ/1LdaKqauPVfJ3CtYh31YMkeXxewRluY3vQKvGKc6v+tg954HwFXgSfrLI3bjzBUlAS/c85rbTXvmumvkgl5quIdbyK0VHZmwvXmB4zYwB8CCA3bzoPf8A45DrhNwICiM5SM3sJzmSQhybt72hv2Gzf9YO5AL3gXQi/sJ/5mpbNZysQYOEdBENOthFJ6rickj4YzcQC+v98mEbygTdGazxwYkmTmD9KKDPitk7Yxle9MPifHsx7/jwtOceriTZFFPc3hb+913oF9STP17x7XkVJiwn8K817tTDvgB9yhS+wLvK+gV3oI/mvD/BXh8R+EtBpquJtycunCe6f5yBzZjAo2ns7dPum+4yQBPIP5Ota8Pf97ecp8e/nz/yvs/AAAA//8DAEwB6MccCgAA
|
61
|
+
http_version:
|
62
|
+
recorded_at: Fri, 13 Sep 2019 14:26:36 GMT
|
63
|
+
- request:
|
64
|
+
method: post
|
65
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: |
|
69
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
70
|
+
<customer>
|
71
|
+
<payment-method-nonce>fake-valid-nonce</payment-method-nonce>
|
72
|
+
</customer>
|
73
|
+
headers:
|
74
|
+
Accept-Encoding:
|
75
|
+
- gzip
|
76
|
+
Accept:
|
77
|
+
- application/xml
|
78
|
+
User-Agent:
|
79
|
+
- Braintree Ruby Gem 2.98.0
|
80
|
+
X-Apiversion:
|
81
|
+
- '5'
|
82
|
+
Content-Type:
|
83
|
+
- application/xml
|
84
|
+
Authorization:
|
85
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
86
|
+
response:
|
87
|
+
status:
|
88
|
+
code: 201
|
89
|
+
message: Created
|
90
|
+
headers:
|
91
|
+
Date:
|
92
|
+
- Fri, 13 Sep 2019 14:26:49 GMT
|
93
|
+
Content-Type:
|
94
|
+
- application/xml; charset=utf-8
|
95
|
+
Transfer-Encoding:
|
96
|
+
- chunked
|
97
|
+
X-Frame-Options:
|
98
|
+
- SAMEORIGIN
|
99
|
+
X-Xss-Protection:
|
100
|
+
- 1; mode=block
|
101
|
+
X-Content-Type-Options:
|
102
|
+
- nosniff
|
103
|
+
X-Authentication:
|
104
|
+
- basic_auth
|
105
|
+
X-User:
|
106
|
+
- 3v249hqtptsg744y
|
107
|
+
Vary:
|
108
|
+
- Accept-Encoding
|
109
|
+
Content-Encoding:
|
110
|
+
- gzip
|
111
|
+
Etag:
|
112
|
+
- W/"9f56d1f0eda13c8f072693668c9fc24e"
|
113
|
+
Cache-Control:
|
114
|
+
- max-age=0, private, must-revalidate
|
115
|
+
X-Runtime:
|
116
|
+
- '0.395628'
|
117
|
+
X-Request-Id:
|
118
|
+
- 02-1568384808.619-92.223.152.178-13013628
|
119
|
+
Content-Security-Policy:
|
120
|
+
- frame-ancestors 'self'
|
121
|
+
X-Broxyid:
|
122
|
+
- 02-1568384808.619-92.223.152.178-13013628
|
123
|
+
Strict-Transport-Security:
|
124
|
+
- max-age=31536000; includeSubDomains
|
125
|
+
body:
|
126
|
+
encoding: ASCII-8BIT
|
127
|
+
string: !binary |-
|
128
|
+
H4sIACmne10AA6xW227jOAx971cEfnd9SdLEheNigUWDXWC6D9t2t30ZyBZtq5EljySnSb9+ZMe3XJxJ0XkLDw8lmjok499tMjpag5CEs4XhXNvGCFjEMWHJwnh6vDfnxl1w5UeFVDwDEVyNRj7BwdQdjz3btm98S1slqJ1RipgytT0TOPHct1mYzeLVNB37Vt9bsmMipDIZymDECF0YShRgWJWLoiFPxLMcse0RDhki9AjNU86Oz4jR5gh7h1ASdeI+AUgBNpEaqW0OCwNrU5EMjMC1Hc+0PdMZPzqTW/fmduK9+lYXUMUXOf5cfBewu78quhkToFjuUkooDxEtq/gyfv7AS0+9/v93/PD418e3j9X7tz//cH2r49QfgYkyIySwrNNAQqCtUXr3/TtEYyGhVAvARBgLkLLBd08/eWvevMYabZj7uujDHXn44WvC4PM3t50WQe2VSgCoJvEBEmwUMFzW+SyN8ghRooauEpDonhlw5lwq/Qa6kSDwJo49860+1P+cgimxrWAT0TxF7uCHHzLHlzBZod+ARL+gniv417qgPuWLvVCdYQ3oUuuVBRPbcefzksNavBS1WV4XPBOJdGat3WeknGIt06ESlIorxxdBNHhiK8bfmT6pwzrarpQ8NomUBWIR9PnHzjbw6wX+RA921FLfSks4ePq3x2zRho8hJKr7kp3ZOWNU0CbxkHMKiBlBWcGSWjk7ciH065i6cQpafkDv0ENPEwKbnIgqHzPjTKWBowfcEXiCvQUkdPlce49eoXtswIe5x4hKqKN6mXRTNVreT8P/ngu8dChepuvXe+/txfH4P0u8eXBfDgZwFZwCoirVYutJooc1NJKhBMxC0CBVKpe3loWkBCWvQ4EIK0dboqvzjrbXWn9WjrYZMPU9A5Vy/J3yhFtrrfPrnCV3wNZEcFYSFhIxHPKNHtvt+e2NWoxlR4WIrbrU9tCGWg3mSeDM545v1Ubj06kITnv90QAtQUCOdEEeuPbVvzsfx0VU/TXo4jusockilJEgefmQ+5usa1XFV8CCdJ78mMW+tbMaX8HIj6Kah2HVELoyRK9WEaB4Op1NvHjqxU6Mx3N8E8WRo4F4Mp2HsRbcYGh79m+YbmtgGTclXg0IsvX3IoROY9euJytSjYr+dt8Dqvnp17MUTv45OBy0R+v/M4Pn/Oo/v/jPrf0Llv5FK//swj+z7i9c9peu+ksX/cVr/pdL/rdsoC+3gG/11NYaoM1OTsHVTwAAAP//AwAPv6RdsQwAAA==
|
129
|
+
http_version:
|
130
|
+
recorded_at: Fri, 13 Sep 2019 14:26:50 GMT
|
131
|
+
- request:
|
132
|
+
method: post
|
133
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions
|
134
|
+
body:
|
135
|
+
encoding: UTF-8
|
136
|
+
string: |
|
137
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
138
|
+
<transaction>
|
139
|
+
<amount>110.00</amount>
|
140
|
+
<order-id>R9999999-123ABC</order-id>
|
141
|
+
<channel>Solidus</channel>
|
142
|
+
<options>
|
143
|
+
<store-in-vault-on-success type="boolean">true</store-in-vault-on-success>
|
144
|
+
</options>
|
145
|
+
<payment-method-token>h8gq7f</payment-method-token>
|
146
|
+
<billing>
|
147
|
+
<first-name>John</first-name>
|
148
|
+
<last-name>Doe</last-name>
|
149
|
+
<street-address>PO Box 1337 Northwest</street-address>
|
150
|
+
<locality>Herndon</locality>
|
151
|
+
<postal-code>21088-0255</postal-code>
|
152
|
+
<region>AL</region>
|
153
|
+
<country-code-alpha2>US</country-code-alpha2>
|
154
|
+
</billing>
|
155
|
+
<customer-id>523390006</customer-id>
|
156
|
+
<type>sale</type>
|
157
|
+
</transaction>
|
158
|
+
headers:
|
159
|
+
Accept-Encoding:
|
160
|
+
- gzip
|
161
|
+
Accept:
|
162
|
+
- application/xml
|
163
|
+
User-Agent:
|
164
|
+
- Braintree Ruby Gem 2.98.0
|
165
|
+
X-Apiversion:
|
166
|
+
- '5'
|
167
|
+
Content-Type:
|
168
|
+
- application/xml
|
169
|
+
Authorization:
|
170
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
171
|
+
response:
|
172
|
+
status:
|
173
|
+
code: 201
|
174
|
+
message: Created
|
175
|
+
headers:
|
176
|
+
Date:
|
177
|
+
- Fri, 13 Sep 2019 14:26:51 GMT
|
178
|
+
Content-Type:
|
179
|
+
- application/xml; charset=utf-8
|
180
|
+
Transfer-Encoding:
|
181
|
+
- chunked
|
182
|
+
X-Frame-Options:
|
183
|
+
- SAMEORIGIN
|
184
|
+
X-Xss-Protection:
|
185
|
+
- 1; mode=block
|
186
|
+
X-Content-Type-Options:
|
187
|
+
- nosniff
|
188
|
+
X-Authentication:
|
189
|
+
- basic_auth
|
190
|
+
X-User:
|
191
|
+
- 3v249hqtptsg744y
|
192
|
+
Vary:
|
193
|
+
- Accept-Encoding
|
194
|
+
Content-Encoding:
|
195
|
+
- gzip
|
196
|
+
Etag:
|
197
|
+
- W/"105dd77d09451fc114c14f0becfed1df"
|
198
|
+
Cache-Control:
|
199
|
+
- max-age=0, private, must-revalidate
|
200
|
+
X-Runtime:
|
201
|
+
- '0.422395'
|
202
|
+
X-Request-Id:
|
203
|
+
- 02-1568384811.014-92.223.152.178-13014095
|
204
|
+
Content-Security-Policy:
|
205
|
+
- frame-ancestors 'self'
|
206
|
+
X-Broxyid:
|
207
|
+
- 02-1568384811.014-92.223.152.178-13014095
|
208
|
+
Strict-Transport-Security:
|
209
|
+
- max-age=31536000; includeSubDomains
|
210
|
+
body:
|
211
|
+
encoding: ASCII-8BIT
|
212
|
+
string: !binary |-
|
213
|
+
H4sIACune10AA6xYWXOcOBB+z6+YmncMzGHPpDBZZ1N2kto4W7ntl5RAYpANEiuJOfzrt8XNIMbeqp2noftTI7X6+BrvzT5NJlsiJOXscuqeOdMJYSHHlG0up9+/XVur6Rv/lacEYhKFClD+q8nEo9gXF/EhdmTm2fCgZVIhlUsf5Srmgj4R7NmVSGvVISO+RAnx7OKvloW5EPC2g0Ult+ClxP/+9Z1nD8UajFKeM+W7rnPmOJ5dPWpNSkQYI6YsFIZaaMGGpCJpwBPl2SZtsd08sAy6CaPJ5VSJnEzt0joCW+JFUC4wIMH+l3X5s9zZ/Ortn57daIpjC4IUwRZSE+2KyymGR0VTMvVnjru2HFg3/+YuXs/OXy/de3BIs6BYn2f4v61vF1Rul4rDefRDeZfL2Xy+dhznvL5MEEdUSGUxlJLjc4IyQeO6kKcZYgeDhqSIJgb5jgSSKpOtLObMJI/Q3iDdJDxAiXbz3fzHE75Zq/tfH6Pbbx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ZCsRc+ipbLi8U6Wq4jN8LzFT4Po9AFQbRYroIIYn10aWl5S1jKLYkfR1K50VfcuJ/K1YBnxRTiXhx6lKRp5wWCgKEqQnT+w2QCijR74bTS4BsLJyfL0qVjw2HpUQkuaHLrj3o21NkFPpO1f/ReO0xKcqidxEcZhT0N5eWJ7eMjN5LKTWUVTpCZmeWBDAXNRplbR9/UzIKWWhkwBY4tIEeWdqghjo6QsC2hjFjY8tF7dCuyoOsYaCemsoheo46UVngdcCP1b2yqg4o13FvfKFA6/XkAzjUSw42+7EYwsjOS+F95QnEuIaYrQcmLxVb30IiQse6n3813VnmlAy34IsiFLKk1Jgqm23os66vMF9Th5ebX9zGDzyIvhJO9PjQ0BGHehp5RIFyBTZoM5mFooN1wLSNn1yfPcj34jY8sZYNF+AE6qF5vwlZdz6IMmGRezkS605dF6bcuSp49BupzsY5T+pStS8dGQc/bKgjcc7YalseI2nHxePSWX78826wxrimsSaiRCdxoqZw0TFErDdaaHagYqqAFFUGnCgHnRdw4D0orEjBonJiVmrFxLH/qajGmrzfZn2B9R3cGZ+3O3cXsfOm2hznCjXFuHQPoJOeuo6QfkgX9I/LUl7WZ0+1VY8u73waa9m8O85Oj/8m1xs8LzYrh8Gf+YDC+oOUt+P3HOGC38d38SxbMllH4gDn5udmF86sevek1Sv/VvwAAAP//AwDtK+QJXhYAAA==
|
214
|
+
http_version:
|
215
|
+
recorded_at: Fri, 13 Sep 2019 14:26:52 GMT
|
216
|
+
- request:
|
217
|
+
method: get
|
218
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/r7hyh0sp
|
219
|
+
body:
|
220
|
+
encoding: US-ASCII
|
221
|
+
string: ''
|
222
|
+
headers:
|
223
|
+
Accept-Encoding:
|
224
|
+
- gzip
|
225
|
+
Accept:
|
226
|
+
- application/xml
|
227
|
+
User-Agent:
|
228
|
+
- Braintree Ruby Gem 2.98.0
|
229
|
+
X-Apiversion:
|
230
|
+
- '5'
|
231
|
+
Content-Type:
|
232
|
+
- application/xml
|
233
|
+
Authorization:
|
234
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
235
|
+
response:
|
236
|
+
status:
|
237
|
+
code: 200
|
238
|
+
message: OK
|
239
|
+
headers:
|
240
|
+
Date:
|
241
|
+
- Fri, 13 Sep 2019 14:26:53 GMT
|
242
|
+
Content-Type:
|
243
|
+
- application/xml; charset=utf-8
|
244
|
+
Transfer-Encoding:
|
245
|
+
- chunked
|
246
|
+
X-Frame-Options:
|
247
|
+
- SAMEORIGIN
|
248
|
+
X-Xss-Protection:
|
249
|
+
- 1; mode=block
|
250
|
+
X-Content-Type-Options:
|
251
|
+
- nosniff
|
252
|
+
X-Authentication:
|
253
|
+
- basic_auth
|
254
|
+
X-User:
|
255
|
+
- 3v249hqtptsg744y
|
256
|
+
Vary:
|
257
|
+
- Accept-Encoding
|
258
|
+
Content-Encoding:
|
259
|
+
- gzip
|
260
|
+
Etag:
|
261
|
+
- W/"c8950da5cd98d6a233827a90c39e171b"
|
262
|
+
Cache-Control:
|
263
|
+
- max-age=0, private, must-revalidate
|
264
|
+
X-Runtime:
|
265
|
+
- '0.228192'
|
266
|
+
X-Request-Id:
|
267
|
+
- 02-1568384812.607-92.223.152.178-13014344
|
268
|
+
Content-Security-Policy:
|
269
|
+
- frame-ancestors 'self'
|
270
|
+
X-Broxyid:
|
271
|
+
- 02-1568384812.607-92.223.152.178-13014344
|
272
|
+
Strict-Transport-Security:
|
273
|
+
- max-age=31536000; includeSubDomains
|
274
|
+
body:
|
275
|
+
encoding: ASCII-8BIT
|
276
|
+
string: !binary |-
|
277
|
+
H4sIAC2ne10AA6xYWXOcOBB+z6+YmncMzGHPpDBZZ1N2kto4W7ntl5RAYpANEiuJOfzrt8XNIMbeqp2noftTI7X6+BrvzT5NJlsiJOXscuqeOdMJYSHHlG0up9+/XVur6Rv/lacEYhKFClD+q8nEo9gXF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tK+QJXhYAAA==
|
278
|
+
http_version:
|
279
|
+
recorded_at: Fri, 13 Sep 2019 14:26:53 GMT
|
280
|
+
- request:
|
281
|
+
method: put
|
282
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/r7hyh0sp/submit_for_settlement
|
283
|
+
body:
|
284
|
+
encoding: UTF-8
|
285
|
+
string: |
|
286
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
287
|
+
<transaction>
|
288
|
+
<amount>110.00</amount>
|
289
|
+
</transaction>
|
290
|
+
headers:
|
291
|
+
Accept-Encoding:
|
292
|
+
- gzip
|
293
|
+
Accept:
|
294
|
+
- application/xml
|
295
|
+
User-Agent:
|
296
|
+
- Braintree Ruby Gem 2.98.0
|
297
|
+
X-Apiversion:
|
298
|
+
- '5'
|
299
|
+
Content-Type:
|
300
|
+
- application/xml
|
301
|
+
Authorization:
|
302
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
303
|
+
response:
|
304
|
+
status:
|
305
|
+
code: 200
|
306
|
+
message: OK
|
307
|
+
headers:
|
308
|
+
Date:
|
309
|
+
- Fri, 13 Sep 2019 14:26:59 GMT
|
310
|
+
Content-Type:
|
311
|
+
- application/xml; charset=utf-8
|
312
|
+
Transfer-Encoding:
|
313
|
+
- chunked
|
314
|
+
X-Frame-Options:
|
315
|
+
- SAMEORIGIN
|
316
|
+
X-Xss-Protection:
|
317
|
+
- 1; mode=block
|
318
|
+
X-Content-Type-Options:
|
319
|
+
- nosniff
|
320
|
+
X-Authentication:
|
321
|
+
- basic_auth
|
322
|
+
X-User:
|
323
|
+
- 3v249hqtptsg744y
|
324
|
+
Vary:
|
325
|
+
- Accept-Encoding
|
326
|
+
Content-Encoding:
|
327
|
+
- gzip
|
328
|
+
Etag:
|
329
|
+
- W/"20bfb33b81839f81434e4f0926ea3456"
|
330
|
+
Cache-Control:
|
331
|
+
- max-age=0, private, must-revalidate
|
332
|
+
X-Runtime:
|
333
|
+
- '0.291846'
|
334
|
+
X-Request-Id:
|
335
|
+
- 02-1568384819.110-92.223.152.178-13015486
|
336
|
+
Content-Security-Policy:
|
337
|
+
- frame-ancestors 'self'
|
338
|
+
X-Broxyid:
|
339
|
+
- 02-1568384819.110-92.223.152.178-13015486
|
340
|
+
Strict-Transport-Security:
|
341
|
+
- max-age=31536000; includeSubDomains
|
342
|
+
body:
|
343
|
+
encoding: ASCII-8BIT
|
344
|
+
string: !binary |-
|
345
|
+
H4sIADOne10AA8xYS3PbOAy+91d4fFck+ZHYHUXddDtJ29mmO30nlwwlUhYTiVRJyrHz6xfUWxblZGb3sD5ZwAeIBAHwg7w3uzSZbImQlLPzqXviTCeEhRxTtjmffv92aa2mb/xXnhKISRQqQPmvJhOPYl+cxfvYkZlnw4OWSYVULn2ZBylViuC7iIs7SZRKSEqY8uwKoLFqnxFfooR4dvFXy8JcCHj33qKSW7AE4n//+s6zh2INRinPmfJd1zlxHM+uHrUmJSKMEVMWCkMttGB5UpE04AmswaQtFp8HlkE3YTQ5nyqRk6ldekfgS7wIygUGJPj/si5/ljubX7z907MbTbFtQRBEy0JqokNxPsXwqGhKpv7McdeWA3bzb+7i9ez09dK9hYA0BoV9nuGX26/BvjWowi4Vh/3oh/Jkl7P5fO04zml9tCCOqJDKYiglh/sEZYLGdSFPM8T2Bg1JEU0M8kcSSKpMvrKYM5M8QjuDdJPwACU6zDfzH0/4aq1uf32Mrr99ePr09PD46d3FzLNbjA6F3Y2FF9AkgTJo47K4NwbE/8hj5tkdwUFU/Hcc8rx9fC4wUglCILUwFkRK/+/Pk7d8N3Hn87PJNRcqfiSyqKYeqorpThGG9eGWYtNh8RAlVO3990QwzGHljaQECLLRZX7xl2dXf6vocyjgpCzBmeusVpYzWy49uyuvtwYlIfblbr8zOEw8+QrFT+SER5MLCDANEUS7C+tbamcWSrIYzaALtNCufMxiDhYXJpO5yYTlxXL81cI5sKk1RWZ0kg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xLKiIUlH7xHX88W3MQGKo6pLCraqCOlF14X4cidMDbpQhcfrq3vFGiu/mQC+xqp60Zf3tAxYowk/leeUJxLqPNKUM4KYqt5RUTIGCPQ7+aPVnmkAy3EIsiFLMcNTBRM/PWo2leZD6gzq5hf38cMPhW9EE52etNwSQrzMvTcBukKDNvkMA9DwygCxzKyd73zLNfD8PgYV5IOhO+BVWh7E7ZiAhZlwK7zck7U7Kds1He6UXv2GKjPTztB6dPYLkUdBT3vqyC1z/lqmC8j6pGLh4O3/Prl2WaN0abwJqFjJnCipXLSsGetNHhrVqBi6IIWdARdKgSCF3HjjCytSMDwdWR+bEbpsfqpu8WYvl5kf6r3HX1POGt37i5mp0u33cwBbmwO0TmAjs4hdZb0U7KgxEQe+9o4c7r395h593tJQ4nMaX70c8hRW+Mnl8ZiOBCbP6KMG7RcDr//GAfsOr6Zf8mC2TIK7zEnPzeP4fyiR/l6F6X/6h8AAAD//wMAxieTBIAXAAA=
|
346
|
+
http_version:
|
347
|
+
recorded_at: Fri, 13 Sep 2019 14:26:59 GMT
|
348
|
+
- request:
|
349
|
+
method: get
|
350
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/r7hyh0sp
|
351
|
+
body:
|
352
|
+
encoding: US-ASCII
|
353
|
+
string: ''
|
354
|
+
headers:
|
355
|
+
Accept-Encoding:
|
356
|
+
- gzip
|
357
|
+
Accept:
|
358
|
+
- application/xml
|
359
|
+
User-Agent:
|
360
|
+
- Braintree Ruby Gem 2.98.0
|
361
|
+
X-Apiversion:
|
362
|
+
- '5'
|
363
|
+
Content-Type:
|
364
|
+
- application/xml
|
365
|
+
Authorization:
|
366
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
367
|
+
response:
|
368
|
+
status:
|
369
|
+
code: 200
|
370
|
+
message: OK
|
371
|
+
headers:
|
372
|
+
Date:
|
373
|
+
- Fri, 13 Sep 2019 14:27:00 GMT
|
374
|
+
Content-Type:
|
375
|
+
- application/xml; charset=utf-8
|
376
|
+
Transfer-Encoding:
|
377
|
+
- chunked
|
378
|
+
X-Frame-Options:
|
379
|
+
- SAMEORIGIN
|
380
|
+
X-Xss-Protection:
|
381
|
+
- 1; mode=block
|
382
|
+
X-Content-Type-Options:
|
383
|
+
- nosniff
|
384
|
+
X-Authentication:
|
385
|
+
- basic_auth
|
386
|
+
X-User:
|
387
|
+
- 3v249hqtptsg744y
|
388
|
+
Vary:
|
389
|
+
- Accept-Encoding
|
390
|
+
Content-Encoding:
|
391
|
+
- gzip
|
392
|
+
Etag:
|
393
|
+
- W/"c092faa776b5ae48425f440227455d20"
|
394
|
+
Cache-Control:
|
395
|
+
- max-age=0, private, must-revalidate
|
396
|
+
X-Runtime:
|
397
|
+
- '0.248084'
|
398
|
+
X-Request-Id:
|
399
|
+
- 02-1568384820.323-92.223.152.178-13015786
|
400
|
+
Content-Security-Policy:
|
401
|
+
- frame-ancestors 'self'
|
402
|
+
X-Broxyid:
|
403
|
+
- 02-1568384820.323-92.223.152.178-13015786
|
404
|
+
Strict-Transport-Security:
|
405
|
+
- max-age=31536000; includeSubDomains
|
406
|
+
body:
|
407
|
+
encoding: ASCII-8BIT
|
408
|
+
string: !binary |-
|
409
|
+
H4sIADSne10AA8xYS3PbOAy+91d4fFck+ZHYHUXddDtJ29mmO30nlwwlUhYTiVRJyrHz6xfUWxblZGb3sD5ZwAeIBAHwg7w3uzSZbImQlLPzqXviTCeEhRxTtjmffv92aa2mb/xXnhKISRQqQPmvJhOPYl+cxfvYkZlnw4OWSYVULn2ZBylViuC7iIs7SZRKSEqY8uwKoLFqnxFfooR4dvFXy8JcCHj33qKSW7AE4n//+s6zh2INRinPmfJd1zlxHM+uHrUmJSKMEVMWCkMttGB5UpE04AmswaQtFp8HlkE3YTQ5nyqRk6ldekfgS7wIygUGJPj/si5/ljubX7z907MbTbFtQRBEy0JqokNxPsXwqGhKpv7McdeW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+
method: post
|
5
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/customers
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<customer>
|
11
|
+
<payment-method-nonce>fake-valid-nonce</payment-method-nonce>
|
12
|
+
</customer>
|
13
|
+
headers:
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip
|
16
|
+
Accept:
|
17
|
+
- application/xml
|
18
|
+
User-Agent:
|
19
|
+
- Braintree Ruby Gem 2.98.0
|
20
|
+
X-Apiversion:
|
21
|
+
- '5'
|
22
|
+
Content-Type:
|
23
|
+
- application/xml
|
24
|
+
Authorization:
|
25
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 201
|
29
|
+
message: Created
|
30
|
+
headers:
|
31
|
+
Date:
|
32
|
+
- Fri, 13 Sep 2019 14:27:38 GMT
|
33
|
+
Content-Type:
|
34
|
+
- application/xml; charset=utf-8
|
35
|
+
Transfer-Encoding:
|
36
|
+
- chunked
|
37
|
+
X-Frame-Options:
|
38
|
+
- SAMEORIGIN
|
39
|
+
X-Xss-Protection:
|
40
|
+
- 1; mode=block
|
41
|
+
X-Content-Type-Options:
|
42
|
+
- nosniff
|
43
|
+
X-Authentication:
|
44
|
+
- basic_auth
|
45
|
+
X-User:
|
46
|
+
- 3v249hqtptsg744y
|
47
|
+
Vary:
|
48
|
+
- Accept-Encoding
|
49
|
+
Content-Encoding:
|
50
|
+
- gzip
|
51
|
+
Etag:
|
52
|
+
- W/"e8b417e908ed25a3832f0e430535e83c"
|
53
|
+
Cache-Control:
|
54
|
+
- max-age=0, private, must-revalidate
|
55
|
+
X-Runtime:
|
56
|
+
- '0.431124'
|
57
|
+
X-Request-Id:
|
58
|
+
- 01-1568384857.323-92.223.152.178-12969763
|
59
|
+
Content-Security-Policy:
|
60
|
+
- frame-ancestors 'self'
|
61
|
+
X-Broxyid:
|
62
|
+
- 01-1568384857.323-92.223.152.178-12969763
|
63
|
+
Strict-Transport-Security:
|
64
|
+
- max-age=31536000; includeSubDomains
|
65
|
+
body:
|
66
|
+
encoding: ASCII-8BIT
|
67
|
+
string: !binary |-
|
68
|
+
H4sIAFqne10AA6xWTXOjOBC951e4uBMMtscmhUlt1W5SNYfsYZPsJpcpgRpQLCRWEo6dXz8S5ssfeJzK3NyvX0tN63W3g9tNTkdrEJJwtrTc67E1AhZzTFi6tJ4e7+yFdRteBXEpFc9BhFejUUBw+M31/PFkupgGjrYMqJ1xhpiytT0XOPW9t3mUz5PVLJsETt9r2AkRUtkM5TBihC4tJUqwnMpF0ZAn5nmB2PYIhxwReoQWGWfHZyRoc4S9QySJOnGfAKQA20iN1LaApYW1qUgOVuiNXd8e+7Y7eXSnN978ZjJ/DZwuoIovC/y5+C5gd39VdDshQLHcpZRSHiFqqvgyef7A9756/e978vD21/bvxz8+Hv5Mx4HTceqPwETZMRJY1mkgIdDWMt59/w7RWEQo1QKwEcYCpGzw3dMz1rx5jTXasPd10Yc78vDD14TB529uOy2C2iuVAFBN4gMk2Chg2NT5LI3yGFGihq4SkOqeGXAWXCr9BrqRIPSn7ngeOH2o/zklU2JbwTaiRYa8wQ8/ZE4uYbJSvwGJf0E9V/CvdUF9yhd7oTrDGdCl1isLp2PXWywMh7W4EbVtrgufiUQ6s9buMzJOsZbpUAmM4sz4IoiGT2zF+LtugB7W0Xal5IlNpCwRi6HPP3a2gV8v8Cd6sKMafSst4fDpnx6zRRs+hoio7kt2ZudMUEmbxCPOKSBmhaaChlo5O3Ip9OvYunFKaj6gd+ihpwmBTUFElY+dc6ay0PUC5wg8wd4CErp83niPXqF7bMCHuSeISqijepl0UzW+v5tF/z6X+N6l+D5bv975by+uL17fvucvE34wgKvgDBBVmRZbTxI9rKGRHKVgl4KGmVKFvHEcJCUoeR0JRJgZbamuzjvaXmv9OQXa5sDUjxxUxvEPylPurLXOrwuW3gJbE8GZISwlYjjiGz222/PbG7UYTUdFiK261PbQhloN5mnoLhZu4NRG49OpCE57/dEALUFAgXRBHnR5mt+dj+Myrv4adPEd1tBkGclYkMI85P4m61pV8RWwcJV4SfwRODur8ZWM/F9W8zCqGkJXhujVKkKUzGbzqZ/M/MRN8GSBv8VJ7Gogmc4WUaIFNxjanv0bptsaWM5tiVcDgmz9vQih09i168mKVKOiv933gGp+BvUshZN/Dg4H7dH6/8zgOb/6zy/+c2v/gqV/0co/u/DPrPsLl/2lq/7SRX/xmv/lkv8tG+jLLRA4PbW1Bmizk1N49RMAAP//AwBDGwx/sQwAAA==
|
69
|
+
http_version:
|
70
|
+
recorded_at: Fri, 13 Sep 2019 14:27:38 GMT
|
71
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/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.98.0
|
20
|
+
X-Apiversion:
|
21
|
+
- '5'
|
22
|
+
Content-Type:
|
23
|
+
- application/xml
|
24
|
+
Authorization:
|
25
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 201
|
29
|
+
message: Created
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- nginx
|
33
|
+
Date:
|
34
|
+
- Fri, 13 Sep 2019 14:27:15 GMT
|
35
|
+
Content-Type:
|
36
|
+
- application/xml; charset=utf-8
|
37
|
+
Transfer-Encoding:
|
38
|
+
- chunked
|
39
|
+
X-Authentication:
|
40
|
+
- server_to_server
|
41
|
+
Braintree-Service-Origin:
|
42
|
+
- clientauth
|
43
|
+
Vary:
|
44
|
+
- Accept-Encoding
|
45
|
+
Content-Encoding:
|
46
|
+
- gzip
|
47
|
+
Etag:
|
48
|
+
- W/"b13b8d459a392fd7cf8fb5e5ce004e6f"
|
49
|
+
Cache-Control:
|
50
|
+
- max-age=0, private, must-revalidate
|
51
|
+
X-Request-Id:
|
52
|
+
- 865a84cf-849f-4131-a223-b0ea218dc873
|
53
|
+
X-Runtime:
|
54
|
+
- '0.089979'
|
55
|
+
Strict-Transport-Security:
|
56
|
+
- max-age=31536000; includeSubDomains
|
57
|
+
body:
|
58
|
+
encoding: ASCII-8BIT
|
59
|
+
string: !binary |-
|
60
|
+
H4sIAEOne10AA3xW25KbOBB9z1ek8r67XMzUuCrJVjzDxYqRYxkkoTeQSMBImIyv8PXb4ElNpnZ2H1zlQq3uo+5zjvTx76vR78/l06Het58+2H9aH96Xrdyruv3x6UOaBH/cf/j787uPUtdle/zjuG/K9vO79+8/nnN9Kj+XPXIER0PO5qflbt+vHlClONkXLupKE1jjd2L0STi0lxHqinZTr2uky3R/EbRa5Om82zZHFtOgS3z8NQ9RlDn6W552IeUdilOv23KMCk4urMEIN/rnlitMQ+UmDUFxY6eMk13cCJs16qsy9HG7a06C669FSJcbBrma9JqYro19745wjUtNhy2zL3EYJNtEoNxUe2Y6HFveXZLgmFqplVCFle9FidHrzfDFSlIS5taVp1CbhGSfsA6VWvPUXL9tLA35vHVMdXfLRzzAssOpfSwGLIrky8CMPcQs8BOm443VXbIB49vZUcMCdBYUI2npY8yuuyL1zoxKO/b1T/moUNEsr4zZMxk01zVf5Burcbasa0raRdlAccHuB8asS2x3Rzk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Y26WpLBUthhEr+IfOnONZcZg99Bp+h5d9BDRId8r/rb7x7CK8jDkPRTh3tyN2yAnassUWfIR5Ts7RGXg7amVdWB7oQAHnDrBXAN+wflPfZm6EuXaFSadewTrsI1r4tpaTR3jWctcZ8IphrPO7DjaveQBcBZ7wXx6xGSauGA144Z63gnbcM9WNcAB6qeEebiC3JVs6YnvxAj/YwRwAC0Hi5kGv+Qcch1wn4ACSzvyxcIge50kp9m/e9oL9hm35tnYgF7wLoBf3I/6zMNmkZRkBhyhoYjvpYVBhYKnRI+GMhYOfnu+TEV9fpvgsJo9FNJ04g23ZQp8N9jbOvLnphyZk8uPfcZFxTh3cSVrW4xxe1n73HeiXVmP/XnEtPUkX9jOYd7Q55YAfcA+KLy7wvoJekTX4owv/n4DHdwzeYqDpasRdsADOM95fQS8mTKBxPnn7qPtd4QrAg9R3bn36+NftLffu41+vX3n/AAAA//8DAFkKZDAcCgAA
|
61
|
+
http_version:
|
62
|
+
recorded_at: Fri, 13 Sep 2019 14:27:15 GMT
|
63
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/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.98.0
|
20
|
+
X-Apiversion:
|
21
|
+
- '5'
|
22
|
+
Content-Type:
|
23
|
+
- application/xml
|
24
|
+
Authorization:
|
25
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 201
|
29
|
+
message: Created
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- nginx
|
33
|
+
Date:
|
34
|
+
- Fri, 13 Sep 2019 14:27:14 GMT
|
35
|
+
Content-Type:
|
36
|
+
- application/xml; charset=utf-8
|
37
|
+
Transfer-Encoding:
|
38
|
+
- chunked
|
39
|
+
X-Authentication:
|
40
|
+
- server_to_server
|
41
|
+
Braintree-Service-Origin:
|
42
|
+
- clientauth
|
43
|
+
Vary:
|
44
|
+
- Accept-Encoding
|
45
|
+
Content-Encoding:
|
46
|
+
- gzip
|
47
|
+
Etag:
|
48
|
+
- W/"9594a9129759a812d3dddac3f8ab3b85"
|
49
|
+
Cache-Control:
|
50
|
+
- max-age=0, private, must-revalidate
|
51
|
+
X-Request-Id:
|
52
|
+
- 7f8e13cb-6cad-478b-a05e-af21202650d4
|
53
|
+
X-Runtime:
|
54
|
+
- '0.065468'
|
55
|
+
Strict-Transport-Security:
|
56
|
+
- max-age=31536000; includeSubDomains
|
57
|
+
body:
|
58
|
+
encoding: ASCII-8BIT
|
59
|
+
string: !binary |-
|
60
|
+
H4sIAEKne10AA3xWXXOjuBJ9n18xNe97l4+QiqsyszVODDYxciyDJPSGJHbASJiJMTb8+tvgTGVSm90HV7mQ1H26+5wj3f91Mfpzl78cy0P99Yv9P+vL57yWB1XWP75+SWL/j7svf337dC91mdftH+2hyutvnz5/vu8yfcq/5X3ocBYOGZ2dVvtDv34IC8XwQbhhkxvfGr9jo0/cIb1cho2ot+WmDHWeHM6cFPMsmTW7qqUR8Zt4gZ6yIFymjn7OkiYgrAmjxGt2DIWC4TOtUIgq/XPHFCKBcuMKh1FlJ5ThfVRxm1bqSRnyuNtXJ870kwjIakshVpVcYtPU0cK7xUyjXPvDjtrnKPDjXczDzFwaqnGV+c0CCo5IcDnGWoVq4S2JaTdZ/N2mBKO8urCEqWdiVQN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