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,272 @@
|
|
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:39 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/"0c4b6b951c8d29665efa864202b49e99"
|
58
|
+
Cache-Control:
|
59
|
+
- max-age=0, private, must-revalidate
|
60
|
+
X-Runtime:
|
61
|
+
- '0.442002'
|
62
|
+
X-Request-Id:
|
63
|
+
- 02-1568384858.695-92.223.152.178-13023044
|
64
|
+
Content-Security-Policy:
|
65
|
+
- frame-ancestors 'self'
|
66
|
+
X-Broxyid:
|
67
|
+
- 02-1568384858.695-92.223.152.178-13023044
|
68
|
+
Strict-Transport-Security:
|
69
|
+
- max-age=31536000; includeSubDomains
|
70
|
+
body:
|
71
|
+
encoding: ASCII-8BIT
|
72
|
+
string: !binary |-
|
73
|
+
H4sIAFune10AA+RYS2/cNhC++1cs9k5rHy78gKy0QNA0BWIgcRykuRiUOLtiLJEqSa13++s7FPVcUWv30CJAb7ucj8PhcB7fKHyzz7PZDpTmUtzOl+eL+QxEIhkX29v5w+dfydX8TXQWGkWFpolBVHQ2m4WcRUV8ebG+ZCwM8I9d04aaUke6jHNuDLDHjVSPGozJIA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tMxph03jbZcG4bmh5xKfifJdSZiBrw7TjW8lFS2hQHkUui2dNE6rXymmIOU68eeEjKMVLVYUAh2vZbIQAV1W9q8xWpOgry4pX0vcW3GupBqmMo/dnK+WhiPHIe0kiT22T4uZmObDrgsKCbycCa2iM+WmKpg4gWHE0ar7sLB+Mb/8tOeM24+WO5pF2pA8f1kYz6uWUZ60TxYpJ79uRt3a+INSmQ60hGkN4R611vhxgg0SxlvFg0+egc20wJ9k0PcWZcVwnqlYHTIpviP1HDp0Y/rLpj24ZKkZTaTwZ4r4msbuWun+IcL2CsFd98ZwnABmCqddtj5TNxrzmSohviUmk3FzAwOP3qpq4PRP636Q0V/uOHmNFXklfCYW8dgP1M+c2wAxZGKlJhn8IySTwzA77IxN3tzYvSwKl5y/EDyr4jAbD7fdi6aRMukAaXbqCzRMVV6EdbocNgCjQkkj2nDPlmn0tOgl7WVbHPl3S1FFWAeZbq6eiUr1/DwC/x7qm0aayVGb6oE85ammuFHm2tBSbFAkiwGNgsAXTeRnqHWU02CqekE4NeO/NO5U9TKKbkjZHD8Tta2A6xuF6ulxery/V1d5kj3NTAYGOAnhwYmigZhmTFXkGf+u62WvR71tT2/oeNluj4w/zkd4uTe73fRiZp1dTXjukNrSRiv/2exuIu/WP9qYhXP22Sd+/Xd28/rL+9+xgGHexs0COjs78BAAD//wMAnqJafXsWAAA=
|
74
|
+
http_version:
|
75
|
+
recorded_at: Fri, 13 Sep 2019 14:27:39 GMT
|
76
|
+
- request:
|
77
|
+
method: put
|
78
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/pb7437dd/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:40 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/"a258b5854858a68315200e9eb404aeb4"
|
122
|
+
Cache-Control:
|
123
|
+
- max-age=0, private, must-revalidate
|
124
|
+
X-Runtime:
|
125
|
+
- '0.531457'
|
126
|
+
X-Request-Id:
|
127
|
+
- 01-1568384860.003-92.223.152.178-12970230
|
128
|
+
Content-Security-Policy:
|
129
|
+
- frame-ancestors 'self'
|
130
|
+
X-Broxyid:
|
131
|
+
- 01-1568384860.003-92.223.152.178-12970230
|
132
|
+
Strict-Transport-Security:
|
133
|
+
- max-age=31536000; includeSubDomains
|
134
|
+
body:
|
135
|
+
encoding: ASCII-8BIT
|
136
|
+
string: !binary |-
|
137
|
+
H4sIAFyne10AA+RYS4/bNhC+768wfOdKfhT7gFZpgaBpCmSBZLNBmotBSWOLWYlUScpr99d3KOppUd7toUXR3uyZj0NyOI9vFLw55NlsD1Ixwe/mi0t/PgMei4Tx3d388fPP5Hr+JrwItKRc0VgjKryYzQ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sQO2pPV56VHKbIeohHU7lOqxFKI7Ys/dZiBdFhaxZYYLeUx9HcdKxt3iaSMK37enaCTWdAuExEmnbNNNszchKZDXXL2ewl1JqIFfDuGtXyUlCbFgeeCqORpIvVafU1Eh6lXT0EkZRip8jggGm37rRCAhuo3NfmKhB4VefHKIaHFtxbqcavjMf0JzPpoYoiyHlJIpttk+LFhMSYdcKRQzfxgjtqjR0pgqYOQFgyPNJbbC3vjG//NTsD5LmcaU2CzFXLT0a//tEuq4W/aJeOx/GUPOM7/Vy7VSupssM0xo25aXUYqlqyYpN09fdvMqpmCFEjgREKQsxLjH2fbGyDxWFI7sXjkk30MQyBIBhwzQ8JUVXWcOrBWRNPRJhrT1NSLrWR8tqFRZNrmawnea6JUtXpLElLKOYytYiDvDavZAkzxEbOteCb2NUdadENUSmUHnAQ0Dv6qaVYDlfttetORe/shZvSB6JVwOBgHYJOW7mOY2RIjFfm9y2AZx45BCF9k4u7m5kWp4dyoaUkPTb4jqzHrXdiaiRDGkduXdpY17Mu2nY1pO4E3BRqy455ThiS6T5AnQS/bqij1S7Za3s1BPwv5dLLL16+B59Y411TWFFa7DF/UKmctdzdKh7X2BDrFqk6wGJgsAXTeVoxzA2dARbYSR78z02s7yE/lT1MopvTNIYdfHkLf1Hj/ZrFarJdXq5vuMie4qSnIxAA9OwU1UTIMyYqSgzr3yXHp9xvx1PL+N52WvbnD/Ownm7NrnZ+FJrni1Iee6QWtJkx++TWN+H362+pTES1/2Mbv3q/u335YfXv3MfA62MWgR4YXfwIAAP//AwCRAjZwZRcAAA==
|
138
|
+
http_version:
|
139
|
+
recorded_at: Fri, 13 Sep 2019 14:27:41 GMT
|
140
|
+
- request:
|
141
|
+
method: get
|
142
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/pb7437dd
|
143
|
+
body:
|
144
|
+
encoding: US-ASCII
|
145
|
+
string: ''
|
146
|
+
headers:
|
147
|
+
Accept-Encoding:
|
148
|
+
- gzip
|
149
|
+
Accept:
|
150
|
+
- application/xml
|
151
|
+
User-Agent:
|
152
|
+
- Braintree Ruby Gem 2.98.0
|
153
|
+
X-Apiversion:
|
154
|
+
- '5'
|
155
|
+
Content-Type:
|
156
|
+
- application/xml
|
157
|
+
Authorization:
|
158
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
159
|
+
response:
|
160
|
+
status:
|
161
|
+
code: 200
|
162
|
+
message: OK
|
163
|
+
headers:
|
164
|
+
Date:
|
165
|
+
- Fri, 13 Sep 2019 14:27:41 GMT
|
166
|
+
Content-Type:
|
167
|
+
- application/xml; charset=utf-8
|
168
|
+
Transfer-Encoding:
|
169
|
+
- chunked
|
170
|
+
X-Frame-Options:
|
171
|
+
- SAMEORIGIN
|
172
|
+
X-Xss-Protection:
|
173
|
+
- 1; mode=block
|
174
|
+
X-Content-Type-Options:
|
175
|
+
- nosniff
|
176
|
+
X-Authentication:
|
177
|
+
- basic_auth
|
178
|
+
X-User:
|
179
|
+
- 3v249hqtptsg744y
|
180
|
+
Vary:
|
181
|
+
- Accept-Encoding
|
182
|
+
Content-Encoding:
|
183
|
+
- gzip
|
184
|
+
Etag:
|
185
|
+
- W/"780b3bf762f6829c3debde9dcdac896a"
|
186
|
+
Cache-Control:
|
187
|
+
- max-age=0, private, must-revalidate
|
188
|
+
X-Runtime:
|
189
|
+
- '0.165202'
|
190
|
+
X-Request-Id:
|
191
|
+
- 02-1568384861.358-92.223.152.178-13023462
|
192
|
+
Content-Security-Policy:
|
193
|
+
- frame-ancestors 'self'
|
194
|
+
X-Broxyid:
|
195
|
+
- 02-1568384861.358-92.223.152.178-13023462
|
196
|
+
Strict-Transport-Security:
|
197
|
+
- max-age=31536000; includeSubDomains
|
198
|
+
body:
|
199
|
+
encoding: ASCII-8BIT
|
200
|
+
string: !binary |-
|
201
|
+
H4sIAF2ne10AA+RYS4/bNhC+768wfOdKfhT7gFZpgaB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e7z/ZcF3b4DvmRTcAO4U5UkkDsiBW/t1rZNQUCzz98KEn/1tNSnQTKd4YiS8/ImLZx54PZkFJRAx3ent31pVSnw4jMFdmRme10OdatpGYAgsdsQO2pPV56VHKbIeohHU7lOqxFKI7Ys/dZiBdFhaxZYYLeUx9HcdKxt3iaSMK37enaCTWdAuExEmnbNNNszchKZDXXL2ewl1JqIFfDuGtXyUlCbFgeeCqORpIvVafU1Eh6lXT0EkZRip8jggGm37rRCAhuo3NfmKhB4VefHKIaHFtxbqcavjMf0JzPpoYoiyHlJIpttk+LFhMSYdcKRQzfxgjtqjR0pgqYOQFgyPNJbbC3vjG//NTsD5LmcaU2CzFXLT0a//tEuq4W/aJeOx/GUPOM7/Vy7VSupssM0xo25aXUYqlqyYpN09fdvMqpmCFEjgREKQsxLjH2fbGyDxWFI7sXjkk30MQyBIBhwzQ8JUVXWcOrBWRNPRJhrT1NSLrWR8tqFRZNrmawnea6JUtXpLElLKOYytYiDvDavZAkzxEbOteCb2NUdadENUSmUHnAQ0Dv6qaVYDlfttetORe/shZvSB6JVwOBgHYJOW7mOY2RIjFfm9y2AZx45BCF9k4u7m5kWp4dyoaUkPTb4jqzHrXdiaiRDGkduXdpY17Mu2nY1pO4E3BRqy455ThiS6T5AnQS/bqij1S7Za3s1BPwv5dLLL16+B59Y411TWFFa7DF/UKmctdzdKh7X2BDrFqk6wGJgsAXTeVoxzA2dARbYSR78z02s7yE/lT1MopvTNIYdfHkLf1Hj/ZrFarJdXq5vuMie4qSnIxAA9OwU1UTIMyYqSgzr3yXHp9xvx1PL+N52WvbnD/Ownm7NrnZ+FJrni1Iee6QWtJkx++TWN+H362+pTES1/2Mbv3q/u335YfXv3MfA62MWgR4YXfwIAAP//AwCRAjZwZRcAAA==
|
202
|
+
http_version:
|
203
|
+
recorded_at: Fri, 13 Sep 2019 14:27:42 GMT
|
204
|
+
- request:
|
205
|
+
method: post
|
206
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/pb7437dd/refund
|
207
|
+
body:
|
208
|
+
encoding: UTF-8
|
209
|
+
string: |
|
210
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
211
|
+
<transaction>
|
212
|
+
<amount>40.00</amount>
|
213
|
+
</transaction>
|
214
|
+
headers:
|
215
|
+
Accept-Encoding:
|
216
|
+
- gzip
|
217
|
+
Accept:
|
218
|
+
- application/xml
|
219
|
+
User-Agent:
|
220
|
+
- Braintree Ruby Gem 2.98.0
|
221
|
+
X-Apiversion:
|
222
|
+
- '5'
|
223
|
+
Content-Type:
|
224
|
+
- application/xml
|
225
|
+
Authorization:
|
226
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
227
|
+
response:
|
228
|
+
status:
|
229
|
+
code: 201
|
230
|
+
message: Created
|
231
|
+
headers:
|
232
|
+
Date:
|
233
|
+
- Fri, 13 Sep 2019 14:27:43 GMT
|
234
|
+
Content-Type:
|
235
|
+
- application/xml; charset=utf-8
|
236
|
+
Transfer-Encoding:
|
237
|
+
- chunked
|
238
|
+
X-Frame-Options:
|
239
|
+
- SAMEORIGIN
|
240
|
+
X-Xss-Protection:
|
241
|
+
- 1; mode=block
|
242
|
+
X-Content-Type-Options:
|
243
|
+
- nosniff
|
244
|
+
X-Authentication:
|
245
|
+
- basic_auth
|
246
|
+
X-User:
|
247
|
+
- 3v249hqtptsg744y
|
248
|
+
Vary:
|
249
|
+
- Accept-Encoding
|
250
|
+
Content-Encoding:
|
251
|
+
- gzip
|
252
|
+
Etag:
|
253
|
+
- W/"e5c0114ab5591691d216792f94c46a49"
|
254
|
+
Cache-Control:
|
255
|
+
- max-age=0, private, must-revalidate
|
256
|
+
X-Runtime:
|
257
|
+
- '0.342099'
|
258
|
+
X-Request-Id:
|
259
|
+
- 01-1568384862.626-92.223.152.178-12970794
|
260
|
+
Content-Security-Policy:
|
261
|
+
- frame-ancestors 'self'
|
262
|
+
X-Broxyid:
|
263
|
+
- 01-1568384862.626-92.223.152.178-12970794
|
264
|
+
Strict-Transport-Security:
|
265
|
+
- max-age=31536000; includeSubDomains
|
266
|
+
body:
|
267
|
+
encoding: ASCII-8BIT
|
268
|
+
string: !binary |-
|
269
|
+
H4sIAF+ne10AA+RYWW/cNhB+968w9p3WXoYPyHILBE0bIEbTxGmbF4MSZ1e0JZIlqfVuf32HumVRa+elKNC31czHa85vNrzd59npDrThUtzMFmfz2SmIRDIutjez+y8/kcvZbXQSWk2FoYlFVHRyehpyFsWH1X4tHm0Y4IeTGUttYSJTxDm3FtjDRuoHA9ZmkINAXA1wWHtQECUaGEd5+eGkSaE1nn4g3EiCl4Do/vO7MBiLHZjmshA2Ws/P5vMwqL+cIgedpFRYQpPECQnez1jIY5nhYT5tefsiJh7dqeDZzczqAmZBtTvFvfSboFIzRHoU+HCKBiLUnrq338wYflqewyxazhdXZH5FFqsvi/X18uJ6vfqGFmgXlOsLxb5vfbegtrOxEl/gPkpnvrwhCjdcG0sEzcGjzOi0LpG5ouLg0UBOeeaRP0NsuPXtpVIpfPIN3Y+MGvRfFcY8yzCG/+UXGqsBMCYY02CMzwR7C4I5T0xCMpnQjFvf9hq2mIA+O0nMrazKjav1Yn4RBn1Rc22MU32YflWldisIzVRKl29CrV5DiQKdwpOxw3o+wqdtCsF8ydJqTB3sVGt6GCjRnr0C5TJaxRfr1QVjYTCFcKsV1Zajkboi9QLlO5IWNpWa/z3acnTz3rYxtUnqxaRcqf9loB4Jm/9MhPa9U1dNsuGQMVPHws4Q0FpqgjZSUhjwPq3E9Z4+REc/Yvs6Cmi2GHrNv8tRTPmM3W68cix00C02jWd6QM0jVFGOfciMHRsqLRM8De3QZAct4V5jdODhiYv5fIl1a0I7sdJioEa/VnJg3uUlpDQhQ7qB10Ijj2Gja+4kT5wjNuhgXIExEoMeP6ZwPABPqZr9BMrSPakYilcFe8hV08tjKTOgYhZtaGYA2VELaLgDvoIkVLM6lK18Al+uxVwgO1osLy9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:27:43 GMT
|
272
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,201 @@
|
|
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:45 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/"0f678c06682aab5268e9d1c653233856"
|
55
|
+
Cache-Control:
|
56
|
+
- max-age=0, private, must-revalidate
|
57
|
+
X-Runtime:
|
58
|
+
- '0.889970'
|
59
|
+
X-Request-Id:
|
60
|
+
- 01-1568384863.948-92.223.152.178-12971055
|
61
|
+
Content-Security-Policy:
|
62
|
+
- frame-ancestors 'self'
|
63
|
+
X-Broxyid:
|
64
|
+
- 01-1568384863.948-92.223.152.178-12971055
|
65
|
+
Strict-Transport-Security:
|
66
|
+
- max-age=31536000; includeSubDomains
|
67
|
+
body:
|
68
|
+
encoding: ASCII-8BIT
|
69
|
+
string: !binary |-
|
70
|
+
H4sIAGGne10AA+RYS2/jNhC+51cYvjOSHKebBIq2BYqiLdAttrvb3fayoMSxxUQiVZLyo7++Q1GSJYtycioK9GbNfBySw3l84/jtoSwWO1CaS/G4jK7D5QJEJhkX28flp48/kLvl2+QqNooKTTODqORqsYg5S+7Lb9T+TtzHAX5YmTbU1Dqhtcml4n8Di4NWZLXmWEGiaQFx0Py0sqxWCnc7Eq4lwU0h+fTh+ziYii2YlrIWJlmH12EYB+2XVZSgspwKQ2iWWSHB82gDZSoLEwc+bXPaOiUe3ULw4nFpVA3LwFmnaEu9CioVQ6RHkSmgBhihZmHv/rhk+Gl4CctkFUb3JLwn0c3HaP2wevOwXv+JHugXNOvrir1+/S2uPy1o/ayNxBvYj+bxzk+Iwg1X2hBBS/AoCzqvy2RZUXH0aKCkvPDI95Bqbny2qlwKn3xDDxOnBsNbxSkvCozZf/mG2igAjAnGFGjtc8HBgGD2JWYhhcxowY3PvIItJpzPTxIzq3C5cb+OwjdxMBR1x8Y4Vcf5Wzm1XUFoUeV09SrUzUsoUeOj8Gz6YIM3wqttasF8ydJrdBvsVCl6HCnRn4OC5DNSUWU4ukODMQWUgAk7XuEzfqpcL5kfmE2pyXIvJudV9b8MyQsB8p+JxeHrtPWRbDgUTLexsNMElJKKoI8qKTR4r9bgBlcfo5NfsFFdBHQmxq92BvrJWbmIaa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N9E5ummwUjgQXppp+wJvLn65QzOm7Q45nzSS0PSG8j26i9erN+vZ0mTPcHDu2MUAvsuMuSsYh2VA10Jf+ZFqFwy41t3w4xfdd3R/mF4f0i2u9fwTMcoi50X5+Qa9J2I8/56l4l/9x81uVrm43v34OV5nI1unTcxycYFejHplc/QMAAP//AwDtQ2pkWhUAAA==
|
71
|
+
http_version:
|
72
|
+
recorded_at: Fri, 13 Sep 2019 14:27:45 GMT
|
73
|
+
- request:
|
74
|
+
method: get
|
75
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/9m6rw8n9
|
76
|
+
body:
|
77
|
+
encoding: US-ASCII
|
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:46 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/"0531d28186e92c08c5405967600147fb"
|
119
|
+
Cache-Control:
|
120
|
+
- max-age=0, private, must-revalidate
|
121
|
+
X-Runtime:
|
122
|
+
- '0.193037'
|
123
|
+
X-Request-Id:
|
124
|
+
- 01-1568384865.708-92.223.152.178-12971391
|
125
|
+
Content-Security-Policy:
|
126
|
+
- frame-ancestors 'self'
|
127
|
+
X-Broxyid:
|
128
|
+
- 01-1568384865.708-92.223.152.178-12971391
|
129
|
+
Strict-Transport-Security:
|
130
|
+
- max-age=31536000; includeSubDomains
|
131
|
+
body:
|
132
|
+
encoding: ASCII-8BIT
|
133
|
+
string: !binary |-
|
134
|
+
H4sIAGKne10AA+RYS2/jNhC+51cYvjOSHKebBIq2BYqiLdAttrvb3fayoMSxxUQiVZLyo7++Q1GSJYtycioK9GbNfBySw3l84/jtoSwWO1CaS/G4jK7D5QJEJhkX28flp48/kLvl2+QqNooKTTODqORqsYg5S+7Lb9T+TtzHAX5YmTbU1Dqhtcml4n8Di4NWZLXmWEGiaQFx0Py0sqxWCnc7Eq4lwU0h+fTh+ziYii2YlrIWJlmH12EYB+2XVZSgspwKQ2iWWSHB82gDZSoLEwc+bXPaOiUe3ULw4nFpVA3LwFmnaEu9CioVQ6RHkSmgBhihZmHv/rhk+Gl4CctkFUb3JLwn0c3HaP2wevOwXv+JHugXNOvrir1+/S2uPy1o/ayNxBvYj+bxzk+Iwg1X2hBBS/AoCzqvy2RZUXH0aKCkvPDI95Bqbny2qlwKn3xDDxOnBsNbxSkvCozZf/mG2igAjAnGFGjtc8HBgGD2JWYhhcxowY3PvIItJpzPTxIzq3C5cb+OwjdxMBR1x8Y4Vcf5Wzm1XUFoUeV09SrUzUsoUeOj8Gz6YIM3wqttasF8ydJrdBvsVCl6HCnRn4OC5DNSUWU4ukODMQWUgAk7XuEzfqpcL5kfmE2pyXIvJudV9b8MyQsB8p+JxeHrtPWRbDgUTLexsNMElJKKoI8qKTR4r9bgB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LnpOZ5Uea/0JTI4FkGAxsFkC6LyN9E5ummwUjgQXppp+wJvLn65QzOm7Q45nzSS0PSG8j26i9erN+vZ0mTPcHDu2MUAvsuMuSsYh2VA10Jf+ZFqFwy41t3w4xfdd3R/mF4f0i2u9fwTMcoi50X5+Qa9J2I8/56l4l/9x81uVrm43v34OV5nI1unTcxycYFejHplc/QMAAP//AwDtQ2pkWhUAAA==
|
135
|
+
http_version:
|
136
|
+
recorded_at: Fri, 13 Sep 2019 14:27:46 GMT
|
137
|
+
- request:
|
138
|
+
method: put
|
139
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/9m6rw8n9/void
|
140
|
+
body:
|
141
|
+
encoding: UTF-8
|
142
|
+
string: ''
|
143
|
+
headers:
|
144
|
+
Accept-Encoding:
|
145
|
+
- gzip
|
146
|
+
Accept:
|
147
|
+
- application/xml
|
148
|
+
User-Agent:
|
149
|
+
- Braintree Ruby Gem 2.98.0
|
150
|
+
X-Apiversion:
|
151
|
+
- '5'
|
152
|
+
Content-Type:
|
153
|
+
- application/xml
|
154
|
+
Authorization:
|
155
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
156
|
+
response:
|
157
|
+
status:
|
158
|
+
code: 200
|
159
|
+
message: OK
|
160
|
+
headers:
|
161
|
+
Date:
|
162
|
+
- Fri, 13 Sep 2019 14:27:47 GMT
|
163
|
+
Content-Type:
|
164
|
+
- application/xml; charset=utf-8
|
165
|
+
Transfer-Encoding:
|
166
|
+
- chunked
|
167
|
+
X-Frame-Options:
|
168
|
+
- SAMEORIGIN
|
169
|
+
X-Xss-Protection:
|
170
|
+
- 1; mode=block
|
171
|
+
X-Content-Type-Options:
|
172
|
+
- nosniff
|
173
|
+
X-Authentication:
|
174
|
+
- basic_auth
|
175
|
+
X-User:
|
176
|
+
- 3v249hqtptsg744y
|
177
|
+
Vary:
|
178
|
+
- Accept-Encoding
|
179
|
+
Content-Encoding:
|
180
|
+
- gzip
|
181
|
+
Etag:
|
182
|
+
- W/"25b7b5b45c95247e9345eb4ffadb45c3"
|
183
|
+
Cache-Control:
|
184
|
+
- max-age=0, private, must-revalidate
|
185
|
+
X-Runtime:
|
186
|
+
- '0.222614'
|
187
|
+
X-Request-Id:
|
188
|
+
- 01-1568384866.688-92.223.152.178-12971613
|
189
|
+
Content-Security-Policy:
|
190
|
+
- frame-ancestors 'self'
|
191
|
+
X-Broxyid:
|
192
|
+
- 01-1568384866.688-92.223.152.178-12971613
|
193
|
+
Strict-Transport-Security:
|
194
|
+
- max-age=31536000; includeSubDomains
|
195
|
+
body:
|
196
|
+
encoding: ASCII-8BIT
|
197
|
+
string: !binary |-
|
198
|
+
H4sIAGOne10AA+RY227jNhB9z1cYfmckOU5zgaJtgaJoC3SL7e52t31ZUOLYYiKRKkn50q/vUJRkKaKcAAWKBfpmcQ6H5FzPOH5zKIvFDpTmUjwso8twuQCRScbF9mH58cMP5Hb5JrmIjaJC08wgKrlYLGLOkrvyG7W/FXdxgB92TRtqap3sJGfA4qD9tBJzrCDRtIA4aH7ataxWCk86Eq4lwQMh+fj++ziYLlswLWUtTLIOL8MwDtovKyhBZTkVhtAss4sE76INlKksTBz4pM1N65R4ZAvBi4elUTUsA6edoi71KqhUDJEeQaaAGmCEmoV9+8OS4afhJSyTVRjdkfCORFcfovX96uZ+vf4TLdBvaPbXFXv9/hvcf9rQ2lkbiS+wH43jnt8QFzdcaUMELcEjLOi8LJNlRcXRI4GS8sKzvodUc+PTVeVS+NY39DAxajB8VZzyosB4/Y9fqI0CwJhgTIHWPhMcDAhmPTELKWRGC2586hVsMdl8dpKYWYXLjbt1FN7EwXCpuzbGqTrOv8qJ7Q5Ciyqnq1ehrl5CiRqdwrOpwwY+wqdtasF8ydJLdBvsVCl6HAnRnoNi5FNSUWU4mkODMQWUgAk73uFTTmuTS8X/fln9QG1KTZZ7MTmvqv9lSJ4JkK8mFofeaesj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8SVdPSAWYvVRPz075/DkO/BLvnkabxspYoEedcNGTWiv0aOtvYHIsgASLgc0SQONtpHd01WSjcCY6M9b1E+5c/nSFYk7eXXI8bCeh7QfhXXQVrVc36+vTY57h5sYDGwP07HjQRck4JBuuCvrcv2yrcNim57YP/8boaY0/zM/+S3F2r/efkFkSNfffxvyGXpKwH3/OU/E2/+PqtypdXW9+/RSuMpGt08enODjBLkY9Mrn4BwAA//8DAOR6FFZXFgAA
|
199
|
+
http_version:
|
200
|
+
recorded_at: Fri, 13 Sep 2019 14:27:47 GMT
|
201
|
+
recorded_with: VCR 5.0.0
|
@@ -0,0 +1,141 @@
|
|
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:51 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/"5df8feea829117d5a9605546aa3caf64"
|
55
|
+
Cache-Control:
|
56
|
+
- max-age=0, private, must-revalidate
|
57
|
+
X-Runtime:
|
58
|
+
- '0.364675'
|
59
|
+
X-Request-Id:
|
60
|
+
- 02-1568384870.537-92.223.152.178-13025218
|
61
|
+
Content-Security-Policy:
|
62
|
+
- frame-ancestors 'self'
|
63
|
+
X-Broxyid:
|
64
|
+
- 02-1568384870.537-92.223.152.178-13025218
|
65
|
+
Strict-Transport-Security:
|
66
|
+
- max-age=31536000; includeSubDomains
|
67
|
+
body:
|
68
|
+
encoding: ASCII-8BIT
|
69
|
+
string: !binary |-
|
70
|
+
H4sIAGene10AA+RYS4/bNhC+768wfOfK8m6Q3UCrtECRPtDkkFfTXAJKHFvMUqRCUl47vz5DUZIli/JuL0WB3qyZj0NyOI9vnLzcl2KxA224knfL+HK1XIDMFeNye7f88P4VuVm+TC8Sq6k0NLeISi8Wi4Sz9Bv7+rDbxN+TCD+czFhqa5PS2hZK8+/AkqgVOa09VJAaKiCJmp9Oltda424Hwo0iuCmkH979kkRTsQPTUtXSptery9UqidovpyhB5wWVltA8d0KC5zEWykwJm0QhbXPaOiMB3UJycbe0uoZl5K1TtKWfBFWaITKgyDVQC4xQu3B3v1sy/LS8hGW6XsW3ZHVL4qv38fWL9fMXz+LP6IF+QbO+rtg/W39c0PrZWIU3cB/N452eEIUbro0lkpYQUAo6r8tVWVF5CGigpFwE5A+QGW5Dtq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A68FdVVupmCNTfnYImZnm1sFBmYm4/xXjMh3Ot988ChVcLUKr75znW7DcBcn3LbqgfiX3OiRTdktTaeBDOwOOqZroiNVOG3GTDo8PZjzOQvgSfCYe8cgMVbh4/hpgmMVOR9IYN1ngcIMr7IzN3dzavawrnhwjdDyr5it3PrQ9i2QxEukfPVfnpxXdmXoy+uHCXRHGjMmgZOGZOrIXGaBT1uq6Faj9nq+ZgE+6D0/ckunz4lUVgTXNNYM1gdBb6oVy56TueUAWv9CWyBBZBgMXBZAui8jQpOboZsNI4EZ6aafsCby5+uUMzpu0OOZ8105XrC6ja+iq/Xz5/Fx8uc4ObYsYsBepYdd1EyDsmGqoE59yfTejXsUnPLh1N839XDYX52SD+7NvhHwCyHmBvt5xf0mpT99keRyTfF31dvq2z9bJP/9fYbu/pcvv6E7O8Iuxj1yPTiBwAAAP//AwDLzmndWhUAAA==
|
71
|
+
http_version:
|
72
|
+
recorded_at: Fri, 13 Sep 2019 14:27:51 GMT
|
73
|
+
- request:
|
74
|
+
method: put
|
75
|
+
uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/qdjwvf1z/submit_for_settlement
|
76
|
+
body:
|
77
|
+
encoding: UTF-8
|
78
|
+
string: |
|
79
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
80
|
+
<transaction>
|
81
|
+
<amount>10.00</amount>
|
82
|
+
</transaction>
|
83
|
+
headers:
|
84
|
+
Accept-Encoding:
|
85
|
+
- gzip
|
86
|
+
Accept:
|
87
|
+
- application/xml
|
88
|
+
User-Agent:
|
89
|
+
- Braintree Ruby Gem 2.98.0
|
90
|
+
X-Apiversion:
|
91
|
+
- '5'
|
92
|
+
Content-Type:
|
93
|
+
- application/xml
|
94
|
+
Authorization:
|
95
|
+
- Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ==
|
96
|
+
response:
|
97
|
+
status:
|
98
|
+
code: 200
|
99
|
+
message: OK
|
100
|
+
headers:
|
101
|
+
Date:
|
102
|
+
- Fri, 13 Sep 2019 14:27:52 GMT
|
103
|
+
Content-Type:
|
104
|
+
- application/xml; charset=utf-8
|
105
|
+
Transfer-Encoding:
|
106
|
+
- chunked
|
107
|
+
X-Frame-Options:
|
108
|
+
- SAMEORIGIN
|
109
|
+
X-Xss-Protection:
|
110
|
+
- 1; mode=block
|
111
|
+
X-Content-Type-Options:
|
112
|
+
- nosniff
|
113
|
+
X-Authentication:
|
114
|
+
- basic_auth
|
115
|
+
X-User:
|
116
|
+
- 3v249hqtptsg744y
|
117
|
+
Vary:
|
118
|
+
- Accept-Encoding
|
119
|
+
Content-Encoding:
|
120
|
+
- gzip
|
121
|
+
Etag:
|
122
|
+
- W/"ed8e3283994c88be937b9355ea73f35c"
|
123
|
+
Cache-Control:
|
124
|
+
- max-age=0, private, must-revalidate
|
125
|
+
X-Runtime:
|
126
|
+
- '0.242210'
|
127
|
+
X-Request-Id:
|
128
|
+
- 01-1568384871.840-92.223.152.178-12972594
|
129
|
+
Content-Security-Policy:
|
130
|
+
- frame-ancestors 'self'
|
131
|
+
X-Broxyid:
|
132
|
+
- 01-1568384871.840-92.223.152.178-12972594
|
133
|
+
Strict-Transport-Security:
|
134
|
+
- max-age=31536000; includeSubDomains
|
135
|
+
body:
|
136
|
+
encoding: ASCII-8BIT
|
137
|
+
string: !binary |-
|
138
|
+
H4sIAGine10AA+RYS2/cNhC++1cs9k5LWtuIHchKCxTpA00OcZKmuRiUOFrRlkiFpNa7+fUd6q0VtTZQICjQ2y7n43A4nMc3Ct/si3y1A6W5FLfr4Nxfr0AkknGxvV1/+viWXK/fRGehUVRomhhERWerVchZ9I09PO3S4Hvo4R+7pg01lY50FRfcGGD3qVT3GozJoQBhQq8FWKw5lBBpmkPo1T/tWlIphWcfCNeSoAkQfbr7JfTmyxZMC1kJEwX+ue+HXvvPCgpQSUaFITRJ7CJB67SBIpY5muCS1rZXMXHIVoLnt2ujKlh7jXaKut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