solidus_braintree 1.2.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 +47 -0
- data/.gem_release.yml +5 -0
- data/.github/stale.yml +1 -0
- data/.github_changelog_generator +2 -0
- data/.gitignore +20 -10
- data/.rspec +1 -1
- data/.rubocop.yml +79 -0
- data/CHANGELOG.md +178 -18
- data/Gemfile +35 -17
- data/LICENSE +26 -0
- data/README.md +389 -24
- 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 +3 -0
- 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 +281 -228
- data/.travis.yml +0 -41
- data/LICENSE.txt +0 -21
- data/app/controllers/spree/api/braintree_client_token_controller.rb +0 -13
- 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/credit_card_decorator.rb +0 -3
- data/app/models/payment_decorator.rb +0 -2
- data/app/models/permitted_attributes_decorator.rb +0 -1
- 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 -1
- 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,140 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<transaction>
|
11
|
+
<amount type="integer">40</amount>
|
12
|
+
<payment-method-nonce>fake-valid-nonce</payment-method-nonce>
|
13
|
+
<options>
|
14
|
+
<submit-for-settlement type="boolean">true</submit-for-settlement>
|
15
|
+
</options>
|
16
|
+
<type>sale</type>
|
17
|
+
</transaction>
|
18
|
+
headers:
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip
|
21
|
+
Accept:
|
22
|
+
- application/xml
|
23
|
+
User-Agent:
|
24
|
+
- Braintree Ruby Gem 2.98.0
|
25
|
+
X-Apiversion:
|
26
|
+
- '5'
|
27
|
+
Content-Type:
|
28
|
+
- application/xml
|
29
|
+
Authorization:
|
30
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
31
|
+
response:
|
32
|
+
status:
|
33
|
+
code: 201
|
34
|
+
message: Created
|
35
|
+
headers:
|
36
|
+
Date:
|
37
|
+
- Fri, 13 Sep 2019 14:27:30 GMT
|
38
|
+
Content-Type:
|
39
|
+
- application/xml; charset=utf-8
|
40
|
+
Transfer-Encoding:
|
41
|
+
- chunked
|
42
|
+
X-Frame-Options:
|
43
|
+
- SAMEORIGIN
|
44
|
+
X-Xss-Protection:
|
45
|
+
- 1; mode=block
|
46
|
+
X-Content-Type-Options:
|
47
|
+
- nosniff
|
48
|
+
X-Authentication:
|
49
|
+
- basic_auth
|
50
|
+
X-User:
|
51
|
+
- 3v249hqtptsg744y
|
52
|
+
Vary:
|
53
|
+
- Accept-Encoding
|
54
|
+
Content-Encoding:
|
55
|
+
- gzip
|
56
|
+
Etag:
|
57
|
+
- W/"55837a4ca9eedd573fb5339a11a6cf5d"
|
58
|
+
Cache-Control:
|
59
|
+
- max-age=0, private, must-revalidate
|
60
|
+
X-Runtime:
|
61
|
+
- '0.405397'
|
62
|
+
X-Request-Id:
|
63
|
+
- 01-1568384849.487-92.223.152.178-12968285
|
64
|
+
Content-Security-Policy:
|
65
|
+
- frame-ancestors 'self'
|
66
|
+
X-Broxyid:
|
67
|
+
- 01-1568384849.487-92.223.152.178-12968285
|
68
|
+
Strict-Transport-Security:
|
69
|
+
- max-age=31536000; includeSubDomains
|
70
|
+
body:
|
71
|
+
encoding: ASCII-8BIT
|
72
|
+
string: !binary |-
|
73
|
+
H4sIAFKne10AA+RYS4/bNhC+768wfOdKsjfdB7RKCwTpA+gCbTZBmsuCksYWY4lUScpr99d3KOppUd7toUWA3mzOx+FwOI9vFL49FPliD1Ixwe+XwaW/XABPRMr49n758fE9uVm+jS5CLSlXNNGIii4Wi5Cl0W63A/3mu3Xo4R+zpjTVlYpUFRdMa0ifNkI+KdA6hwK4Dr0GYLD6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A2FzEmnbNNtpzbhKZDXHH2ZwVNJqIGfDuGtXySlCbFgReCqHQ3k3qdvKGY49RrBh6SMYxUeRxRiK791ghARc2bmnxFqo6Conwlfe/wnYZmkOoZynC2sj6aGY+shxTS5C4Zvm+nI5MOOCyodjIwpg6IjxJY6iCiJUOTpuv2wt70xv+yE14zbn5bLulWmsCxfSSnbm5ZxSqRrJzlngN5V/drYk1K5DoiJUjviPGus0OMkGiW1E4smnxyjmmmBPumgzinTNUJ6pSB1SLa4j9Tw+dGP6y6U9vGSpGUmk8GeK+ZrO7ktp/iHM9hqhXffG8IwAZgrnWbY8Uzsa85kaIb4koqOxekoHH6VW1dH4ncbzMYKtzHjzGTrySvhMPBOAD7mXSbYQYsjFSkwi6FVZI4ZgZ8kZm7m5uXlYZz85blBzT9igTA7Hdhm6ZNGEcaXNmBzhAVW6GfTIUOvTnQmEgOnDLmm0MuOQt6WVfNPl/S1VFUDvpZyN3JKZ8/h55b4txTa1NYK3N8UStcdDTXCB3aOgt0hgWQYDEwWQLovI1wDrOKbCROSWcGvW7mncuftlDMyVsjx+N35JsO4d8G6+Bqdb32+8uc4OYGBhMD9OzA0EbJOCRr9grq3He3lT/sWXPbhx82OqLjDvOz3y3O7nV+G5mlVXNfO+Y3dJIo/emXLOYP2R/r38t49WZDV1p++fxb8PAVB84edjHqkdHF3wAAAP//AwCSnbPMexYAAA==
|
74
|
+
http_version:
|
75
|
+
recorded_at: Fri, 13 Sep 2019 14:27:30 GMT
|
76
|
+
- request:
|
77
|
+
method: put
|
78
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/kkket563/settle
|
79
|
+
body:
|
80
|
+
encoding: UTF-8
|
81
|
+
string: ''
|
82
|
+
headers:
|
83
|
+
Accept-Encoding:
|
84
|
+
- gzip
|
85
|
+
Accept:
|
86
|
+
- application/xml
|
87
|
+
User-Agent:
|
88
|
+
- Braintree Ruby Gem 2.98.0
|
89
|
+
X-Apiversion:
|
90
|
+
- '5'
|
91
|
+
Content-Type:
|
92
|
+
- application/xml
|
93
|
+
Authorization:
|
94
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
95
|
+
response:
|
96
|
+
status:
|
97
|
+
code: 200
|
98
|
+
message: OK
|
99
|
+
headers:
|
100
|
+
Date:
|
101
|
+
- Fri, 13 Sep 2019 14:27:32 GMT
|
102
|
+
Content-Type:
|
103
|
+
- application/xml; charset=utf-8
|
104
|
+
Transfer-Encoding:
|
105
|
+
- chunked
|
106
|
+
X-Frame-Options:
|
107
|
+
- SAMEORIGIN
|
108
|
+
X-Xss-Protection:
|
109
|
+
- 1; mode=block
|
110
|
+
X-Content-Type-Options:
|
111
|
+
- nosniff
|
112
|
+
X-Authentication:
|
113
|
+
- basic_auth
|
114
|
+
X-User:
|
115
|
+
- 3v249hqtptsg744y
|
116
|
+
Vary:
|
117
|
+
- Accept-Encoding
|
118
|
+
Content-Encoding:
|
119
|
+
- gzip
|
120
|
+
Etag:
|
121
|
+
- W/"6be7b4df5675b6e4e620434661e759e6"
|
122
|
+
Cache-Control:
|
123
|
+
- max-age=0, private, must-revalidate
|
124
|
+
X-Runtime:
|
125
|
+
- '0.839189'
|
126
|
+
X-Request-Id:
|
127
|
+
- 01-1568384850.887-92.223.152.178-12968568
|
128
|
+
Content-Security-Policy:
|
129
|
+
- frame-ancestors 'self'
|
130
|
+
X-Broxyid:
|
131
|
+
- 01-1568384850.887-92.223.152.178-12968568
|
132
|
+
Strict-Transport-Security:
|
133
|
+
- max-age=31536000; includeSubDomains
|
134
|
+
body:
|
135
|
+
encoding: ASCII-8BIT
|
136
|
+
string: !binary |-
|
137
|
+
H4sIAFSne10AA+RY3W/bNhB/z19h+J2RZKdrUijqBhTdB7ACXZsi64tBSWeLsUSqJOXY++t3FPUZUU72sGHY3mzej8fj8T5+p/DtscgXB5CKCX67DC795QJ4IlLGd7fLu8/vyfXybXQRakm5o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I/bQwVpjLz1JkQ8Q7ULjPqUqLIXYvvi+x4xWx6VVbImRUp7A8NSpsHWXSKuk5ue9Bf2aBe1yEWPSOdtky8xNaDrEFWffKmgyETXg2zGs5ZOkNCkOvBBEpfuZ1OvkDREdp14zBZGMYaTK04hodO23RgAqat7U5CsSehQU5QuHhA7faWjGrZ7HDCcw66OZIcp6SCGZ7pLh+5bFmHTAkUK184MxdUCPlMBSBxEtGZo0XbcX9qY3/pudgPNdwTSmwGYr5KanX/9tlwRnXTIdy5/3gMP+v3KpbqXJBtscc+qm1VWsEsnKWdo9kHfNrJ4pSIkETqQEOSsx/nG2vRESzZLaiUWTn5xjGAJBMuCYGVKm6qrjlIHVItqONtOY5qZebCVT28ZKkWmbryV4r5lS1cktScgo5zDVioF8MKxmCzDHR8yx4pHY15xI0Q1xJZUdcFLQOPirtlmNRO63GUxH7uPHmMkHohfC4WgcgE1aus0wsyVGKvJ7l8IqSRyDEL7IzN3NzctKw7lR05Iemj4gqzH7XdiGiRDGkdtXdpY17Mu2nY1pO6E3Bxqz44FTxiR6SJBnQc/rqin1c7o63s1BPwq5f3LK/X3ouSXOPbU2hdUuxxe1wkXH3Y3Qoa2zQGdY1QkWA5MlgM7bimlu4AyoyFbi6Hdmeu0G+bn8aQvFnLw1cvzlIfJNjfdvgnVwtXq99vvLPMHNTUEmBujZKaiNknFI1pQc1LlPjit/2Ijntg+/6XTszR3mZz/ZnN3r/Cw0yxXnPvTMb+gkUfrTL1nMP2S/r38r49WrLV1p+fX+Y/DhAafoHnYx6pHRxZ8AAAD//wMANnUHRmUXAAA=
|
138
|
+
http_version:
|
139
|
+
recorded_at: Fri, 13 Sep 2019 14:27:32 GMT
|
140
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,137 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<transaction>
|
11
|
+
<amount type="integer">40</amount>
|
12
|
+
<payment-method-nonce>fake-valid-nonce</payment-method-nonce>
|
13
|
+
<type>sale</type>
|
14
|
+
</transaction>
|
15
|
+
headers:
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip
|
18
|
+
Accept:
|
19
|
+
- application/xml
|
20
|
+
User-Agent:
|
21
|
+
- Braintree Ruby Gem 2.98.0
|
22
|
+
X-Apiversion:
|
23
|
+
- '5'
|
24
|
+
Content-Type:
|
25
|
+
- application/xml
|
26
|
+
Authorization:
|
27
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
28
|
+
response:
|
29
|
+
status:
|
30
|
+
code: 201
|
31
|
+
message: Created
|
32
|
+
headers:
|
33
|
+
Date:
|
34
|
+
- Fri, 13 Sep 2019 14:27:35 GMT
|
35
|
+
Content-Type:
|
36
|
+
- application/xml; charset=utf-8
|
37
|
+
Transfer-Encoding:
|
38
|
+
- chunked
|
39
|
+
X-Frame-Options:
|
40
|
+
- SAMEORIGIN
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
X-Authentication:
|
46
|
+
- basic_auth
|
47
|
+
X-User:
|
48
|
+
- 3v249hqtptsg744y
|
49
|
+
Vary:
|
50
|
+
- Accept-Encoding
|
51
|
+
Content-Encoding:
|
52
|
+
- gzip
|
53
|
+
Etag:
|
54
|
+
- W/"f09ed2bcb5f927430d556ec2c442012d"
|
55
|
+
Cache-Control:
|
56
|
+
- max-age=0, private, must-revalidate
|
57
|
+
X-Runtime:
|
58
|
+
- '0.402901'
|
59
|
+
X-Request-Id:
|
60
|
+
- 02-1568384854.660-92.223.152.178-13022247
|
61
|
+
Content-Security-Policy:
|
62
|
+
- frame-ancestors 'self'
|
63
|
+
X-Broxyid:
|
64
|
+
- 02-1568384854.660-92.223.152.178-13022247
|
65
|
+
Strict-Transport-Security:
|
66
|
+
- max-age=31536000; includeSubDomains
|
67
|
+
body:
|
68
|
+
encoding: ASCII-8BIT
|
69
|
+
string: !binary |-
|
70
|
+
H4sIAFene10AA+RY32/bNhB+z19h+J2RbKdIUijqCgzDVqDFsLZD15eCEs8WG4rUSMqx99fvKEqyZFFO9jIM2Jt19/FIHu/Hd07eHEqx2IM2XMmH5eo6Xi5A5opxuXtYfv70E7lbvkmvEqupNDS3iEqvFouEs3Rn7W3ByjiJ8MPJjKW2NimtbaE0/wtYErUip7XHClJDBSRR89PJ8lpr3O1IuFEEN4X088cfk2gqdmBaqlra9Ca+jnHP9sspStB5QaUlNM+dkOB5jIUyU8ImUUjbnLbOSEC3kFw8LK2uYRl56xRt6RdBlWaIDChyDdQCI9Qu3N0flgw/LS9hma7j1T2J78lq82l183p9+3rz6it6oF/QrK8r9s/Wnxa0fjZW4Q3cR/N45ydE4ZZrY4mkJQSUgs7rclVWVB4DGigpFwH5E2SG25CtqlAyJN/Sw8Sp0fBWScaFwJj9l29orAbAmGBMgzEhFxwsSOZeYhYiVE4FtyHzGnaYcCE/Kcws4XPj/mYV3ybRUNQdG+NUH+dv5dVuBaGiKuj6RajNcyhZ46PwfPpggzfCq21ryULJ0mtMG+xUa3ocKdGfg4IUMlJRbTm6w4C1AkrAhB2vCBk/Va7nzA/MZtTmRRBT8Kr6X4bkhQD5z8Ti8HXa+ki2HAQzbSzsDQGtlSboo0pJA8GrNbjB1cfo9D02qouAzsT41c5Av3grFzHNNfb76f5ToYPusD080SNqvoOPcuw4ZvqwSaVVjruhH7rsoA28sXTz7tf3a2zYF0FjK+OjrGLXy+e0MystRnD6tkLN3nGMOUTjWsa4Owk6fwqb3HWveO4eaIsPjyswdjLQU4/UjgngLr7dz6AsPRDPUYIqOEBZdd08U0oAlct0S4Vx/KgHdOwBb0Fy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UAAA==
|
71
|
+
http_version:
|
72
|
+
recorded_at: Fri, 13 Sep 2019 14:27:35 GMT
|
73
|
+
- request:
|
74
|
+
method: put
|
75
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/gtt7hdm0/void
|
76
|
+
body:
|
77
|
+
encoding: UTF-8
|
78
|
+
string: ''
|
79
|
+
headers:
|
80
|
+
Accept-Encoding:
|
81
|
+
- gzip
|
82
|
+
Accept:
|
83
|
+
- application/xml
|
84
|
+
User-Agent:
|
85
|
+
- Braintree Ruby Gem 2.98.0
|
86
|
+
X-Apiversion:
|
87
|
+
- '5'
|
88
|
+
Content-Type:
|
89
|
+
- application/xml
|
90
|
+
Authorization:
|
91
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
92
|
+
response:
|
93
|
+
status:
|
94
|
+
code: 200
|
95
|
+
message: OK
|
96
|
+
headers:
|
97
|
+
Date:
|
98
|
+
- Fri, 13 Sep 2019 14:27:36 GMT
|
99
|
+
Content-Type:
|
100
|
+
- application/xml; charset=utf-8
|
101
|
+
Transfer-Encoding:
|
102
|
+
- chunked
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Xss-Protection:
|
106
|
+
- 1; mode=block
|
107
|
+
X-Content-Type-Options:
|
108
|
+
- nosniff
|
109
|
+
X-Authentication:
|
110
|
+
- basic_auth
|
111
|
+
X-User:
|
112
|
+
- 3v249hqtptsg744y
|
113
|
+
Vary:
|
114
|
+
- Accept-Encoding
|
115
|
+
Content-Encoding:
|
116
|
+
- gzip
|
117
|
+
Etag:
|
118
|
+
- W/"07af645a7680e62054eb52a5c668f69d"
|
119
|
+
Cache-Control:
|
120
|
+
- max-age=0, private, must-revalidate
|
121
|
+
X-Runtime:
|
122
|
+
- '0.303758'
|
123
|
+
X-Request-Id:
|
124
|
+
- 02-1568384855.897-92.223.152.178-13022485
|
125
|
+
Content-Security-Policy:
|
126
|
+
- frame-ancestors 'self'
|
127
|
+
X-Broxyid:
|
128
|
+
- 02-1568384855.897-92.223.152.178-13022485
|
129
|
+
Strict-Transport-Security:
|
130
|
+
- max-age=31536000; includeSubDomains
|
131
|
+
body:
|
132
|
+
encoding: ASCII-8BIT
|
133
|
+
string: !binary |-
|
134
|
+
H4sIAFine10AA+RYW2/bNhR+z68w/M5IttMmKRR1BYZhK9Bi6GXo+lJQ4rHFhiI1knLs/fodipIsRZQTYMBQYG8Wz8dD8ly/4+T1oRSLPWjDlbxbri7j5QJkrhiXu7vl50+/kJvl6/QisZpKQ3OLqPRisUg4S3fWXhesjJMIP9yasdTWJt0rzoAlUfvpJPZYQWqogCRqfrq1vNYaTzoSbhTBAyH9/PHnJJouOzAtVS1tehVfxnhe++UEJei8oNISmudukeBdjIUyU8ImUUja3LTOSEC2kFzcLa2uYRl57RR16WdBlWaIDAhyDdQCI9Qu3Nvvlgw/LS9hma7j1S2Jb8lq82l19Wp9/Wrz4itaoN/Q7K8r9vz9L3H/aUNrZ2MVvsB9NI57fENc3HJtLJG0hIBQ0HlZrsqKymNAAiXlIrD+AJnhNqSrKpQMrW/pYWLUaPiqJONCYLz+xy80VgNgTDCmwZiQCQ4WJHOemIUIlVPBbUi9hh0mW8hOCjNL+Ny4vVrF10k0XOqujXGqj/Ov8mK3g1BRFXT9LNTmKZSs0Sk8nzps4CN82raWLJQsvcS0wU61pseREO05KEYhJRXVlqM5DFgroARM2PGOkHJa20Jp/vfT6gdqM2rzIogpeFX9L0PyTID8MLE49E5bH8mWg2CmjYW9IaC10gRtVClpIPi0Bjd4+hidvsNGdRbQqRh77RHoN6/lLKZ5xn4/PX+66KA7bA8P9IiS7+CjHDuOmTo2qbTK8TS0Q5cdtIE3mq7e/v5ujQ37LGisZXyVVex6+Zx0ZqfFCE7fVCjZO44xh2hMyxh3N0HjT2GTtyJryZ2Dtuh43IGxk4GeWqR2TABP8e1+BmXpgXiOEhTBAc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6x/br5EL9fF/fZpzdJdIJdjHpkevEPAAAA//8DAK2N8B9XFgAA
|
135
|
+
http_version:
|
136
|
+
recorded_at: Fri, 13 Sep 2019 14:27:36 GMT
|
137
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,295 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/vn32pmzn67tzbcd9/customers
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
10
|
+
<customer>
|
11
|
+
</customer>
|
12
|
+
headers:
|
13
|
+
Accept-Encoding:
|
14
|
+
- gzip
|
15
|
+
Accept:
|
16
|
+
- application/xml
|
17
|
+
User-Agent:
|
18
|
+
- Braintree Ruby Gem 3.4.0
|
19
|
+
X-Apiversion:
|
20
|
+
- '6'
|
21
|
+
Content-Type:
|
22
|
+
- application/xml
|
23
|
+
Authorization:
|
24
|
+
- Basic cTM3ZnF0eXc0cDJzN2Zidzo2M2RhYmNjOWFmMTcyNDhlZjQyMTdjZmRlYWEwM2UwMQ==
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 201
|
28
|
+
message: ''
|
29
|
+
headers:
|
30
|
+
Date:
|
31
|
+
- Fri, 10 Dec 2021 09:55:18 GMT
|
32
|
+
Content-Type:
|
33
|
+
- application/xml; charset=utf-8
|
34
|
+
X-Frame-Options:
|
35
|
+
- SAMEORIGIN
|
36
|
+
X-Xss-Protection:
|
37
|
+
- 1; mode=block
|
38
|
+
X-Content-Type-Options:
|
39
|
+
- nosniff
|
40
|
+
X-Download-Options:
|
41
|
+
- noopen
|
42
|
+
X-Permitted-Cross-Domain-Policies:
|
43
|
+
- none
|
44
|
+
Referrer-Policy:
|
45
|
+
- strict-origin-when-cross-origin
|
46
|
+
X-Authentication:
|
47
|
+
- basic_auth
|
48
|
+
X-User:
|
49
|
+
- mp9fm99xgbv5d7nc
|
50
|
+
Vary:
|
51
|
+
- Accept-Encoding, Origin
|
52
|
+
Content-Encoding:
|
53
|
+
- gzip
|
54
|
+
Etag:
|
55
|
+
- W/"d67d6becf5f71dba659b5ab86c245b1b"
|
56
|
+
Cache-Control:
|
57
|
+
- max-age=0, private, must-revalidate
|
58
|
+
X-Runtime:
|
59
|
+
- '0.150123'
|
60
|
+
X-Request-Id:
|
61
|
+
- 02e94062-8a37-4c0e-94a8-af5719545970
|
62
|
+
Content-Security-Policy:
|
63
|
+
- frame-ancestors 'self'
|
64
|
+
X-Broxyid:
|
65
|
+
- 02e94062-8a37-4c0e-94a8-af5719545970
|
66
|
+
Strict-Transport-Security:
|
67
|
+
- max-age=31536000; includeSubDomains
|
68
|
+
Paypal-Debug-Id:
|
69
|
+
- d43720276ae64
|
70
|
+
Transfer-Encoding:
|
71
|
+
- chunked
|
72
|
+
body:
|
73
|
+
encoding: ASCII-8BIT
|
74
|
+
string: !binary |-
|
75
|
+
H4sIAAYks2EAA5RRy07DMBC89ysi301ehDaVk95AQgqngqC3rb1pDbYT2U5p8/WkD1GkwIHjzOzs7uyyxV6rYIfWycYUJL6JSICGN0KaTUGel/d0RhblhPHO+UajLSdBwKQoszRL8tt0OmXhgI7kIPItGE8HvDNp0ure3E19v+YiZ+FP9VhdS+s8NaAxMFIVxNsOSXiSFPyl8Ea3YA4jHjVINWLbbWPGPWrYj7hPXDvpf5lnETwKCj7whxYLIgbopUZSJlES0zihcbSM8nmWzePZioVXw8nfteJ//qvhPP90dFpLVMKdV9qoZg3qeMW39KUXD7lfvT7WT8sqrt4/oqrnKQuvNZcQQnrKwQp3WQOshcMlIwhh0TkcaUOa759/AQAA//8DAPz7l2QmAgAA
|
76
|
+
recorded_at: Fri, 10 Dec 2021 09:55:18 GMT
|
77
|
+
- request:
|
78
|
+
method: post
|
79
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/vn32pmzn67tzbcd9/payment_methods
|
80
|
+
body:
|
81
|
+
encoding: UTF-8
|
82
|
+
string: |
|
83
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
84
|
+
<payment-method>
|
85
|
+
<payment-method-nonce>fake-valid-country-of-issuance-usa-nonce</payment-method-nonce>
|
86
|
+
<customer-id>535294377</customer-id>
|
87
|
+
</payment-method>
|
88
|
+
headers:
|
89
|
+
Accept-Encoding:
|
90
|
+
- gzip
|
91
|
+
Accept:
|
92
|
+
- application/xml
|
93
|
+
User-Agent:
|
94
|
+
- Braintree Ruby Gem 3.4.0
|
95
|
+
X-Apiversion:
|
96
|
+
- '6'
|
97
|
+
Content-Type:
|
98
|
+
- application/xml
|
99
|
+
Authorization:
|
100
|
+
- Basic cTM3ZnF0eXc0cDJzN2Zidzo2M2RhYmNjOWFmMTcyNDhlZjQyMTdjZmRlYWEwM2UwMQ==
|
101
|
+
response:
|
102
|
+
status:
|
103
|
+
code: 201
|
104
|
+
message: ''
|
105
|
+
headers:
|
106
|
+
Date:
|
107
|
+
- Fri, 10 Dec 2021 09:55:18 GMT
|
108
|
+
Content-Type:
|
109
|
+
- application/xml; charset=utf-8
|
110
|
+
X-Frame-Options:
|
111
|
+
- SAMEORIGIN
|
112
|
+
X-Xss-Protection:
|
113
|
+
- 1; mode=block
|
114
|
+
X-Content-Type-Options:
|
115
|
+
- nosniff
|
116
|
+
X-Download-Options:
|
117
|
+
- noopen
|
118
|
+
X-Permitted-Cross-Domain-Policies:
|
119
|
+
- none
|
120
|
+
Referrer-Policy:
|
121
|
+
- strict-origin-when-cross-origin
|
122
|
+
X-Authentication:
|
123
|
+
- basic_auth
|
124
|
+
X-User:
|
125
|
+
- mp9fm99xgbv5d7nc
|
126
|
+
Vary:
|
127
|
+
- Accept-Encoding, Origin
|
128
|
+
Content-Encoding:
|
129
|
+
- gzip
|
130
|
+
Etag:
|
131
|
+
- W/"1ad6e9a0fcfe412dc3c07ba29dd2b797"
|
132
|
+
Cache-Control:
|
133
|
+
- max-age=0, private, must-revalidate
|
134
|
+
X-Runtime:
|
135
|
+
- '0.280990'
|
136
|
+
X-Request-Id:
|
137
|
+
- 5338b7d7-1814-4d10-b6da-3a9e37ab49ff
|
138
|
+
Content-Security-Policy:
|
139
|
+
- frame-ancestors 'self'
|
140
|
+
X-Broxyid:
|
141
|
+
- 5338b7d7-1814-4d10-b6da-3a9e37ab49ff
|
142
|
+
Strict-Transport-Security:
|
143
|
+
- max-age=31536000; includeSubDomains
|
144
|
+
Paypal-Debug-Id:
|
145
|
+
- 0e25af7389b04
|
146
|
+
Transfer-Encoding:
|
147
|
+
- chunked
|
148
|
+
body:
|
149
|
+
encoding: ASCII-8BIT
|
150
|
+
string: !binary |-
|
151
|
+
H4sIAAYks2EAA6xVTXPiOBC98yso3xV/ACGkwKm9hKqtSi6bZCa5pGSpwQqy5JVkEvLrt2UMNhkzu1OzN+v165b66bU8v/ko5HALxgqtFkF8EQVDUExzodaL4PHhllwFN+lgzgxw4QijhqeD4XCeCSmRQijnBqz1GKKCp07NQ8GbNaus0wUYgshkNElm49F0Og+78J64EsY6omgBQyXkInCmgiBsgpKejzFdlFTteiLWGQB3OGAPAT4cKA78JxSpGZXC9ZU3sEbFegKlto5KghJCOhvHEfbbhQ7HrpQzuxoiVJY5TXqb+8oa/RtLVairYD+hnRGyzLWq0zMwfdkGqPNauaHblbAIOC6dKCBIkyiJSZyQOHqIZteTyXV89YJ3fExoKlQl/7UKbULtuLDHcmhDlY6jOIkiH1c15j1K/Bbpk7AUT3JcH6K5lhzd16eENxQqyASV6aPaKP2Ofu5gg46SekWEtRVVDNLHv/7wvB8Dg98X7z+OUUtbS52h3xB+Hj198uXMvXz/c3X/cBffvW2iu0826iS35JMa3voOHY6ddchH1HM5ZMK1Ku2X+8CKVvLQbKa1BKqC1KvsaXVwT6wM3hrBWaqkb7hT7GtkUE9sKUy9Pym0cnkaJ/PwB/ALcwfUeJlPqTV6ZAL/etYVlRaajGb3Vii2vJ1k354qvowlX+bbl9vZ23M8q55VGfFlKebhqag5UOlydB60DXYwTxEFXQOpjExz50p7HYbUWnD2IjNUKP+UrVGGd7q7QDOGJd0VoNxrAS7X/FXqtQ63aPaLUq1vQG2F0coTFpYqnukPfJKP9evd0J1+lDKqNu2RTtDB4eEdp9FlguPVLDyO2xstOwNyAOqggZJi4/ca8eZ7j2teMec1afNazFNslVlmROlvyDY3Qo2hu2Y2nd6ASlX26dxbNg/3Sx+olPi7OrxeWA1bFysBJp1SxuIxJIwmfJpN2QiuVrPJmNNpliTT6BJfmXOpg//hzdqCKjSxfHPGXsd4wza49X7A+toXlihw79psSN26+Dzr2z4q/sXDk9/4PwAAAP//AwCzxPWl/AcAAA==
|
152
|
+
recorded_at: Fri, 10 Dec 2021 09:55:18 GMT
|
153
|
+
- request:
|
154
|
+
method: get
|
155
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/vn32pmzn67tzbcd9/payment_methods/any/nbzttjb
|
156
|
+
body:
|
157
|
+
encoding: US-ASCII
|
158
|
+
string: ''
|
159
|
+
headers:
|
160
|
+
Accept-Encoding:
|
161
|
+
- gzip
|
162
|
+
Accept:
|
163
|
+
- application/xml
|
164
|
+
User-Agent:
|
165
|
+
- Braintree Ruby Gem 3.4.0
|
166
|
+
X-Apiversion:
|
167
|
+
- '6'
|
168
|
+
Content-Type:
|
169
|
+
- application/xml
|
170
|
+
Authorization:
|
171
|
+
- Basic cTM3ZnF0eXc0cDJzN2Zidzo2M2RhYmNjOWFmMTcyNDhlZjQyMTdjZmRlYWEwM2UwMQ==
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 200
|
175
|
+
message: ''
|
176
|
+
headers:
|
177
|
+
Date:
|
178
|
+
- Fri, 10 Dec 2021 09:55:19 GMT
|
179
|
+
Content-Type:
|
180
|
+
- application/xml; charset=utf-8
|
181
|
+
X-Frame-Options:
|
182
|
+
- SAMEORIGIN
|
183
|
+
X-Xss-Protection:
|
184
|
+
- 1; mode=block
|
185
|
+
X-Content-Type-Options:
|
186
|
+
- nosniff
|
187
|
+
X-Download-Options:
|
188
|
+
- noopen
|
189
|
+
X-Permitted-Cross-Domain-Policies:
|
190
|
+
- none
|
191
|
+
Referrer-Policy:
|
192
|
+
- strict-origin-when-cross-origin
|
193
|
+
X-Authentication:
|
194
|
+
- basic_auth
|
195
|
+
X-User:
|
196
|
+
- mp9fm99xgbv5d7nc
|
197
|
+
Vary:
|
198
|
+
- Accept-Encoding, Origin
|
199
|
+
Content-Encoding:
|
200
|
+
- gzip
|
201
|
+
Etag:
|
202
|
+
- W/"83512a16e13acf960bd3e4f7a69f25a1"
|
203
|
+
Cache-Control:
|
204
|
+
- max-age=0, private, must-revalidate
|
205
|
+
X-Runtime:
|
206
|
+
- '0.058907'
|
207
|
+
X-Request-Id:
|
208
|
+
- '0891cd8a-cb3b-4bb0-82f3-ed64c3bb9bc4'
|
209
|
+
Content-Security-Policy:
|
210
|
+
- frame-ancestors 'self'
|
211
|
+
X-Broxyid:
|
212
|
+
- '0891cd8a-cb3b-4bb0-82f3-ed64c3bb9bc4'
|
213
|
+
Strict-Transport-Security:
|
214
|
+
- max-age=31536000; includeSubDomains
|
215
|
+
Paypal-Debug-Id:
|
216
|
+
- 2eeddf47a6b34
|
217
|
+
Transfer-Encoding:
|
218
|
+
- chunked
|
219
|
+
body:
|
220
|
+
encoding: ASCII-8BIT
|
221
|
+
string: !binary |-
|
222
|
+
H4sIAAcks2EAA6xVTXPiOBC98yso3xV/ACGkwKm9hKqtSi6bZCa5pGSpwQqy5JVkEvLrt2UMNhkzu1OzN+v165b66bU8v/ko5HALxgqtFkF8EQVDUExzodaL4PHhllwFN+lgzgxw4QijhqeD4XCeCSmRQijnBqz1GKKCp07NQ8GbNaus0wUYgshkNElm49F0Og+78J64EsY6omgBQyXkInCmgiBsgpKejzFdlFTteiLWGQB3OGAPAT4cKA78JxSpGZXC9ZU3sEbFegKlto5KghJCOhvHEfbbhQ7HrpQzuxoiVJY5TXqb+8oa/RtLVairYD+hnRGyzLWq0zMwfdkGqPNauaHblbAIOC6dKCBIkyiJSZyQOHqIZteTyXV89YJ3fExoKlQl/7UKbULtuLDHcmhDlY6jOIkiH1c15j1K/Bbpk7AUT3JcH6K5lhzd16eENxQqyASV6aPaKP2Ofu5gg46SekWEtRVVDNLHv/7wvB8Dg98X7z+OUUtbS52h3xB+Hj198uXMvXz/c3X/cBffvW2iu0826iS35JMa3voOHY6ddchH1HM5ZMK1Ku2X+8CKVvLQbKa1BKqC1KvsaXVwT6wM3hrBWaqkb7hT7GtkUE9sKUy9Pym0cnkaJ/PwB/ALcwfUeJlPqTV6ZAL/etYVlRaajGb3Vii2vJ1k354qvowlX+bbl9vZ23M8q55VGfFlKebhqag5UOlydB60DXYwTxEFXQOpjExz50p7HYbUWnD2IjNUKP+UrVGGd7q7QDOGJd0VoNxrAS7X/FXqtQ63aPaLUq1vQG2F0coTFpYqnukPfJKP9evd0J1+lDKqNu2RTtDB4eEdp9FlguPVLDyO2xstOwNyAOqggZJi4/ca8eZ7j2teMec1afNazFNslVlmROlvyDY3Qo2hu2Y2nd6ASlX26dxbNg/3Sx+olPi7OrxeWA1bFysBJp1SxuIxJIwmfJpN2QiuVrPJmNNpliTT6BJfmXOpg//hzdqCKjSxfHPGXsd4wza49X7A+toXlihw79psSN26+Dzr2z4q/sXDk9/4PwAAAP//AwCzxPWl/AcAAA==
|
223
|
+
recorded_at: Fri, 10 Dec 2021 09:55:19 GMT
|
224
|
+
- request:
|
225
|
+
method: get
|
226
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/vn32pmzn67tzbcd9/payment_methods/any/nbzttjb
|
227
|
+
body:
|
228
|
+
encoding: US-ASCII
|
229
|
+
string: ''
|
230
|
+
headers:
|
231
|
+
Accept-Encoding:
|
232
|
+
- gzip
|
233
|
+
Accept:
|
234
|
+
- application/xml
|
235
|
+
User-Agent:
|
236
|
+
- Braintree Ruby Gem 3.4.0
|
237
|
+
X-Apiversion:
|
238
|
+
- '6'
|
239
|
+
Content-Type:
|
240
|
+
- application/xml
|
241
|
+
Authorization:
|
242
|
+
- Basic cTM3ZnF0eXc0cDJzN2Zidzo2M2RhYmNjOWFmMTcyNDhlZjQyMTdjZmRlYWEwM2UwMQ==
|
243
|
+
response:
|
244
|
+
status:
|
245
|
+
code: 200
|
246
|
+
message: ''
|
247
|
+
headers:
|
248
|
+
Date:
|
249
|
+
- Fri, 10 Dec 2021 09:55:20 GMT
|
250
|
+
Content-Type:
|
251
|
+
- application/xml; charset=utf-8
|
252
|
+
X-Frame-Options:
|
253
|
+
- SAMEORIGIN
|
254
|
+
X-Xss-Protection:
|
255
|
+
- 1; mode=block
|
256
|
+
X-Content-Type-Options:
|
257
|
+
- nosniff
|
258
|
+
X-Download-Options:
|
259
|
+
- noopen
|
260
|
+
X-Permitted-Cross-Domain-Policies:
|
261
|
+
- none
|
262
|
+
Referrer-Policy:
|
263
|
+
- strict-origin-when-cross-origin
|
264
|
+
X-Authentication:
|
265
|
+
- basic_auth
|
266
|
+
X-User:
|
267
|
+
- mp9fm99xgbv5d7nc
|
268
|
+
Vary:
|
269
|
+
- Accept-Encoding, Origin
|
270
|
+
Content-Encoding:
|
271
|
+
- gzip
|
272
|
+
Etag:
|
273
|
+
- W/"dc4c858d5799c84c9cc85c87078f0e47"
|
274
|
+
Cache-Control:
|
275
|
+
- max-age=0, private, must-revalidate
|
276
|
+
X-Runtime:
|
277
|
+
- '0.104150'
|
278
|
+
X-Request-Id:
|
279
|
+
- 94731a91-db6c-45e3-aa67-9d0b469b7574
|
280
|
+
Content-Security-Policy:
|
281
|
+
- frame-ancestors 'self'
|
282
|
+
X-Broxyid:
|
283
|
+
- 94731a91-db6c-45e3-aa67-9d0b469b7574
|
284
|
+
Strict-Transport-Security:
|
285
|
+
- max-age=31536000; includeSubDomains
|
286
|
+
Paypal-Debug-Id:
|
287
|
+
- 7fea0021b40b4
|
288
|
+
Transfer-Encoding:
|
289
|
+
- chunked
|
290
|
+
body:
|
291
|
+
encoding: ASCII-8BIT
|
292
|
+
string: !binary |-
|
293
|
+
H4sIAAgks2EAA6xVTX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