solidus_paypal_braintree 0.4.0 → 1.1.1
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 +44 -0
- data/.gem_release.yml +5 -0
- data/.github/stale.yml +17 -0
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/.rubocop.yml +76 -0
- data/CHANGELOG.md +327 -0
- data/Gemfile +38 -0
- data/LICENSE +2 -2
- data/README.md +170 -25
- data/Rakefile +4 -25
- data/app/assets/config/solidus_paypal_braintree_manifest.js +1 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_active_blue_button_280x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_active_blue_button_320x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_active_blue_button_375x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_active_white_button_280x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_active_white_button_320x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_active_white_button_375x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_blue_acceptance_mark.svg +15 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_blue_button_280x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_blue_button_320x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_blue_button_375x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_blue_logo.svg +18 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_white_acceptance_mark.svg +20 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_white_button_280x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_white_button_320x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_white_button_375x48.svg +19 -0
- data/app/assets/images/solidus_paypal_braintree/venmo/venmo_white_logo.svg +18 -0
- data/app/assets/javascripts/solidus_paypal_braintree/checkout.js +32 -3
- data/app/assets/javascripts/solidus_paypal_braintree/client.js +57 -4
- data/app/assets/javascripts/solidus_paypal_braintree/constants.js +27 -0
- data/app/assets/javascripts/solidus_paypal_braintree/frontend.js +2 -0
- data/app/assets/javascripts/solidus_paypal_braintree/hosted_form.js +15 -5
- data/app/assets/javascripts/solidus_paypal_braintree/paypal_button.js +71 -21
- data/app/assets/javascripts/solidus_paypal_braintree/paypal_messaging.js +22 -0
- data/app/assets/javascripts/solidus_paypal_braintree/venmo_button.js +86 -0
- data/app/assets/javascripts/spree/backend/solidus_paypal_braintree.js +2 -2
- data/app/assets/javascripts/spree/frontend/paypal_button.js +3 -3
- data/app/assets/stylesheets/spree/frontend/solidus_paypal_braintree.css +12 -0
- data/app/decorators/controllers/solidus_paypal_braintree/admin_payments_controller_decorator.rb +11 -0
- data/app/decorators/controllers/solidus_paypal_braintree/checkout_controller_decorator.rb +11 -0
- data/app/decorators/controllers/solidus_paypal_braintree/client_tokens_controller.rb +41 -0
- data/app/decorators/controllers/solidus_paypal_braintree/orders_controller_decorator.rb +11 -0
- data/app/decorators/models/solidus_paypal_braintree/spree/store_decorator.rb +20 -0
- data/app/decorators/models/solidus_paypal_braintree/spree/user_decorator.rb +13 -0
- data/app/helpers/solidus_paypal_braintree/braintree_admin_helper.rb +23 -0
- data/app/helpers/solidus_paypal_braintree/braintree_checkout_helper.rb +60 -0
- data/app/models/application_record.rb +2 -0
- data/app/models/solidus_paypal_braintree/address.rb +64 -0
- data/app/models/solidus_paypal_braintree/avs_result.rb +3 -0
- data/app/models/solidus_paypal_braintree/configuration.rb +39 -3
- data/app/models/solidus_paypal_braintree/customer.rb +7 -3
- data/app/models/solidus_paypal_braintree/gateway.rb +80 -21
- data/app/models/solidus_paypal_braintree/response.rb +3 -2
- data/app/models/solidus_paypal_braintree/source.rb +51 -8
- data/app/models/solidus_paypal_braintree/transaction.rb +5 -3
- data/app/models/solidus_paypal_braintree/transaction_address.rb +34 -12
- data/app/models/solidus_paypal_braintree/transaction_import.rb +17 -12
- data/app/overrides/spree/payments/payment/add_paypal_funding_source_to_payment.rb +9 -0
- data/app/views/spree/api/payments/source_views/_paypal_braintree.json.jbuilder +3 -0
- data/app/views/spree/checkout/existing_payment/_paypal_braintree.html.erb +10 -0
- data/app/views/spree/shared/_apple_pay_button.html.erb +2 -2
- data/app/views/spree/shared/_braintree_errors.html.erb +14 -17
- data/app/views/spree/shared/_braintree_hosted_fields.html.erb +24 -9
- data/app/views/spree/shared/_paypal_braintree_head_scripts.html.erb +13 -6
- data/app/views/spree/shared/_paypal_cart_button.html.erb +18 -2
- 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 +17 -0
- data/bin/rails +15 -0
- data/bin/setup +8 -0
- data/config/locales/en.yml +44 -0
- data/config/locales/it.yml +53 -8
- data/config/routes.rb +2 -0
- data/db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb +3 -1
- data/db/migrate/20161125172005_add_braintree_configuration_to_stores.rb +5 -7
- data/db/migrate/20170505193712_add_null_constraint_to_sources.rb +3 -1
- 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/lib/controllers/backend/solidus_paypal_braintree/configurations_controller.rb +23 -5
- data/lib/controllers/frontend/solidus_paypal_braintree/checkouts_controller.rb +25 -21
- data/lib/controllers/frontend/solidus_paypal_braintree/transactions_controller.rb +56 -51
- data/lib/generators/solidus_paypal_braintree/install/install_generator.rb +7 -5
- data/lib/solidus_paypal_braintree/country_mapper.rb +4 -2
- data/lib/solidus_paypal_braintree/engine.rb +17 -13
- data/lib/solidus_paypal_braintree/factories.rb +39 -4
- data/lib/solidus_paypal_braintree/request_protection.rb +3 -0
- data/lib/solidus_paypal_braintree/version.rb +3 -1
- data/lib/solidus_paypal_braintree.rb +4 -0
- data/lib/views/backend/solidus_paypal_braintree/configurations/list.html.erb +38 -5
- data/lib/views/backend/spree/admin/payments/source_forms/_paypal_braintree.html.erb +2 -2
- data/lib/views/backend/spree/admin/payments/source_views/_paypal_braintree.html.erb +7 -2
- 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/_paypal_braintree.html.erb +2 -2
- data/lib/views/frontend/solidus_paypal_braintree/payments/_payment.html.erb +12 -0
- data/lib/views/frontend/spree/checkout/payment/_paypal_braintree.html.erb +8 -2
- data/lib/views/frontend/spree/shared/_paypal_checkout_button.html.erb +32 -0
- data/solidus_paypal_braintree.gemspec +42 -0
- metadata +95 -188
- data/app/controllers/solidus_paypal_braintree/client_tokens_controller.rb +0 -22
- data/app/helpers/braintree_admin_helper.rb +0 -18
- data/app/models/spree/store_decorator.rb +0 -11
- data/app/views/spree/shared/_paypal_checkout_button.html.erb +0 -27
- data/config/initializers/braintree.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63e1ccf774638a7a86d78396a9faf2ded82d2ac849bd197c9f554b52d2257d23
|
4
|
+
data.tar.gz: 7aad39ea3e0eb572558213b51093e3fab40fed516a39802e2dafa6ae62914432
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bffb9a52eacfa27ed6633a7f7c01eacc8aec2f0f2b2e25ca5cb1e7ef66556f2486f320260b0544186516a7f87663d3b10ef52c267343089ab822612fb0ca4c2
|
7
|
+
data.tar.gz: 3e4827feb921fc1e2d324408333ef34c89dfb01837bf1973fc998529323cfe2112970ff1d33b8f4d8792ad37df3c474516c9c2d35e5ed0fb03ee6408f969cd85
|
@@ -0,0 +1,44 @@
|
|
1
|
+
version: 2.1
|
2
|
+
|
3
|
+
orbs:
|
4
|
+
browser-tools: circleci/browser-tools@1.1
|
5
|
+
|
6
|
+
# Always take the latest version of the orb, this allows us to
|
7
|
+
# run specs against Solidus supported versions only without the need
|
8
|
+
# to change this configuration every time a Solidus version is released
|
9
|
+
# or goes EOL.
|
10
|
+
solidusio_extensions: solidusio/extensions@volatile
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
run-specs-with-postgres:
|
14
|
+
executor: solidusio_extensions/postgres
|
15
|
+
steps:
|
16
|
+
- browser-tools/install-browser-tools
|
17
|
+
- solidusio_extensions/run-tests
|
18
|
+
run-specs-with-mysql:
|
19
|
+
executor: solidusio_extensions/mysql
|
20
|
+
steps:
|
21
|
+
- browser-tools/install-browser-tools
|
22
|
+
- solidusio_extensions/run-tests
|
23
|
+
lint-code:
|
24
|
+
executor: solidusio_extensions/sqlite-memory
|
25
|
+
steps:
|
26
|
+
- solidusio_extensions/lint-code
|
27
|
+
|
28
|
+
workflows:
|
29
|
+
"Run specs on supported Solidus versions":
|
30
|
+
jobs:
|
31
|
+
- run-specs-with-postgres
|
32
|
+
- run-specs-with-mysql
|
33
|
+
- lint-code
|
34
|
+
"Weekly run specs against master":
|
35
|
+
triggers:
|
36
|
+
- schedule:
|
37
|
+
cron: "0 0 * * 4" # every Thursday
|
38
|
+
filters:
|
39
|
+
branches:
|
40
|
+
only:
|
41
|
+
- master
|
42
|
+
jobs:
|
43
|
+
- run-specs-with-postgres
|
44
|
+
- run-specs-with-mysql
|
data/.gem_release.yml
ADDED
data/.github/stale.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Number of days of inactivity before an issue becomes stale
|
2
|
+
daysUntilStale: 60
|
3
|
+
# Number of days of inactivity before a stale issue is closed
|
4
|
+
daysUntilClose: 7
|
5
|
+
# Issues with these labels will never be considered stale
|
6
|
+
exemptLabels:
|
7
|
+
- pinned
|
8
|
+
- security
|
9
|
+
# Label to use when marking an issue as stale
|
10
|
+
staleLabel: wontfix
|
11
|
+
# Comment to post when marking an issue as stale. Set to `false` to disable
|
12
|
+
markComment: >
|
13
|
+
This issue has been automatically marked as stale because it has not had
|
14
|
+
recent activity. It will be closed if no further activity occurs. Thank you
|
15
|
+
for your contributions.
|
16
|
+
# Comment to post when closing a stale issue. Set to `false` to disable
|
17
|
+
closeComment: false
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
require:
|
2
|
+
- solidus_dev_support/rubocop
|
3
|
+
|
4
|
+
AllCops:
|
5
|
+
NewCops: enable
|
6
|
+
TargetRubyVersion: 2.5
|
7
|
+
|
8
|
+
Layout/FirstArgumentIndentation:
|
9
|
+
EnforcedStyle: consistent
|
10
|
+
|
11
|
+
Layout/FirstArrayElementIndentation:
|
12
|
+
EnforcedStyle: consistent
|
13
|
+
|
14
|
+
Layout/FirstHashElementIndentation:
|
15
|
+
EnforcedStyle: consistent
|
16
|
+
|
17
|
+
Layout/MultilineMethodCallIndentation:
|
18
|
+
EnforcedStyle: indented
|
19
|
+
|
20
|
+
Naming/VariableNumber:
|
21
|
+
Enabled: false
|
22
|
+
|
23
|
+
# We use this extensively, the alternatives are not viable or desirable.
|
24
|
+
RSpec/AnyInstance:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
# No need to make the code more complex for no real gain.
|
28
|
+
RSpec/MessageSpies:
|
29
|
+
Enabled: false
|
30
|
+
|
31
|
+
# Let's consider legitimate to have multiple expectations within an example.
|
32
|
+
RSpec/MultipleExpectations:
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
# Allow to use subject as is, no big deal.
|
36
|
+
RSpec/NamedSubject:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
# Let's set this to some really exagerate value.
|
40
|
+
RSpec/NestedGroups:
|
41
|
+
Max: 8
|
42
|
+
|
43
|
+
# We don't use the FactoryBot mixin
|
44
|
+
RSpec/FactoryBot/SyntaxMethods:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
RSpec/VerifiedDoubles:
|
48
|
+
# Sometimes you really need an "anything" double
|
49
|
+
IgnoreSymbolicNames: true
|
50
|
+
|
51
|
+
Style/FrozenStringLiteralComment:
|
52
|
+
Exclude:
|
53
|
+
- spec/**/*
|
54
|
+
- db/migrate/**/*
|
55
|
+
- bin/**/*
|
56
|
+
|
57
|
+
Style/ExplicitBlockArgument:
|
58
|
+
Exclude:
|
59
|
+
- lib/solidus_paypal_braintree/request_protection.rb
|
60
|
+
|
61
|
+
Rails/SkipsModelValidations:
|
62
|
+
Exclude:
|
63
|
+
- db/migrate/**/*
|
64
|
+
|
65
|
+
Rails/ReflectionClassName:
|
66
|
+
Exclude:
|
67
|
+
- app/models/solidus_paypal_braintree/customer.rb
|
68
|
+
- app/models/solidus_paypal_braintree/source.rb
|
69
|
+
|
70
|
+
RSpec/MultipleMemoizedHelpers:
|
71
|
+
Exclude:
|
72
|
+
- spec/models/solidus_paypal_braintree/transaction_import_spec.rb
|
73
|
+
- spec/models/solidus_paypal_braintree/response_spec.rb
|
74
|
+
- spec/models/solidus_paypal_braintree/gateway_spec.rb
|
75
|
+
- spec/controllers/solidus_paypal_braintree/client_tokens_controller_spec.rb
|
76
|
+
- spec/features/frontend/braintree_credit_card_checkout_spec.rb
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,327 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [v1.1.1](https://github.com/solidusio/solidus_paypal_braintree/tree/v1.1.1) (2022-06-30)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_braintree/compare/v1.1.0...v1.1.1)
|
6
|
+
|
7
|
+
**Closed issues:**
|
8
|
+
|
9
|
+
- StateMachines::InvalidTransition: Cannot transition state via :invalidate from :checkout \(Reason\(s\): Payment method can't be blank\) [\#320](https://github.com/solidusio/solidus_paypal_braintree/issues/320)
|
10
|
+
- Enable Venmo [\#304](https://github.com/solidusio/solidus_paypal_braintree/issues/304)
|
11
|
+
- Make the Venmo button testable from outside US contries [\#303](https://github.com/solidusio/solidus_paypal_braintree/issues/303)
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- Make gem compatible with Rails 7 [\#321](https://github.com/solidusio/solidus_paypal_braintree/pull/321) ([gsmendoza](https://github.com/gsmendoza))
|
16
|
+
- Rubocop -a on spec files [\#317](https://github.com/solidusio/solidus_paypal_braintree/pull/317) ([tvdeyen](https://github.com/tvdeyen))
|
17
|
+
- Add email to Braintree customer [\#310](https://github.com/solidusio/solidus_paypal_braintree/pull/310) ([RyanofWoods](https://github.com/RyanofWoods))
|
18
|
+
|
19
|
+
## [v1.1.0](https://github.com/solidusio/solidus_paypal_braintree/tree/v1.1.0) (2022-02-01)
|
20
|
+
|
21
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_braintree/compare/v1.0.0...v1.1.0)
|
22
|
+
|
23
|
+
**Closed issues:**
|
24
|
+
|
25
|
+
- solidus-frontend dependency still exists [\#294](https://github.com/solidusio/solidus_paypal_braintree/issues/294)
|
26
|
+
- Could we get a new release? [\#259](https://github.com/solidusio/solidus_paypal_braintree/issues/259)
|
27
|
+
|
28
|
+
**Merged pull requests:**
|
29
|
+
|
30
|
+
- Lower ActiveRecord::Migration version in add\_paypal\_funding\_source [\#314](https://github.com/solidusio/solidus_paypal_braintree/pull/314) ([mamhoff](https://github.com/mamhoff))
|
31
|
+
- Fix rubocop warnings [\#313](https://github.com/solidusio/solidus_paypal_braintree/pull/313) ([mamhoff](https://github.com/mamhoff))
|
32
|
+
- Add skip\_avs and skip\_cvv AVS Result Mapping [\#312](https://github.com/solidusio/solidus_paypal_braintree/pull/312) ([mamhoff](https://github.com/mamhoff))
|
33
|
+
- Integrate Braintree Venmo [\#311](https://github.com/solidusio/solidus_paypal_braintree/pull/311) ([RyanofWoods](https://github.com/RyanofWoods))
|
34
|
+
- Require MFA for RubyGems actions [\#306](https://github.com/solidusio/solidus_paypal_braintree/pull/306) ([RyanofWoods](https://github.com/RyanofWoods))
|
35
|
+
- Add Venmo as a PayPal funding option for checkout [\#305](https://github.com/solidusio/solidus_paypal_braintree/pull/305) ([RyanofWoods](https://github.com/RyanofWoods))
|
36
|
+
- Update PayPal configuration steps in README [\#300](https://github.com/solidusio/solidus_paypal_braintree/pull/300) ([RyanofWoods](https://github.com/RyanofWoods))
|
37
|
+
- Update to Braintree 3.4.0 [\#299](https://github.com/solidusio/solidus_paypal_braintree/pull/299) ([pelargir](https://github.com/pelargir))
|
38
|
+
- Remove remaining frontend dependencies [\#296](https://github.com/solidusio/solidus_paypal_braintree/pull/296) ([Rtwena](https://github.com/Rtwena))
|
39
|
+
- Set sandbox mode if environment is sandbox [\#291](https://github.com/solidusio/solidus_paypal_braintree/pull/291) ([alexblackie](https://github.com/alexblackie))
|
40
|
+
- Update to Solidus 3.0 [\#286](https://github.com/solidusio/solidus_paypal_braintree/pull/286) ([MinasMazar](https://github.com/MinasMazar))
|
41
|
+
- Added 3ds errors in it locale [\#285](https://github.com/solidusio/solidus_paypal_braintree/pull/285) ([thomasrossetto](https://github.com/thomasrossetto))
|
42
|
+
- Make use of data collector in JS configurable [\#238](https://github.com/solidusio/solidus_paypal_braintree/pull/238) ([mamhoff](https://github.com/mamhoff))
|
43
|
+
|
44
|
+
## [v1.0.0](https://github.com/solidusio/solidus_paypal_braintree/tree/v1.0.0) (2020-11-11)
|
45
|
+
|
46
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_braintree/compare/v0.4.0...v1.0.0)
|
47
|
+
|
48
|
+
**Implemented enhancements:**
|
49
|
+
|
50
|
+
- Respect Spree::Config\[:address\_requires\_state\] setting in frontend view rendering [\#93](https://github.com/solidusio/solidus_paypal_braintree/issues/93)
|
51
|
+
|
52
|
+
**Closed issues:**
|
53
|
+
|
54
|
+
- Make the PayPal messaging component a bit more modular [\#281](https://github.com/solidusio/solidus_paypal_braintree/issues/281)
|
55
|
+
- Error launching migrations [\#262](https://github.com/solidusio/solidus_paypal_braintree/issues/262)
|
56
|
+
- Refunds not allowed after a PayPal dispute has been resolved [\#256](https://github.com/solidusio/solidus_paypal_braintree/issues/256)
|
57
|
+
- Spree::Core::GatewayError generates error [\#254](https://github.com/solidusio/solidus_paypal_braintree/issues/254)
|
58
|
+
- Paypal button preference helper not found [\#251](https://github.com/solidusio/solidus_paypal_braintree/issues/251)
|
59
|
+
- Installer breaks during migration [\#244](https://github.com/solidusio/solidus_paypal_braintree/issues/244)
|
60
|
+
- Some card unsuccessful verification numbers are accepted and marked as paid [\#241](https://github.com/solidusio/solidus_paypal_braintree/issues/241)
|
61
|
+
- PayPal button: customize style [\#229](https://github.com/solidusio/solidus_paypal_braintree/issues/229)
|
62
|
+
- On PayPal payment user shipping address gets set with uncorrect firstname and lastname values if they contain a space [\#226](https://github.com/solidusio/solidus_paypal_braintree/issues/226)
|
63
|
+
- Default Braintree configuration on store creation overwrites custom configuration [\#224](https://github.com/solidusio/solidus_paypal_braintree/issues/224)
|
64
|
+
- Undefined local variable or method `id' error on payment page [\#222](https://github.com/solidusio/solidus_paypal_braintree/issues/222)
|
65
|
+
- Can't render JSON about an order as SolidusPaypalBraintree::Source doesn't have a `expiration_month` method [\#221](https://github.com/solidusio/solidus_paypal_braintree/issues/221)
|
66
|
+
- Paypal payment return invalid address [\#218](https://github.com/solidusio/solidus_paypal_braintree/issues/218)
|
67
|
+
- Random Travis CI Failures [\#215](https://github.com/solidusio/solidus_paypal_braintree/issues/215)
|
68
|
+
- Add Association for spree user to customer [\#210](https://github.com/solidusio/solidus_paypal_braintree/issues/210)
|
69
|
+
- Ambiguous behavior for generate token method [\#208](https://github.com/solidusio/solidus_paypal_braintree/issues/208)
|
70
|
+
- Unable to pass specs locally when developing for gem [\#207](https://github.com/solidusio/solidus_paypal_braintree/issues/207)
|
71
|
+
- Nonce payment sources should not be reusable [\#203](https://github.com/solidusio/solidus_paypal_braintree/issues/203)
|
72
|
+
- Save and Continue button disabled for credit card payments - Rails 5.2.0 [\#202](https://github.com/solidusio/solidus_paypal_braintree/issues/202)
|
73
|
+
- when only using PayPal invalid address on return [\#195](https://github.com/solidusio/solidus_paypal_braintree/issues/195)
|
74
|
+
- Unable to set preference source [\#194](https://github.com/solidusio/solidus_paypal_braintree/issues/194)
|
75
|
+
- hard dependency on solidus instead of just solidus\_core [\#187](https://github.com/solidusio/solidus_paypal_braintree/issues/187)
|
76
|
+
- patch release 0.4.1 [\#186](https://github.com/solidusio/solidus_paypal_braintree/issues/186)
|
77
|
+
- Amount must be greater than zero. \(81531\) [\#185](https://github.com/solidusio/solidus_paypal_braintree/issues/185)
|
78
|
+
- ActiveRecord::SubclassNotFound [\#184](https://github.com/solidusio/solidus_paypal_braintree/issues/184)
|
79
|
+
- state: '\#{address.state.name}' undefined for Hong Kong address \(or countries with no states\) [\#182](https://github.com/solidusio/solidus_paypal_braintree/issues/182)
|
80
|
+
- ReferenceError: braintree is not defined [\#181](https://github.com/solidusio/solidus_paypal_braintree/issues/181)
|
81
|
+
- Page refreshes from payment -\> confirm step [\#172](https://github.com/solidusio/solidus_paypal_braintree/issues/172)
|
82
|
+
- Creditcard fields are readonly [\#171](https://github.com/solidusio/solidus_paypal_braintree/issues/171)
|
83
|
+
- Solidus 2.6 requires spree/api/payments/source\_views/\_paypal\_braintree.json.jbuilder [\#167](https://github.com/solidusio/solidus_paypal_braintree/issues/167)
|
84
|
+
- Will there be a integration of 3D Secure soon? [\#162](https://github.com/solidusio/solidus_paypal_braintree/issues/162)
|
85
|
+
- Products invisible in Admin Order view / Crash in the log [\#159](https://github.com/solidusio/solidus_paypal_braintree/issues/159)
|
86
|
+
- Invalid transactions, NoMethodError \(strip\) when cancelling order with invalid payment [\#158](https://github.com/solidusio/solidus_paypal_braintree/issues/158)
|
87
|
+
- NoMethodError in Spree::Checkout\#edit when address.state == nil [\#156](https://github.com/solidusio/solidus_paypal_braintree/issues/156)
|
88
|
+
- Cancel PayPal order causes 500 error [\#155](https://github.com/solidusio/solidus_paypal_braintree/issues/155)
|
89
|
+
- Silent failure after payment [\#153](https://github.com/solidusio/solidus_paypal_braintree/issues/153)
|
90
|
+
- Undefined local variable or method `solidus\_paypal\_braintree' [\#152](https://github.com/solidusio/solidus_paypal_braintree/issues/152)
|
91
|
+
- Braintree Callback Webhooks Supported? [\#148](https://github.com/solidusio/solidus_paypal_braintree/issues/148)
|
92
|
+
- Missing partial spree/checkout/existing\_payment/\_paypal\_braintree [\#135](https://github.com/solidusio/solidus_paypal_braintree/issues/135)
|
93
|
+
- No route if the engine is not mounted in Solidus path [\#134](https://github.com/solidusio/solidus_paypal_braintree/issues/134)
|
94
|
+
- Allow passing of styles and placeholder text into braintree hosted fields [\#121](https://github.com/solidusio/solidus_paypal_braintree/issues/121)
|
95
|
+
- When spree javascript is included at bottom of page, checkout fails [\#119](https://github.com/solidusio/solidus_paypal_braintree/issues/119)
|
96
|
+
- Document "Paypal Payee Email Map" [\#103](https://github.com/solidusio/solidus_paypal_braintree/issues/103)
|
97
|
+
- Disable backend CC submit button until ready [\#102](https://github.com/solidusio/solidus_paypal_braintree/issues/102)
|
98
|
+
- Documentation improvements [\#92](https://github.com/solidusio/solidus_paypal_braintree/issues/92)
|
99
|
+
|
100
|
+
**Merged pull requests:**
|
101
|
+
|
102
|
+
- Add note about PayPal recommendations for messaging component [\#280](https://github.com/solidusio/solidus_paypal_braintree/pull/280) ([seand7565](https://github.com/seand7565))
|
103
|
+
- Move decorators to the correct folders and add EngineExtensions [\#279](https://github.com/solidusio/solidus_paypal_braintree/pull/279) ([seand7565](https://github.com/seand7565))
|
104
|
+
- Disable PayPal messaging when vault flow is enabled [\#278](https://github.com/solidusio/solidus_paypal_braintree/pull/278) ([seand7565](https://github.com/seand7565))
|
105
|
+
- Fix deprecated solidus\_gem\_version reference in spec [\#277](https://github.com/solidusio/solidus_paypal_braintree/pull/277) ([pelargir](https://github.com/pelargir))
|
106
|
+
- Allow user to specify style and placeholder\_text of hosted\_fields [\#276](https://github.com/solidusio/solidus_paypal_braintree/pull/276) ([seand7565](https://github.com/seand7565))
|
107
|
+
- Add a PayPal messaging component partial [\#275](https://github.com/solidusio/solidus_paypal_braintree/pull/275) ([seand7565](https://github.com/seand7565))
|
108
|
+
- Sanitize user address json for PayPal button [\#274](https://github.com/solidusio/solidus_paypal_braintree/pull/274) ([seand7565](https://github.com/seand7565))
|
109
|
+
- Add PayPal messaging component to cart button partial [\#273](https://github.com/solidusio/solidus_paypal_braintree/pull/273) ([seand7565](https://github.com/seand7565))
|
110
|
+
- Update transaction\_address to support name attribute [\#271](https://github.com/solidusio/solidus_paypal_braintree/pull/271) ([seand7565](https://github.com/seand7565))
|
111
|
+
- Fix api source view path [\#270](https://github.com/solidusio/solidus_paypal_braintree/pull/270) ([seand7565](https://github.com/seand7565))
|
112
|
+
- Add info about paypal\_payee\_map to readme [\#269](https://github.com/solidusio/solidus_paypal_braintree/pull/269) ([seand7565](https://github.com/seand7565))
|
113
|
+
- Update rubocop definitions and fix violations [\#268](https://github.com/solidusio/solidus_paypal_braintree/pull/268) ([seand7565](https://github.com/seand7565))
|
114
|
+
- Update to New PayPal SDK [\#267](https://github.com/solidusio/solidus_paypal_braintree/pull/267) ([seand7565](https://github.com/seand7565))
|
115
|
+
- Fix Spree::Core lookup in gateway [\#266](https://github.com/solidusio/solidus_paypal_braintree/pull/266) ([seand7565](https://github.com/seand7565))
|
116
|
+
- Move decorators out of models folder [\#265](https://github.com/solidusio/solidus_paypal_braintree/pull/265) ([seand7565](https://github.com/seand7565))
|
117
|
+
- Fix 3DS testing [\#264](https://github.com/solidusio/solidus_paypal_braintree/pull/264) ([seand7565](https://github.com/seand7565))
|
118
|
+
- Fix value conversion method [\#263](https://github.com/solidusio/solidus_paypal_braintree/pull/263) ([seand7565](https://github.com/seand7565))
|
119
|
+
- Updated solidus\_support gem version [\#261](https://github.com/solidusio/solidus_paypal_braintree/pull/261) ([mustiag](https://github.com/mustiag))
|
120
|
+
- Fix feature specs with new CC expiration date [\#253](https://github.com/solidusio/solidus_paypal_braintree/pull/253) ([MinasMazar](https://github.com/MinasMazar))
|
121
|
+
- Fix Braintree checkout helpers [\#252](https://github.com/solidusio/solidus_paypal_braintree/pull/252) ([MinasMazar](https://github.com/MinasMazar))
|
122
|
+
- Remove AddBraintreeConfigurationToStores migration [\#249](https://github.com/solidusio/solidus_paypal_braintree/pull/249) ([MinasMazar](https://github.com/MinasMazar))
|
123
|
+
- Upgrade the extension using solidus\_dev\_support [\#248](https://github.com/solidusio/solidus_paypal_braintree/pull/248) ([blocknotes](https://github.com/blocknotes))
|
124
|
+
- Update README.md [\#246](https://github.com/solidusio/solidus_paypal_braintree/pull/246) ([bazfer](https://github.com/bazfer))
|
125
|
+
- Make http open and read timeouts configurable [\#245](https://github.com/solidusio/solidus_paypal_braintree/pull/245) ([tvdeyen](https://github.com/tvdeyen))
|
126
|
+
- Add PayPal button customizable style also for cart page [\#243](https://github.com/solidusio/solidus_paypal_braintree/pull/243) ([MinasMazar](https://github.com/MinasMazar))
|
127
|
+
- Respect vault/checkout configuration on cart paypal button [\#239](https://github.com/solidusio/solidus_paypal_braintree/pull/239) ([mamhoff](https://github.com/mamhoff))
|
128
|
+
- Only add state if available in Paypal Checkout Button View [\#237](https://github.com/solidusio/solidus_paypal_braintree/pull/237) ([mamhoff](https://github.com/mamhoff))
|
129
|
+
- Let PayPal button to receive locale/style parameters [\#236](https://github.com/solidusio/solidus_paypal_braintree/pull/236) ([MinasMazar](https://github.com/MinasMazar))
|
130
|
+
- Fix shipping contact name for ApplePay [\#234](https://github.com/solidusio/solidus_paypal_braintree/pull/234) ([cedum](https://github.com/cedum))
|
131
|
+
- Adopt CircleCI instead of Travis [\#233](https://github.com/solidusio/solidus_paypal_braintree/pull/233) ([aldesantis](https://github.com/aldesantis))
|
132
|
+
- Introduce 3D Secure support for credit cards [\#232](https://github.com/solidusio/solidus_paypal_braintree/pull/232) ([cedum](https://github.com/cedum))
|
133
|
+
- Update italian translations [\#230](https://github.com/solidusio/solidus_paypal_braintree/pull/230) ([delphaber](https://github.com/delphaber))
|
134
|
+
- Skip building default config on config presence [\#225](https://github.com/solidusio/solidus_paypal_braintree/pull/225) ([mdesantis](https://github.com/mdesantis))
|
135
|
+
- Fix undefined local variable or method `id' error [\#223](https://github.com/solidusio/solidus_paypal_braintree/pull/223) ([mdesantis](https://github.com/mdesantis))
|
136
|
+
- Simplify Solidus Dependencies [\#220](https://github.com/solidusio/solidus_paypal_braintree/pull/220) ([gmacdougall](https://github.com/gmacdougall))
|
137
|
+
- Extension maintenance [\#216](https://github.com/solidusio/solidus_paypal_braintree/pull/216) ([aitbw](https://github.com/aitbw))
|
138
|
+
- Add byebug dependency [\#214](https://github.com/solidusio/solidus_paypal_braintree/pull/214) ([skukx](https://github.com/skukx))
|
139
|
+
- Add API payment source view for Braintree payments [\#213](https://github.com/solidusio/solidus_paypal_braintree/pull/213) ([aldesantis](https://github.com/aldesantis))
|
140
|
+
- Add association from user to customer [\#211](https://github.com/solidusio/solidus_paypal_braintree/pull/211) ([skukx](https://github.com/skukx))
|
141
|
+
- Fix ambiguous behavior in generate\_token method [\#209](https://github.com/solidusio/solidus_paypal_braintree/pull/209) ([skukx](https://github.com/skukx))
|
142
|
+
- Make nonce-only payment sources non-reusable [\#204](https://github.com/solidusio/solidus_paypal_braintree/pull/204) ([fastjames](https://github.com/fastjames))
|
143
|
+
- Check for rails-ujs object when re-enabling button [\#201](https://github.com/solidusio/solidus_paypal_braintree/pull/201) ([masonjeffreys](https://github.com/masonjeffreys))
|
144
|
+
- Allow null address Paypal payload [\#199](https://github.com/solidusio/solidus_paypal_braintree/pull/199) ([alepore](https://github.com/alepore))
|
145
|
+
- Display Paypal setup errors on console [\#198](https://github.com/solidusio/solidus_paypal_braintree/pull/198) ([alepore](https://github.com/alepore))
|
146
|
+
- Fix CI build [\#193](https://github.com/solidusio/solidus_paypal_braintree/pull/193) ([kennyadsl](https://github.com/kennyadsl))
|
147
|
+
- Remove versions past EOL from .travis.yml [\#189](https://github.com/solidusio/solidus_paypal_braintree/pull/189) ([jacobherrington](https://github.com/jacobherrington))
|
148
|
+
- Add Solidus 2.7 to .travis.yml [\#188](https://github.com/solidusio/solidus_paypal_braintree/pull/188) ([jacobherrington](https://github.com/jacobherrington))
|
149
|
+
- Manage PAYPAL\_POPUP\_CLOSED JS error [\#183](https://github.com/solidusio/solidus_paypal_braintree/pull/183) ([spaghetticode](https://github.com/spaghetticode))
|
150
|
+
- Add fields to match Spree::CreditCard's interface [\#180](https://github.com/solidusio/solidus_paypal_braintree/pull/180) ([adammathys](https://github.com/adammathys))
|
151
|
+
- Add existing payments partial [\#175](https://github.com/solidusio/solidus_paypal_braintree/pull/175) ([alepore](https://github.com/alepore))
|
152
|
+
- Fix error display [\#174](https://github.com/solidusio/solidus_paypal_braintree/pull/174) ([alepore](https://github.com/alepore))
|
153
|
+
- Express Checkout support [\#168](https://github.com/solidusio/solidus_paypal_braintree/pull/168) ([aldesantis](https://github.com/aldesantis))
|
154
|
+
- Update PayPal configuration instructions [\#164](https://github.com/solidusio/solidus_paypal_braintree/pull/164) ([kennyadsl](https://github.com/kennyadsl))
|
155
|
+
|
156
|
+
## [v0.4.0](https://github.com/solidusio/solidus_paypal_braintree/tree/v0.4.0) (2018-07-20)
|
157
|
+
|
158
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_braintree/compare/v0.3.0...v0.4.0)
|
159
|
+
|
160
|
+
**Closed issues:**
|
161
|
+
|
162
|
+
- Move from the deprecated paypal.js library to the current paypal-checkout.js library? [\#157](https://github.com/solidusio/solidus_paypal_braintree/issues/157)
|
163
|
+
|
164
|
+
**Merged pull requests:**
|
165
|
+
|
166
|
+
- Prepare 0.4.0 release. [\#179](https://github.com/solidusio/solidus_paypal_braintree/pull/179) ([snarfmason](https://github.com/snarfmason))
|
167
|
+
- Remove Deface [\#178](https://github.com/solidusio/solidus_paypal_braintree/pull/178) ([snarfmason](https://github.com/snarfmason))
|
168
|
+
- Update CI Ruby and specs config [\#177](https://github.com/solidusio/solidus_paypal_braintree/pull/177) ([alepore](https://github.com/alepore))
|
169
|
+
- Fix Gateway\#try\_void expecting a respose code instead of a payment [\#173](https://github.com/solidusio/solidus_paypal_braintree/pull/173) ([aldesantis](https://github.com/aldesantis))
|
170
|
+
- Update Braintree and PayPal libs [\#170](https://github.com/solidusio/solidus_paypal_braintree/pull/170) ([alepore](https://github.com/alepore))
|
171
|
+
- Scope the payment method lookup to store when the id is unknown [\#150](https://github.com/solidusio/solidus_paypal_braintree/pull/150) ([dholdren](https://github.com/dholdren))
|
172
|
+
- Restart checkout when cart Paypal button is used [\#144](https://github.com/solidusio/solidus_paypal_braintree/pull/144) ([alepore](https://github.com/alepore))
|
173
|
+
- Set Braintree log level as a gateway preference [\#110](https://github.com/solidusio/solidus_paypal_braintree/pull/110) ([isaacfreeman](https://github.com/isaacfreeman))
|
174
|
+
|
175
|
+
## [v0.3.0](https://github.com/solidusio/solidus_paypal_braintree/tree/v0.3.0) (2018-05-25)
|
176
|
+
|
177
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_braintree/compare/v0.2.0...v0.3.0)
|
178
|
+
|
179
|
+
**Closed issues:**
|
180
|
+
|
181
|
+
- Using Only PayPal [\#166](https://github.com/solidusio/solidus_paypal_braintree/issues/166)
|
182
|
+
- Handle changed address from Paypal [\#163](https://github.com/solidusio/solidus_paypal_braintree/issues/163)
|
183
|
+
- ActiveRecord::SubclassNotFound after trying to save payment gateway record [\#147](https://github.com/solidusio/solidus_paypal_braintree/issues/147)
|
184
|
+
- uninitialized constant AVSResult [\#137](https://github.com/solidusio/solidus_paypal_braintree/issues/137)
|
185
|
+
- Missing partial spree/admin/shared/preference\_fields/\_hash [\#132](https://github.com/solidusio/solidus_paypal_braintree/issues/132)
|
186
|
+
- Allow sources to be added to the wallet on charge [\#122](https://github.com/solidusio/solidus_paypal_braintree/issues/122)
|
187
|
+
- Address deprecation warnings [\#108](https://github.com/solidusio/solidus_paypal_braintree/issues/108)
|
188
|
+
|
189
|
+
**Merged pull requests:**
|
190
|
+
|
191
|
+
- Remove unmaintained Solidus versions from the build matrix [\#169](https://github.com/solidusio/solidus_paypal_braintree/pull/169) ([aldesantis](https://github.com/aldesantis))
|
192
|
+
- Specify bourbon \<5 [\#146](https://github.com/solidusio/solidus_paypal_braintree/pull/146) ([jhawthorn](https://github.com/jhawthorn))
|
193
|
+
- Use latest Bundler while building [\#145](https://github.com/solidusio/solidus_paypal_braintree/pull/145) ([tvdeyen](https://github.com/tvdeyen))
|
194
|
+
- Recalculate payment total when order total decreases [\#142](https://github.com/solidusio/solidus_paypal_braintree/pull/142) ([dholdren](https://github.com/dholdren))
|
195
|
+
- Update TransactionAddress\#state\_code validation [\#141](https://github.com/solidusio/solidus_paypal_braintree/pull/141) ([alepore](https://github.com/alepore))
|
196
|
+
- Remove Transaction\#phone validation [\#140](https://github.com/solidusio/solidus_paypal_braintree/pull/140) ([alepore](https://github.com/alepore))
|
197
|
+
- Rescue Braintree void errors and refund instead [\#139](https://github.com/solidusio/solidus_paypal_braintree/pull/139) ([tvdeyen](https://github.com/tvdeyen))
|
198
|
+
- fix uninitialized constant AVSResult \#137 [\#138](https://github.com/solidusio/solidus_paypal_braintree/pull/138) ([afdev82](https://github.com/afdev82))
|
199
|
+
- Add a partial for the hash preference field [\#136](https://github.com/solidusio/solidus_paypal_braintree/pull/136) ([tvdeyen](https://github.com/tvdeyen))
|
200
|
+
- Support 18n for Braintree error messages [\#133](https://github.com/solidusio/solidus_paypal_braintree/pull/133) ([vassalloandrea](https://github.com/vassalloandrea))
|
201
|
+
- Follow the factory\_bot rename [\#131](https://github.com/solidusio/solidus_paypal_braintree/pull/131) ([tvdeyen](https://github.com/tvdeyen))
|
202
|
+
- Pend paypal spec if paypal popup not available [\#130](https://github.com/solidusio/solidus_paypal_braintree/pull/130) ([tvdeyen](https://github.com/tvdeyen))
|
203
|
+
- Add more versions and test both DBs on travis [\#129](https://github.com/solidusio/solidus_paypal_braintree/pull/129) ([jhawthorn](https://github.com/jhawthorn))
|
204
|
+
- Use the shared spec\_helper from solidus\_support [\#128](https://github.com/solidusio/solidus_paypal_braintree/pull/128) ([tvdeyen](https://github.com/tvdeyen))
|
205
|
+
- Try to harden the PayPal integration spec [\#127](https://github.com/solidusio/solidus_paypal_braintree/pull/127) ([tvdeyen](https://github.com/tvdeyen))
|
206
|
+
- Protect against connection errors [\#126](https://github.com/solidusio/solidus_paypal_braintree/pull/126) ([tvdeyen](https://github.com/tvdeyen))
|
207
|
+
- Adding ffaker as test dependency [\#125](https://github.com/solidusio/solidus_paypal_braintree/pull/125) ([tvdeyen](https://github.com/tvdeyen))
|
208
|
+
- Rescue Braintree::NotFound errors in source display methods [\#124](https://github.com/solidusio/solidus_paypal_braintree/pull/124) ([tvdeyen](https://github.com/tvdeyen))
|
209
|
+
- Allows the paypal\_braintree source to be added to the wallet on checkout [\#123](https://github.com/solidusio/solidus_paypal_braintree/pull/123) ([joeljackson](https://github.com/joeljackson))
|
210
|
+
- Update braintree client libs to v3.22.1 [\#118](https://github.com/solidusio/solidus_paypal_braintree/pull/118) ([tvdeyen](https://github.com/tvdeyen))
|
211
|
+
- Minor improvements to README.md [\#117](https://github.com/solidusio/solidus_paypal_braintree/pull/117) ([isaacfreeman](https://github.com/isaacfreeman))
|
212
|
+
- Better error handling [\#115](https://github.com/solidusio/solidus_paypal_braintree/pull/115) ([tvdeyen](https://github.com/tvdeyen))
|
213
|
+
- Fix the address retrieval on the PayPal payload [\#112](https://github.com/solidusio/solidus_paypal_braintree/pull/112) ([tvdeyen](https://github.com/tvdeyen))
|
214
|
+
- Fix deprecated code [\#111](https://github.com/solidusio/solidus_paypal_braintree/pull/111) ([isaacfreeman](https://github.com/isaacfreeman))
|
215
|
+
- Use transaction status to decide if payment can\_void? [\#109](https://github.com/solidusio/solidus_paypal_braintree/pull/109) ([tvdeyen](https://github.com/tvdeyen))
|
216
|
+
|
217
|
+
## [v0.2.0](https://github.com/solidusio/solidus_paypal_braintree/tree/v0.2.0) (2017-07-20)
|
218
|
+
|
219
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_braintree/compare/v0.1.0...v0.2.0)
|
220
|
+
|
221
|
+
**Merged pull requests:**
|
222
|
+
|
223
|
+
- JS Overhaul [\#101](https://github.com/solidusio/solidus_paypal_braintree/pull/101) ([isaacfreeman](https://github.com/isaacfreeman))
|
224
|
+
|
225
|
+
## [v0.1.0](https://github.com/solidusio/solidus_paypal_braintree/tree/v0.1.0) (2017-07-17)
|
226
|
+
|
227
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_braintree/compare/86edca9b8a31a0d7a092f1871d53eb3191523c4c...v0.1.0)
|
228
|
+
|
229
|
+
**Closed issues:**
|
230
|
+
|
231
|
+
- Payments in backend not working [\#74](https://github.com/solidusio/solidus_paypal_braintree/issues/74)
|
232
|
+
- Strip whitespace on payment methods form fields. [\#66](https://github.com/solidusio/solidus_paypal_braintree/issues/66)
|
233
|
+
- Generate token with existing braintree customer id. [\#63](https://github.com/solidusio/solidus_paypal_braintree/issues/63)
|
234
|
+
|
235
|
+
**Merged pull requests:**
|
236
|
+
|
237
|
+
- Show transaction link [\#107](https://github.com/solidusio/solidus_paypal_braintree/pull/107) ([isaacfreeman](https://github.com/isaacfreeman))
|
238
|
+
- Rename Gateway\#method\_type to Gateway\#partial\_name [\#105](https://github.com/solidusio/solidus_paypal_braintree/pull/105) ([isaacfreeman](https://github.com/isaacfreeman))
|
239
|
+
- Setup recipe in README.md [\#100](https://github.com/solidusio/solidus_paypal_braintree/pull/100) ([isaacfreeman](https://github.com/isaacfreeman))
|
240
|
+
- Make Paypal button bg transparent on hover [\#99](https://github.com/solidusio/solidus_paypal_braintree/pull/99) ([isaacfreeman](https://github.com/isaacfreeman))
|
241
|
+
- Backend payments [\#97](https://github.com/solidusio/solidus_paypal_braintree/pull/97) ([isaacfreeman](https://github.com/isaacfreeman))
|
242
|
+
- Support Rails 5.1 [\#95](https://github.com/solidusio/solidus_paypal_braintree/pull/95) ([isaacfreeman](https://github.com/isaacfreeman))
|
243
|
+
- Set payment type for credit cards [\#91](https://github.com/solidusio/solidus_paypal_braintree/pull/91) ([Senjai](https://github.com/Senjai))
|
244
|
+
- Add translation for Credit Card payment type [\#89](https://github.com/solidusio/solidus_paypal_braintree/pull/89) ([luukveenis](https://github.com/luukveenis))
|
245
|
+
- Asset pipeline fixes [\#88](https://github.com/solidusio/solidus_paypal_braintree/pull/88) ([tvdeyen](https://github.com/tvdeyen))
|
246
|
+
- Attempt to stop infinite dep resolution [\#87](https://github.com/solidusio/solidus_paypal_braintree/pull/87) ([Senjai](https://github.com/Senjai))
|
247
|
+
- Use flashes for displaying frontend errors [\#86](https://github.com/solidusio/solidus_paypal_braintree/pull/86) ([Senjai](https://github.com/Senjai))
|
248
|
+
- Always use the same zipcode in address factory [\#84](https://github.com/solidusio/solidus_paypal_braintree/pull/84) ([tvdeyen](https://github.com/tvdeyen))
|
249
|
+
- Ensure payment\_method\_id cannot be null on sources [\#83](https://github.com/solidusio/solidus_paypal_braintree/pull/83) ([Senjai](https://github.com/Senjai))
|
250
|
+
- Use Spree user class handle [\#82](https://github.com/solidusio/solidus_paypal_braintree/pull/82) ([tvdeyen](https://github.com/tvdeyen))
|
251
|
+
- Send billing address with credit card transactions [\#81](https://github.com/solidusio/solidus_paypal_braintree/pull/81) ([tvdeyen](https://github.com/tvdeyen))
|
252
|
+
- Coverage [\#78](https://github.com/solidusio/solidus_paypal_braintree/pull/78) ([Senjai](https://github.com/Senjai))
|
253
|
+
- Test 2.1 and 2.2 [\#77](https://github.com/solidusio/solidus_paypal_braintree/pull/77) ([Senjai](https://github.com/Senjai))
|
254
|
+
- Add alias for last\_4 [\#76](https://github.com/solidusio/solidus_paypal_braintree/pull/76) ([adammathys](https://github.com/adammathys))
|
255
|
+
- Submit shipping address with PayPal transactions [\#75](https://github.com/solidusio/solidus_paypal_braintree/pull/75) ([luukveenis](https://github.com/luukveenis))
|
256
|
+
- Spec fixes [\#73](https://github.com/solidusio/solidus_paypal_braintree/pull/73) ([Senjai](https://github.com/Senjai))
|
257
|
+
- Handle processor and gateway error responses [\#72](https://github.com/solidusio/solidus_paypal_braintree/pull/72) ([luukveenis](https://github.com/luukveenis))
|
258
|
+
- Fix credit card spec [\#71](https://github.com/solidusio/solidus_paypal_braintree/pull/71) ([adammathys](https://github.com/adammathys))
|
259
|
+
- Handle errors when creating customer [\#70](https://github.com/solidusio/solidus_paypal_braintree/pull/70) ([adammathys](https://github.com/adammathys))
|
260
|
+
- Download phantomjs from github mirror [\#69](https://github.com/solidusio/solidus_paypal_braintree/pull/69) ([omnistegan](https://github.com/omnistegan))
|
261
|
+
- Remove vendored assets [\#67](https://github.com/solidusio/solidus_paypal_braintree/pull/67) ([adammathys](https://github.com/adammathys))
|
262
|
+
- Only setup Apple Pay if HTTPS [\#65](https://github.com/solidusio/solidus_paypal_braintree/pull/65) ([adammathys](https://github.com/adammathys))
|
263
|
+
- Bump Braintree JS to 3.9.0 [\#64](https://github.com/solidusio/solidus_paypal_braintree/pull/64) ([adammathys](https://github.com/adammathys))
|
264
|
+
- Couple of minor improvements [\#62](https://github.com/solidusio/solidus_paypal_braintree/pull/62) ([adammathys](https://github.com/adammathys))
|
265
|
+
- Clean-up vendor assets [\#61](https://github.com/solidusio/solidus_paypal_braintree/pull/61) ([adammathys](https://github.com/adammathys))
|
266
|
+
- Add convenience methods for card details [\#60](https://github.com/solidusio/solidus_paypal_braintree/pull/60) ([adammathys](https://github.com/adammathys))
|
267
|
+
- Some minor project fixes [\#59](https://github.com/solidusio/solidus_paypal_braintree/pull/59) ([adammathys](https://github.com/adammathys))
|
268
|
+
- Add dependent :destroy to configuration association [\#58](https://github.com/solidusio/solidus_paypal_braintree/pull/58) ([luukveenis](https://github.com/luukveenis))
|
269
|
+
- Bump rubocop and add exclude blocklength from spec [\#57](https://github.com/solidusio/solidus_paypal_braintree/pull/57) ([cbrunsdon](https://github.com/cbrunsdon))
|
270
|
+
- Add 'channel' param to payment requests [\#56](https://github.com/solidusio/solidus_paypal_braintree/pull/56) ([luukveenis](https://github.com/luukveenis))
|
271
|
+
- Fix error when saving braintree payment method [\#55](https://github.com/solidusio/solidus_paypal_braintree/pull/55) ([luukveenis](https://github.com/luukveenis))
|
272
|
+
- Adds '\n' to the routes.rb addition [\#54](https://github.com/solidusio/solidus_paypal_braintree/pull/54) ([seantaylor](https://github.com/seantaylor))
|
273
|
+
- Some small spec fixes [\#53](https://github.com/solidusio/solidus_paypal_braintree/pull/53) ([adammathys](https://github.com/adammathys))
|
274
|
+
- Add Apple Pay section to README [\#52](https://github.com/solidusio/solidus_paypal_braintree/pull/52) ([adammathys](https://github.com/adammathys))
|
275
|
+
- Update usage instructions in README [\#51](https://github.com/solidusio/solidus_paypal_braintree/pull/51) ([luukveenis](https://github.com/luukveenis))
|
276
|
+
- Add proper intro to README [\#50](https://github.com/solidusio/solidus_paypal_braintree/pull/50) ([adammathys](https://github.com/adammathys))
|
277
|
+
- Pass order state to transaction import [\#48](https://github.com/solidusio/solidus_paypal_braintree/pull/48) ([luukveenis](https://github.com/luukveenis))
|
278
|
+
- Validate the address on a transaction if it exists [\#47](https://github.com/solidusio/solidus_paypal_braintree/pull/47) ([luukveenis](https://github.com/luukveenis))
|
279
|
+
- Set PayPal payee emails as preference on gateway [\#46](https://github.com/solidusio/solidus_paypal_braintree/pull/46) ([luukveenis](https://github.com/luukveenis))
|
280
|
+
- Fix Apple Pay feature spec [\#45](https://github.com/solidusio/solidus_paypal_braintree/pull/45) ([luukveenis](https://github.com/luukveenis))
|
281
|
+
- Add Braintree configuration to Spree::Store model [\#44](https://github.com/solidusio/solidus_paypal_braintree/pull/44) ([luukveenis](https://github.com/luukveenis))
|
282
|
+
- Map country names to ISO codes [\#43](https://github.com/solidusio/solidus_paypal_braintree/pull/43) ([luukveenis](https://github.com/luukveenis))
|
283
|
+
- Enable PayPal as a payment method [\#42](https://github.com/solidusio/solidus_paypal_braintree/pull/42) ([luukveenis](https://github.com/luukveenis))
|
284
|
+
- Submit transactions via AJAX [\#41](https://github.com/solidusio/solidus_paypal_braintree/pull/41) ([luukveenis](https://github.com/luukveenis))
|
285
|
+
- Support tokens without specifying payment\_method [\#40](https://github.com/solidusio/solidus_paypal_braintree/pull/40) ([cbrunsdon](https://github.com/cbrunsdon))
|
286
|
+
- Enable Braintree credit card payments via hosted fields [\#39](https://github.com/solidusio/solidus_paypal_braintree/pull/39) ([luukveenis](https://github.com/luukveenis))
|
287
|
+
- Address improvements [\#38](https://github.com/solidusio/solidus_paypal_braintree/pull/38) ([cbrunsdon](https://github.com/cbrunsdon))
|
288
|
+
- Add a javascript method to fetch braintree tokens [\#37](https://github.com/solidusio/solidus_paypal_braintree/pull/37) ([cbrunsdon](https://github.com/cbrunsdon))
|
289
|
+
- Braintree nonce and cassettes update [\#36](https://github.com/solidusio/solidus_paypal_braintree/pull/36) ([omnistegan](https://github.com/omnistegan))
|
290
|
+
- Update transaction\_import to work correctly on solidus master [\#35](https://github.com/solidusio/solidus_paypal_braintree/pull/35) ([omnistegan](https://github.com/omnistegan))
|
291
|
+
- Support multiple merchant account ids by currency [\#33](https://github.com/solidusio/solidus_paypal_braintree/pull/33) ([cbrunsdon](https://github.com/cbrunsdon))
|
292
|
+
- Default to US country code [\#32](https://github.com/solidusio/solidus_paypal_braintree/pull/32) ([adammathys](https://github.com/adammathys))
|
293
|
+
- Allow JSON requests to transactions controller [\#31](https://github.com/solidusio/solidus_paypal_braintree/pull/31) ([luukveenis](https://github.com/luukveenis))
|
294
|
+
- Vcr improvements [\#30](https://github.com/solidusio/solidus_paypal_braintree/pull/30) ([cbrunsdon](https://github.com/cbrunsdon))
|
295
|
+
- Only prompt for email for not logged in users [\#29](https://github.com/solidusio/solidus_paypal_braintree/pull/29) ([luukveenis](https://github.com/luukveenis))
|
296
|
+
- Implement API Controller to generate client tokens [\#28](https://github.com/solidusio/solidus_paypal_braintree/pull/28) ([stewart](https://github.com/stewart))
|
297
|
+
- Conditionally load frontend code [\#27](https://github.com/solidusio/solidus_paypal_braintree/pull/27) ([adammathys](https://github.com/adammathys))
|
298
|
+
- Show Source token in source\_view [\#26](https://github.com/solidusio/solidus_paypal_braintree/pull/26) ([stewart](https://github.com/stewart))
|
299
|
+
- Set token on Source when creating customer profile [\#25](https://github.com/solidusio/solidus_paypal_braintree/pull/25) ([stewart](https://github.com/stewart))
|
300
|
+
- Validate address before processing imports [\#24](https://github.com/solidusio/solidus_paypal_braintree/pull/24) ([luukveenis](https://github.com/luukveenis))
|
301
|
+
- Add tests for gateway and source models [\#23](https://github.com/solidusio/solidus_paypal_braintree/pull/23) ([luukveenis](https://github.com/luukveenis))
|
302
|
+
- Raise error for invalid transactions and add specs [\#22](https://github.com/solidusio/solidus_paypal_braintree/pull/22) ([luukveenis](https://github.com/luukveenis))
|
303
|
+
- Save payment type to source [\#21](https://github.com/solidusio/solidus_paypal_braintree/pull/21) ([luukveenis](https://github.com/luukveenis))
|
304
|
+
- Correctly parse error message for failure response [\#20](https://github.com/solidusio/solidus_paypal_braintree/pull/20) ([stewart](https://github.com/stewart))
|
305
|
+
- Upcase country [\#19](https://github.com/solidusio/solidus_paypal_braintree/pull/19) ([cbrunsdon](https://github.com/cbrunsdon))
|
306
|
+
- Add Source View [\#18](https://github.com/solidusio/solidus_paypal_braintree/pull/18) ([stewart](https://github.com/stewart))
|
307
|
+
- Add actions, can\_\*? predicate methods to Source [\#17](https://github.com/solidusio/solidus_paypal_braintree/pull/17) ([stewart](https://github.com/stewart))
|
308
|
+
- End to end transaction [\#16](https://github.com/solidusio/solidus_paypal_braintree/pull/16) ([cbrunsdon](https://github.com/cbrunsdon))
|
309
|
+
- Correct foreign\_key creation for payment\_method reference on Source [\#15](https://github.com/solidusio/solidus_paypal_braintree/pull/15) ([stewart](https://github.com/stewart))
|
310
|
+
- Update Gateway Configuration [\#14](https://github.com/solidusio/solidus_paypal_braintree/pull/14) ([stewart](https://github.com/stewart))
|
311
|
+
- Use Braintree Customer ID, Payment Method ID when creating transactions [\#13](https://github.com/solidusio/solidus_paypal_braintree/pull/13) ([stewart](https://github.com/stewart))
|
312
|
+
- Register gateway with Solidus [\#12](https://github.com/solidusio/solidus_paypal_braintree/pull/12) ([adammathys](https://github.com/adammathys))
|
313
|
+
- Add Gateway\#cancel [\#11](https://github.com/solidusio/solidus_paypal_braintree/pull/11) ([adammathys](https://github.com/adammathys))
|
314
|
+
- Implement Gateway\#create\_profile [\#10](https://github.com/solidusio/solidus_paypal_braintree/pull/10) ([stewart](https://github.com/stewart))
|
315
|
+
- Add option to send extra options to Braintree [\#9](https://github.com/solidusio/solidus_paypal_braintree/pull/9) ([adammathys](https://github.com/adammathys))
|
316
|
+
- Convert cents to dollars [\#8](https://github.com/solidusio/solidus_paypal_braintree/pull/8) ([adammathys](https://github.com/adammathys))
|
317
|
+
- Add ability to capture authorized payments [\#7](https://github.com/solidusio/solidus_paypal_braintree/pull/7) ([adammathys](https://github.com/adammathys))
|
318
|
+
- VCR Fixups [\#6](https://github.com/solidusio/solidus_paypal_braintree/pull/6) ([stewart](https://github.com/stewart))
|
319
|
+
- Add support for refunding payments [\#5](https://github.com/solidusio/solidus_paypal_braintree/pull/5) ([adammathys](https://github.com/adammathys))
|
320
|
+
- Add implementation for authorization transactions [\#4](https://github.com/solidusio/solidus_paypal_braintree/pull/4) ([stewart](https://github.com/stewart))
|
321
|
+
- Implement voiding transactions [\#3](https://github.com/solidusio/solidus_paypal_braintree/pull/3) ([adammathys](https://github.com/adammathys))
|
322
|
+
- Some minor clean-up [\#2](https://github.com/solidusio/solidus_paypal_braintree/pull/2) ([adammathys](https://github.com/adammathys))
|
323
|
+
- FIx Up Test Environment [\#1](https://github.com/solidusio/solidus_paypal_braintree/pull/1) ([stewart](https://github.com/stewart))
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
5
|
+
|
6
|
+
branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
|
7
|
+
gem 'solidus', github: 'solidusio/solidus', branch: branch
|
8
|
+
|
9
|
+
gem 'rails', ENV.fetch('RAILS_VERSION', nil)
|
10
|
+
|
11
|
+
# Provides basic authentication functionality for testing parts of your engine
|
12
|
+
gem 'solidus_auth_devise'
|
13
|
+
|
14
|
+
# Asset compilation speed
|
15
|
+
gem 'mini_racer'
|
16
|
+
gem 'sassc-rails', platforms: :mri
|
17
|
+
|
18
|
+
gem 'bourbon'
|
19
|
+
|
20
|
+
case ENV.fetch('DB', nil)
|
21
|
+
when 'mysql'
|
22
|
+
gem 'mysql2'
|
23
|
+
when 'postgresql'
|
24
|
+
gem 'pg'
|
25
|
+
else
|
26
|
+
gem 'sqlite3'
|
27
|
+
end
|
28
|
+
|
29
|
+
group :test do
|
30
|
+
gem 'rails-controller-testing'
|
31
|
+
gem 'webdrivers'
|
32
|
+
end
|
33
|
+
|
34
|
+
gemspec
|
35
|
+
|
36
|
+
# Use a local Gemfile to include development dependencies that might not be
|
37
|
+
# relevant for the project or for other contributors, e.g.: `gem 'pry-debug'`.
|
38
|
+
eval_gemfile 'Gemfile-local' if File.exist? 'Gemfile-local'
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2016 Stembolt
|
1
|
+
Copyright (c) 2016-2020 Stembolt and other contributors
|
2
2
|
All rights reserved.
|
3
3
|
|
4
4
|
Redistribution and use in source and binary forms, with or without modification,
|
@@ -9,7 +9,7 @@ are permitted provided that the following conditions are met:
|
|
9
9
|
* Redistributions in binary form must reproduce the above copyright notice,
|
10
10
|
this list of conditions and the following disclaimer in the documentation
|
11
11
|
and/or other materials provided with the distribution.
|
12
|
-
* Neither the name
|
12
|
+
* Neither the name Solidus nor the names of its contributors may be used to
|
13
13
|
endorse or promote products derived from this software without specific
|
14
14
|
prior written permission.
|
15
15
|
|