solidus_braintree 1.2.0 → 3.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 +78 -0
- data/.gem_release.yml +5 -0
- data/.github/stale.yml +1 -0
- data/.github_changelog_generator +2 -0
- data/.gitignore +21 -10
- data/.rspec +1 -1
- data/.rubocop.yml +86 -0
- data/CHANGELOG.md +186 -18
- data/Gemfile +35 -17
- data/LICENSE +26 -0
- data/README.md +389 -24
- data/Rakefile +6 -16
- data/app/assets/config/solidus_braintree_manifest.js +0 -0
- data/app/assets/javascripts/spree/backend/solidus_braintree/client.js +239 -0
- data/app/assets/javascripts/spree/backend/solidus_braintree/constants.js +89 -0
- data/app/assets/javascripts/spree/backend/solidus_braintree/hosted_form.js +46 -0
- data/app/assets/javascripts/spree/backend/solidus_braintree/promise.js +20 -0
- data/app/assets/javascripts/spree/backend/solidus_braintree.js +96 -0
- data/app/assets/stylesheets/spree/backend/solidus_braintree.scss +28 -0
- data/app/decorators/controllers/solidus_braintree/admin_payments_controller_decorator.rb +11 -0
- data/app/decorators/controllers/solidus_braintree/client_tokens_controller.rb +41 -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/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 +437 -0
- data/app/models/solidus_braintree/response.rb +80 -0
- data/app/models/solidus_braintree/source.rb +140 -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/views/spree/api/payments/source_views/_braintree.json.jbuilder +3 -0
- data/bin/console +4 -1
- data/bin/dummy-app +37 -0
- data/bin/rails +5 -5
- data/bin/rails-dummy-app +17 -0
- data/bin/rails-engine +13 -0
- data/bin/rails-sandbox +16 -0
- data/bin/rake +7 -0
- data/bin/rspec +11 -0
- data/bin/sandbox +61 -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/db/migrate/20230210104310_add_device_data_to_braintree_sources.rb +5 -0
- data/lib/controllers/backend/solidus_braintree/configurations_controller.rb +48 -0
- data/lib/generators/solidus_braintree/install/install_generator.rb +155 -19
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_280x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_320x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_375x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_280x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_320x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_375x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_acceptance_mark.svg +15 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_button_280x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_button_320x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_button_375x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_logo.svg +18 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_acceptance_mark.svg +20 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_button_280x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_button_320x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_button_375x48.svg +19 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_logo.svg +18 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/paypal_button.js +34 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/ajax.js +13 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/apple_pay_button.js +179 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/checkout.js +113 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/client.js +239 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/constants.js +89 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/frontend.js +15 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/hosted_form.js +48 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/paypal_button.js +178 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/paypal_messaging.js +22 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/promise.js +20 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/venmo_button.js +86 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree.js +1 -0
- data/lib/generators/solidus_braintree/install/templates/app/assets/stylesheets/spree/frontend/solidus_braintree.scss +62 -0
- data/lib/generators/solidus_braintree/install/templates/app/controllers/solidus_braintree/checkouts_controller.rb +31 -0
- data/lib/generators/solidus_braintree/install/templates/app/controllers/solidus_braintree/transactions_controller.rb +67 -0
- data/lib/generators/solidus_braintree/install/templates/app/helpers/solidus_braintree/braintree_checkout_helper.rb +60 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/checkouts/existing_payment/_braintree.html.erb +2 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/checkouts/payment/_braintree.html.erb +23 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/payments/_braintree_payment_details.html.erb +9 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_apple_pay_button.html.erb +27 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_braintree_errors.html.erb +16 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_braintree_head_scripts.html.erb +26 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_braintree_hosted_fields.html.erb +40 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_paypal_cart_button.html.erb +38 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_paypal_checkout_button.html.erb +32 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_paypal_messaging.html.erb +13 -0
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_venmo_button.html.erb +33 -0
- data/lib/generators/solidus_braintree/install/templates/config/initializers/solidus_braintree.rb +6 -0
- data/lib/solidus_braintree/country_mapper.rb +37 -0
- data/lib/solidus_braintree/engine.rb +61 -11
- data/lib/solidus_braintree/extension_configuration.rb +23 -0
- data/lib/solidus_braintree/request_protection.rb +21 -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/solidus_braintree.gemspec +37 -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/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/carts/_cart_footer.html.erb +18 -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 +774 -0
- data/spec/models/solidus_braintree/response_spec.rb +280 -0
- data/spec/models/solidus_braintree/source_spec.rb +555 -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/solidus_braintree_helper.rb +7 -0
- data/spec/support/solidus_braintree/capybara.rb +7 -0
- data/spec/support/solidus_braintree/factories.rb +55 -0
- data/spec/support/solidus_braintree/gateway_helpers.rb +29 -0
- data/spec/support/solidus_braintree/order_ready_for_payment.rb +44 -0
- data/spec/support/solidus_braintree/order_walkthrough.rb +87 -0
- data/spec/support/solidus_braintree/vcr.rb +42 -0
- data/spec/support/solidus_braintree/with_prepended_view_fixtures.rb +19 -0
- data/spec/system/backend/configuration_spec.rb +23 -0
- data/spec/system/backend/new_payment_spec.rb +136 -0
- data/spec/system/frontend/braintree_credit_card_checkout_spec.rb +199 -0
- data/spec/system/frontend/paypal_checkout_spec.rb +169 -0
- data/spec/system/frontend/venmo_checkout_spec.rb +193 -0
- metadata +289 -255
- 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
metadata
CHANGED
@@ -1,239 +1,105 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_braintree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- Stembolt
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.0
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '3'
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.0.0
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '3'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: solidus_core
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 1.0.0
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '3'
|
43
|
-
type: :runtime
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 1.0.0
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '3'
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: solidus_support
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '0'
|
60
|
-
type: :runtime
|
61
|
-
prerelease: false
|
62
|
-
version_requirements: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '0'
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: braintree
|
14
|
+
name: activemerchant
|
69
15
|
requirement: !ruby/object:Gem::Requirement
|
70
16
|
requirements:
|
71
17
|
- - "~>"
|
72
18
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
19
|
+
version: '1.48'
|
74
20
|
type: :runtime
|
75
21
|
prerelease: false
|
76
22
|
version_requirements: !ruby/object:Gem::Requirement
|
77
23
|
requirements:
|
78
24
|
- - "~>"
|
79
25
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
26
|
+
version: '1.48'
|
81
27
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '1.10'
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - "~>"
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '1.10'
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: rake
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '10.0'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '10.0'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: factory_bot
|
28
|
+
name: braintree
|
111
29
|
requirement: !ruby/object:Gem::Requirement
|
112
30
|
requirements:
|
113
31
|
- - "~>"
|
114
32
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
116
|
-
type: :
|
33
|
+
version: '3.4'
|
34
|
+
type: :runtime
|
117
35
|
prerelease: false
|
118
36
|
version_requirements: !ruby/object:Gem::Requirement
|
119
37
|
requirements:
|
120
38
|
- - "~>"
|
121
39
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
40
|
+
version: '3.4'
|
123
41
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
42
|
+
name: solidus_api
|
125
43
|
requirement: !ruby/object:Gem::Requirement
|
126
44
|
requirements:
|
127
45
|
- - ">="
|
128
46
|
- !ruby/object:Gem::Version
|
129
|
-
version:
|
130
|
-
|
47
|
+
version: 3.4.0.dev
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '4'
|
51
|
+
type: :runtime
|
131
52
|
prerelease: false
|
132
53
|
version_requirements: !ruby/object:Gem::Requirement
|
133
54
|
requirements:
|
134
55
|
- - ">="
|
135
56
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
137
|
-
-
|
138
|
-
name: capybara
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - "~>"
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '2.18'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - "~>"
|
57
|
+
version: 3.4.0.dev
|
58
|
+
- - "<"
|
149
59
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
60
|
+
version: '4'
|
151
61
|
- !ruby/object:Gem::Dependency
|
152
|
-
name:
|
62
|
+
name: solidus_core
|
153
63
|
requirement: !ruby/object:Gem::Requirement
|
154
64
|
requirements:
|
155
65
|
- - ">="
|
156
66
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
158
|
-
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - ">="
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '0'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: poltergeist
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
67
|
+
version: 3.4.0.dev
|
68
|
+
- - "<"
|
170
69
|
- !ruby/object:Gem::Version
|
171
|
-
version: '
|
172
|
-
type: :
|
70
|
+
version: '4'
|
71
|
+
type: :runtime
|
173
72
|
prerelease: false
|
174
73
|
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: '1.9'
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: ffaker
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
74
|
requirements:
|
183
75
|
- - ">="
|
184
76
|
- !ruby/object:Gem::Version
|
185
|
-
version:
|
186
|
-
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - ">="
|
77
|
+
version: 3.4.0.dev
|
78
|
+
- - "<"
|
191
79
|
- !ruby/object:Gem::Version
|
192
|
-
version: '
|
80
|
+
version: '4'
|
193
81
|
- !ruby/object:Gem::Dependency
|
194
|
-
name:
|
82
|
+
name: solidus_support
|
195
83
|
requirement: !ruby/object:Gem::Requirement
|
196
84
|
requirements:
|
197
85
|
- - ">="
|
198
86
|
- !ruby/object:Gem::Version
|
199
|
-
version:
|
200
|
-
|
201
|
-
prerelease: false
|
202
|
-
version_requirements: !ruby/object:Gem::Requirement
|
203
|
-
requirements:
|
204
|
-
- - ">="
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: '0'
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: pry
|
209
|
-
requirement: !ruby/object:Gem::Requirement
|
210
|
-
requirements:
|
211
|
-
- - ">="
|
87
|
+
version: 0.8.1
|
88
|
+
- - "<"
|
212
89
|
- !ruby/object:Gem::Version
|
213
|
-
version: '
|
214
|
-
type: :
|
90
|
+
version: '1'
|
91
|
+
type: :runtime
|
215
92
|
prerelease: false
|
216
93
|
version_requirements: !ruby/object:Gem::Requirement
|
217
94
|
requirements:
|
218
95
|
- - ">="
|
219
96
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
221
|
-
-
|
222
|
-
name: byebug
|
223
|
-
requirement: !ruby/object:Gem::Requirement
|
224
|
-
requirements:
|
225
|
-
- - ">="
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
version: '0'
|
228
|
-
type: :development
|
229
|
-
prerelease: false
|
230
|
-
version_requirements: !ruby/object:Gem::Requirement
|
231
|
-
requirements:
|
232
|
-
- - ">="
|
97
|
+
version: 0.8.1
|
98
|
+
- - "<"
|
233
99
|
- !ruby/object:Gem::Version
|
234
|
-
version: '
|
100
|
+
version: '1'
|
235
101
|
- !ruby/object:Gem::Dependency
|
236
|
-
name:
|
102
|
+
name: rails-controller-testing
|
237
103
|
requirement: !ruby/object:Gem::Requirement
|
238
104
|
requirements:
|
239
105
|
- - ">="
|
@@ -247,115 +113,219 @@ dependencies:
|
|
247
113
|
- !ruby/object:Gem::Version
|
248
114
|
version: '0'
|
249
115
|
- !ruby/object:Gem::Dependency
|
250
|
-
name:
|
251
|
-
requirement: !ruby/object:Gem::Requirement
|
252
|
-
requirements:
|
253
|
-
- - "~>"
|
254
|
-
- !ruby/object:Gem::Version
|
255
|
-
version: '1.2'
|
256
|
-
type: :development
|
257
|
-
prerelease: false
|
258
|
-
version_requirements: !ruby/object:Gem::Requirement
|
259
|
-
requirements:
|
260
|
-
- - "~>"
|
261
|
-
- !ruby/object:Gem::Version
|
262
|
-
version: '1.2'
|
263
|
-
- !ruby/object:Gem::Dependency
|
264
|
-
name: vcr
|
116
|
+
name: solidus_dev_support
|
265
117
|
requirement: !ruby/object:Gem::Requirement
|
266
118
|
requirements:
|
267
119
|
- - "~>"
|
268
120
|
- !ruby/object:Gem::Version
|
269
|
-
version: '
|
121
|
+
version: '2.5'
|
270
122
|
type: :development
|
271
123
|
prerelease: false
|
272
124
|
version_requirements: !ruby/object:Gem::Requirement
|
273
125
|
requirements:
|
274
126
|
- - "~>"
|
275
127
|
- !ruby/object:Gem::Version
|
276
|
-
version: '
|
277
|
-
|
278
|
-
|
279
|
-
requirement: !ruby/object:Gem::Requirement
|
280
|
-
requirements:
|
281
|
-
- - ">="
|
282
|
-
- !ruby/object:Gem::Version
|
283
|
-
version: '0'
|
284
|
-
type: :development
|
285
|
-
prerelease: false
|
286
|
-
version_requirements: !ruby/object:Gem::Requirement
|
287
|
-
requirements:
|
288
|
-
- - ">="
|
289
|
-
- !ruby/object:Gem::Version
|
290
|
-
version: '0'
|
291
|
-
- !ruby/object:Gem::Dependency
|
292
|
-
name: simplecov
|
293
|
-
requirement: !ruby/object:Gem::Requirement
|
294
|
-
requirements:
|
295
|
-
- - ">="
|
296
|
-
- !ruby/object:Gem::Version
|
297
|
-
version: '0'
|
298
|
-
type: :development
|
299
|
-
prerelease: false
|
300
|
-
version_requirements: !ruby/object:Gem::Requirement
|
301
|
-
requirements:
|
302
|
-
- - ">="
|
303
|
-
- !ruby/object:Gem::Version
|
304
|
-
version: '0'
|
305
|
-
description: Adds Solidus support for Braintree v.zero Gateway.
|
306
|
-
email:
|
307
|
-
- contact@solidus.io
|
128
|
+
version: '2.5'
|
129
|
+
description: Uses the javascript API for seamless braintree payments
|
130
|
+
email: braintree+gemfile@stembolt.com
|
308
131
|
executables: []
|
309
132
|
extensions: []
|
310
133
|
extra_rdoc_files: []
|
311
134
|
files:
|
135
|
+
- ".circleci/config.yml"
|
136
|
+
- ".gem_release.yml"
|
137
|
+
- ".github/stale.yml"
|
138
|
+
- ".github_changelog_generator"
|
312
139
|
- ".gitignore"
|
313
140
|
- ".rspec"
|
314
|
-
- ".
|
141
|
+
- ".rubocop.yml"
|
315
142
|
- CHANGELOG.md
|
316
143
|
- Gemfile
|
317
|
-
- LICENSE
|
144
|
+
- LICENSE
|
318
145
|
- README.md
|
319
146
|
- Rakefile
|
320
|
-
- app/
|
321
|
-
- app/
|
322
|
-
- app/
|
323
|
-
- app/
|
324
|
-
- app/
|
325
|
-
- app/
|
326
|
-
- app/
|
327
|
-
- app/
|
328
|
-
- app/
|
329
|
-
- app/models/
|
330
|
-
- app/models/
|
331
|
-
- app/
|
332
|
-
- app/
|
333
|
-
- app/
|
334
|
-
- app/
|
335
|
-
- app/
|
336
|
-
- app/
|
147
|
+
- app/assets/config/solidus_braintree_manifest.js
|
148
|
+
- app/assets/javascripts/spree/backend/solidus_braintree.js
|
149
|
+
- app/assets/javascripts/spree/backend/solidus_braintree/client.js
|
150
|
+
- app/assets/javascripts/spree/backend/solidus_braintree/constants.js
|
151
|
+
- app/assets/javascripts/spree/backend/solidus_braintree/hosted_form.js
|
152
|
+
- app/assets/javascripts/spree/backend/solidus_braintree/promise.js
|
153
|
+
- app/assets/stylesheets/spree/backend/solidus_braintree.scss
|
154
|
+
- app/decorators/controllers/solidus_braintree/admin_payments_controller_decorator.rb
|
155
|
+
- app/decorators/controllers/solidus_braintree/client_tokens_controller.rb
|
156
|
+
- app/decorators/models/solidus_braintree/spree/store_decorator.rb
|
157
|
+
- app/decorators/models/solidus_braintree/spree/user_decorator.rb
|
158
|
+
- app/helpers/solidus_braintree/braintree_admin_helper.rb
|
159
|
+
- app/models/application_record.rb
|
160
|
+
- app/models/solidus_braintree/address.rb
|
161
|
+
- app/models/solidus_braintree/avs_result.rb
|
162
|
+
- app/models/solidus_braintree/configuration.rb
|
163
|
+
- app/models/solidus_braintree/customer.rb
|
164
|
+
- app/models/solidus_braintree/gateway.rb
|
165
|
+
- app/models/solidus_braintree/response.rb
|
166
|
+
- app/models/solidus_braintree/source.rb
|
167
|
+
- app/models/solidus_braintree/transaction.rb
|
168
|
+
- app/models/solidus_braintree/transaction_address.rb
|
169
|
+
- app/models/solidus_braintree/transaction_import.rb
|
170
|
+
- app/views/spree/api/payments/source_views/_braintree.json.jbuilder
|
337
171
|
- bin/console
|
172
|
+
- bin/dummy-app
|
338
173
|
- bin/rails
|
174
|
+
- bin/rails-dummy-app
|
175
|
+
- bin/rails-engine
|
176
|
+
- bin/rails-sandbox
|
177
|
+
- bin/rake
|
178
|
+
- bin/rspec
|
179
|
+
- bin/sandbox
|
339
180
|
- bin/setup
|
340
|
-
- config/initializers/braintree.rb
|
341
181
|
- config/locales/en.yml
|
182
|
+
- config/locales/it.yml
|
342
183
|
- config/routes.rb
|
343
|
-
- db/migrate/
|
344
|
-
- db/migrate/
|
345
|
-
-
|
346
|
-
-
|
347
|
-
-
|
348
|
-
-
|
184
|
+
- db/migrate/20160830061749_create_solidus_paypal_braintree_sources.rb
|
185
|
+
- db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
|
186
|
+
- db/migrate/20161114231422_create_solidus_paypal_braintree_configurations.rb
|
187
|
+
- db/migrate/20161125172005_add_braintree_configuration_to_stores.rb
|
188
|
+
- db/migrate/20170203191030_add_credit_card_to_braintree_configuration.rb
|
189
|
+
- db/migrate/20170505193712_add_null_constraint_to_sources.rb
|
190
|
+
- db/migrate/20170508085402_add_not_null_constraint_to_sources_payment_type.rb
|
191
|
+
- db/migrate/20190705115327_add_paypal_button_preferences_to_braintree_configurations.rb
|
192
|
+
- db/migrate/20190911141712_add_3d_secure_to_braintree_configuration.rb
|
193
|
+
- db/migrate/20211222170950_add_paypal_funding_source_to_solidus_paypal_braintree_sources.rb
|
194
|
+
- db/migrate/20220104150301_add_venmo_to_braintree_configuration.rb
|
195
|
+
- db/migrate/20230109080950_rename_solidus_paypal_braintree_source_type.rb
|
196
|
+
- db/migrate/20230210104310_add_device_data_to_braintree_sources.rb
|
197
|
+
- lib/controllers/backend/solidus_braintree/configurations_controller.rb
|
349
198
|
- lib/generators/solidus_braintree/install/install_generator.rb
|
199
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_280x48.svg
|
200
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_320x48.svg
|
201
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_blue_button_375x48.svg
|
202
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_280x48.svg
|
203
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_320x48.svg
|
204
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_active_white_button_375x48.svg
|
205
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_acceptance_mark.svg
|
206
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_button_280x48.svg
|
207
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_button_320x48.svg
|
208
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_button_375x48.svg
|
209
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_blue_logo.svg
|
210
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_acceptance_mark.svg
|
211
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_button_280x48.svg
|
212
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_button_320x48.svg
|
213
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_button_375x48.svg
|
214
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/images/solidus_braintree/venmo/venmo_white_logo.svg
|
215
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/paypal_button.js
|
216
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree.js
|
217
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/ajax.js
|
218
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/apple_pay_button.js
|
219
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/checkout.js
|
220
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/client.js
|
221
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/constants.js
|
222
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/frontend.js
|
223
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/hosted_form.js
|
224
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/paypal_button.js
|
225
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/paypal_messaging.js
|
226
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/promise.js
|
227
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/venmo_button.js
|
228
|
+
- lib/generators/solidus_braintree/install/templates/app/assets/stylesheets/spree/frontend/solidus_braintree.scss
|
229
|
+
- lib/generators/solidus_braintree/install/templates/app/controllers/solidus_braintree/checkouts_controller.rb
|
230
|
+
- lib/generators/solidus_braintree/install/templates/app/controllers/solidus_braintree/transactions_controller.rb
|
231
|
+
- lib/generators/solidus_braintree/install/templates/app/helpers/solidus_braintree/braintree_checkout_helper.rb
|
232
|
+
- lib/generators/solidus_braintree/install/templates/app/views/checkouts/existing_payment/_braintree.html.erb
|
233
|
+
- lib/generators/solidus_braintree/install/templates/app/views/checkouts/payment/_braintree.html.erb
|
234
|
+
- lib/generators/solidus_braintree/install/templates/app/views/payments/_braintree_payment_details.html.erb
|
235
|
+
- lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_apple_pay_button.html.erb
|
236
|
+
- lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_braintree_errors.html.erb
|
237
|
+
- lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_braintree_head_scripts.html.erb
|
238
|
+
- lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_braintree_hosted_fields.html.erb
|
239
|
+
- lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_paypal_cart_button.html.erb
|
240
|
+
- lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_paypal_checkout_button.html.erb
|
241
|
+
- lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_paypal_messaging.html.erb
|
242
|
+
- lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_venmo_button.html.erb
|
243
|
+
- lib/generators/solidus_braintree/install/templates/config/initializers/solidus_braintree.rb
|
350
244
|
- lib/solidus_braintree.rb
|
245
|
+
- lib/solidus_braintree/country_mapper.rb
|
351
246
|
- lib/solidus_braintree/engine.rb
|
247
|
+
- lib/solidus_braintree/extension_configuration.rb
|
248
|
+
- lib/solidus_braintree/request_protection.rb
|
352
249
|
- lib/solidus_braintree/version.rb
|
250
|
+
- lib/solidus_paypal_braintree.rb
|
251
|
+
- lib/views/backend/solidus_braintree/configurations/list.html.erb
|
252
|
+
- lib/views/backend/spree/admin/payments/source_forms/_braintree.html.erb
|
253
|
+
- lib/views/backend/spree/admin/payments/source_views/_braintree.html.erb
|
254
|
+
- lib/views/backend/spree/admin/shared/preference_fields/_preference_select.html.erb
|
255
|
+
- lib/views/backend_v1.2/spree/admin/payments/source_forms/_braintree.html.erb
|
256
|
+
- lib/views/backend_v2.4/spree/admin/shared/preference_fields/_hash.html.erb
|
353
257
|
- solidus_braintree.gemspec
|
354
|
-
|
258
|
+
- spec/controllers/solidus_braintree/checkouts_controller_spec.rb
|
259
|
+
- spec/controllers/solidus_braintree/client_tokens_controller_spec.rb
|
260
|
+
- spec/controllers/solidus_braintree/configurations_controller_spec.rb
|
261
|
+
- spec/controllers/solidus_braintree/transactions_controller_spec.rb
|
262
|
+
- spec/fixtures/cassettes/admin/invalid_credit_card.yml
|
263
|
+
- spec/fixtures/cassettes/admin/resubmit_credit_card.yml
|
264
|
+
- spec/fixtures/cassettes/admin/valid_credit_card.yml
|
265
|
+
- spec/fixtures/cassettes/braintree/create_profile.yml
|
266
|
+
- spec/fixtures/cassettes/braintree/generate_token.yml
|
267
|
+
- spec/fixtures/cassettes/braintree/token.yml
|
268
|
+
- spec/fixtures/cassettes/checkout/invalid_credit_card.yml
|
269
|
+
- spec/fixtures/cassettes/checkout/resubmit_credit_card.yml
|
270
|
+
- spec/fixtures/cassettes/checkout/update.yml
|
271
|
+
- spec/fixtures/cassettes/checkout/valid_credit_card.yml
|
272
|
+
- spec/fixtures/cassettes/checkout/valid_venmo_transaction.yml
|
273
|
+
- spec/fixtures/cassettes/gateway/authorize.yml
|
274
|
+
- spec/fixtures/cassettes/gateway/authorize/credit_card/address.yml
|
275
|
+
- spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml
|
276
|
+
- spec/fixtures/cassettes/gateway/authorize/paypal/EUR.yml
|
277
|
+
- spec/fixtures/cassettes/gateway/authorize/paypal/address.yml
|
278
|
+
- spec/fixtures/cassettes/gateway/authorized_transaction.yml
|
279
|
+
- spec/fixtures/cassettes/gateway/cancel/missing.yml
|
280
|
+
- spec/fixtures/cassettes/gateway/cancel/refunds.yml
|
281
|
+
- spec/fixtures/cassettes/gateway/cancel/void.yml
|
282
|
+
- spec/fixtures/cassettes/gateway/capture.yml
|
283
|
+
- spec/fixtures/cassettes/gateway/complete.yml
|
284
|
+
- spec/fixtures/cassettes/gateway/credit.yml
|
285
|
+
- spec/fixtures/cassettes/gateway/customer.yml
|
286
|
+
- spec/fixtures/cassettes/gateway/purchase.yml
|
287
|
+
- spec/fixtures/cassettes/gateway/settled_transaction.yml
|
288
|
+
- spec/fixtures/cassettes/gateway/void.yml
|
289
|
+
- spec/fixtures/cassettes/source/bin.yml
|
290
|
+
- spec/fixtures/cassettes/source/card_type.yml
|
291
|
+
- spec/fixtures/cassettes/source/last4.yml
|
292
|
+
- spec/fixtures/cassettes/transaction/import/valid.yml
|
293
|
+
- spec/fixtures/cassettes/transaction/import/valid/capture.yml
|
294
|
+
- spec/fixtures/views/carts/_cart_footer.html.erb
|
295
|
+
- spec/helpers/solidus_braintree/braintree_admin_helper_spec.rb
|
296
|
+
- spec/helpers/solidus_braintree/braintree_checkout_helper_spec.rb
|
297
|
+
- spec/models/solidus_braintree/address_spec.rb
|
298
|
+
- spec/models/solidus_braintree/avs_result_spec.rb
|
299
|
+
- spec/models/solidus_braintree/gateway_spec.rb
|
300
|
+
- spec/models/solidus_braintree/response_spec.rb
|
301
|
+
- spec/models/solidus_braintree/source_spec.rb
|
302
|
+
- spec/models/solidus_braintree/transaction_address_spec.rb
|
303
|
+
- spec/models/solidus_braintree/transaction_import_spec.rb
|
304
|
+
- spec/models/solidus_braintree/transaction_spec.rb
|
305
|
+
- spec/models/spree/store_spec.rb
|
306
|
+
- spec/requests/spree/api/orders_controller_spec.rb
|
307
|
+
- spec/solidus_braintree_helper.rb
|
308
|
+
- spec/support/solidus_braintree/capybara.rb
|
309
|
+
- spec/support/solidus_braintree/factories.rb
|
310
|
+
- spec/support/solidus_braintree/gateway_helpers.rb
|
311
|
+
- spec/support/solidus_braintree/order_ready_for_payment.rb
|
312
|
+
- spec/support/solidus_braintree/order_walkthrough.rb
|
313
|
+
- spec/support/solidus_braintree/vcr.rb
|
314
|
+
- spec/support/solidus_braintree/with_prepended_view_fixtures.rb
|
315
|
+
- spec/system/backend/configuration_spec.rb
|
316
|
+
- spec/system/backend/new_payment_spec.rb
|
317
|
+
- spec/system/frontend/braintree_credit_card_checkout_spec.rb
|
318
|
+
- spec/system/frontend/paypal_checkout_spec.rb
|
319
|
+
- spec/system/frontend/venmo_checkout_spec.rb
|
320
|
+
homepage: https://github.com/solidusio/solidus_braintree
|
355
321
|
licenses:
|
356
|
-
-
|
357
|
-
metadata:
|
358
|
-
|
322
|
+
- BSD-3-Clause
|
323
|
+
metadata:
|
324
|
+
homepage_uri: https://github.com/solidusio/solidus_braintree
|
325
|
+
source_code_uri: https://github.com/solidusio/solidus_braintree
|
326
|
+
changelog_uri: https://github.com/solidusio/solidus_braintree/blob/master/CHANGELOG.md
|
327
|
+
post_install_message: If you're upgrading to v2.0.0, please see the README for upgrade
|
328
|
+
instructions.
|
359
329
|
rdoc_options: []
|
360
330
|
require_paths:
|
361
331
|
- lib
|
@@ -363,16 +333,80 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
363
333
|
requirements:
|
364
334
|
- - ">="
|
365
335
|
- !ruby/object:Gem::Version
|
366
|
-
version: '
|
336
|
+
version: '2.7'
|
337
|
+
- - "<"
|
338
|
+
- !ruby/object:Gem::Version
|
339
|
+
version: '4'
|
367
340
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
368
341
|
requirements:
|
369
342
|
- - ">="
|
370
343
|
- !ruby/object:Gem::Version
|
371
344
|
version: '0'
|
372
345
|
requirements: []
|
373
|
-
|
374
|
-
|
375
|
-
signing_key:
|
346
|
+
rubygems_version: 3.3.7
|
347
|
+
signing_key:
|
376
348
|
specification_version: 4
|
377
|
-
summary:
|
378
|
-
test_files:
|
349
|
+
summary: Officially supported Braintree extension
|
350
|
+
test_files:
|
351
|
+
- spec/controllers/solidus_braintree/checkouts_controller_spec.rb
|
352
|
+
- spec/controllers/solidus_braintree/client_tokens_controller_spec.rb
|
353
|
+
- spec/controllers/solidus_braintree/configurations_controller_spec.rb
|
354
|
+
- spec/controllers/solidus_braintree/transactions_controller_spec.rb
|
355
|
+
- spec/fixtures/cassettes/admin/invalid_credit_card.yml
|
356
|
+
- spec/fixtures/cassettes/admin/resubmit_credit_card.yml
|
357
|
+
- spec/fixtures/cassettes/admin/valid_credit_card.yml
|
358
|
+
- spec/fixtures/cassettes/braintree/create_profile.yml
|
359
|
+
- spec/fixtures/cassettes/braintree/generate_token.yml
|
360
|
+
- spec/fixtures/cassettes/braintree/token.yml
|
361
|
+
- spec/fixtures/cassettes/checkout/invalid_credit_card.yml
|
362
|
+
- spec/fixtures/cassettes/checkout/resubmit_credit_card.yml
|
363
|
+
- spec/fixtures/cassettes/checkout/update.yml
|
364
|
+
- spec/fixtures/cassettes/checkout/valid_credit_card.yml
|
365
|
+
- spec/fixtures/cassettes/checkout/valid_venmo_transaction.yml
|
366
|
+
- spec/fixtures/cassettes/gateway/authorize.yml
|
367
|
+
- spec/fixtures/cassettes/gateway/authorize/credit_card/address.yml
|
368
|
+
- spec/fixtures/cassettes/gateway/authorize/merchant_account/EUR.yml
|
369
|
+
- spec/fixtures/cassettes/gateway/authorize/paypal/EUR.yml
|
370
|
+
- spec/fixtures/cassettes/gateway/authorize/paypal/address.yml
|
371
|
+
- spec/fixtures/cassettes/gateway/authorized_transaction.yml
|
372
|
+
- spec/fixtures/cassettes/gateway/cancel/missing.yml
|
373
|
+
- spec/fixtures/cassettes/gateway/cancel/refunds.yml
|
374
|
+
- spec/fixtures/cassettes/gateway/cancel/void.yml
|
375
|
+
- spec/fixtures/cassettes/gateway/capture.yml
|
376
|
+
- spec/fixtures/cassettes/gateway/complete.yml
|
377
|
+
- spec/fixtures/cassettes/gateway/credit.yml
|
378
|
+
- spec/fixtures/cassettes/gateway/customer.yml
|
379
|
+
- spec/fixtures/cassettes/gateway/purchase.yml
|
380
|
+
- spec/fixtures/cassettes/gateway/settled_transaction.yml
|
381
|
+
- spec/fixtures/cassettes/gateway/void.yml
|
382
|
+
- spec/fixtures/cassettes/source/bin.yml
|
383
|
+
- spec/fixtures/cassettes/source/card_type.yml
|
384
|
+
- spec/fixtures/cassettes/source/last4.yml
|
385
|
+
- spec/fixtures/cassettes/transaction/import/valid.yml
|
386
|
+
- spec/fixtures/cassettes/transaction/import/valid/capture.yml
|
387
|
+
- spec/fixtures/views/carts/_cart_footer.html.erb
|
388
|
+
- spec/helpers/solidus_braintree/braintree_admin_helper_spec.rb
|
389
|
+
- spec/helpers/solidus_braintree/braintree_checkout_helper_spec.rb
|
390
|
+
- spec/models/solidus_braintree/address_spec.rb
|
391
|
+
- spec/models/solidus_braintree/avs_result_spec.rb
|
392
|
+
- spec/models/solidus_braintree/gateway_spec.rb
|
393
|
+
- spec/models/solidus_braintree/response_spec.rb
|
394
|
+
- spec/models/solidus_braintree/source_spec.rb
|
395
|
+
- spec/models/solidus_braintree/transaction_address_spec.rb
|
396
|
+
- spec/models/solidus_braintree/transaction_import_spec.rb
|
397
|
+
- spec/models/solidus_braintree/transaction_spec.rb
|
398
|
+
- spec/models/spree/store_spec.rb
|
399
|
+
- spec/requests/spree/api/orders_controller_spec.rb
|
400
|
+
- spec/solidus_braintree_helper.rb
|
401
|
+
- spec/support/solidus_braintree/capybara.rb
|
402
|
+
- spec/support/solidus_braintree/factories.rb
|
403
|
+
- spec/support/solidus_braintree/gateway_helpers.rb
|
404
|
+
- spec/support/solidus_braintree/order_ready_for_payment.rb
|
405
|
+
- spec/support/solidus_braintree/order_walkthrough.rb
|
406
|
+
- spec/support/solidus_braintree/vcr.rb
|
407
|
+
- spec/support/solidus_braintree/with_prepended_view_fixtures.rb
|
408
|
+
- spec/system/backend/configuration_spec.rb
|
409
|
+
- spec/system/backend/new_payment_spec.rb
|
410
|
+
- spec/system/frontend/braintree_credit_card_checkout_spec.rb
|
411
|
+
- spec/system/frontend/paypal_checkout_spec.rb
|
412
|
+
- spec/system/frontend/venmo_checkout_spec.rb
|