solidus_braintree 3.0.0 → 3.1.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 +9 -7
- data/.rspec +1 -1
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +1 -197
- data/Gemfile +1 -5
- data/OLD_CHANGELOG.md +199 -0
- data/README.md +3 -3
- data/Rakefile +4 -0
- data/app/models/solidus_braintree/gateway.rb +1 -1
- data/app/models/solidus_braintree/transaction.rb +1 -1
- data/app/models/solidus_braintree/transaction_import.rb +1 -0
- data/bin/dummy-app +1 -3
- data/bin/rspec +1 -0
- data/bin/sandbox +2 -2
- data/lib/generators/solidus_braintree/install/install_generator.rb +1 -1
- data/lib/generators/solidus_braintree/install/templates/app/assets/javascripts/spree/frontend/solidus_braintree/paypal_button.js +2 -1
- data/lib/generators/solidus_braintree/install/templates/app/controllers/solidus_braintree/transactions_controller.rb +2 -1
- data/lib/generators/solidus_braintree/install/templates/app/views/spree/shared/_paypal_checkout_button.html.erb +1 -0
- data/lib/solidus_braintree/engine.rb +16 -6
- data/lib/solidus_braintree/version.rb +1 -1
- data/solidus_braintree.gemspec +5 -6
- data/spec/controllers/solidus_braintree/checkouts_controller_spec.rb +1 -1
- data/spec/controllers/solidus_braintree/client_tokens_controller_spec.rb +1 -1
- data/spec/controllers/solidus_braintree/configurations_controller_spec.rb +1 -1
- data/spec/controllers/solidus_braintree/transactions_controller_spec.rb +1 -1
- data/spec/helpers/solidus_braintree/braintree_admin_helper_spec.rb +1 -1
- data/spec/helpers/solidus_braintree/braintree_checkout_helper_spec.rb +1 -1
- data/spec/models/solidus_braintree/address_spec.rb +1 -1
- data/spec/models/solidus_braintree/avs_result_spec.rb +1 -1
- data/spec/models/solidus_braintree/gateway_spec.rb +1 -1
- data/spec/models/solidus_braintree/response_spec.rb +1 -1
- data/spec/models/solidus_braintree/source_spec.rb +1 -1
- data/spec/models/solidus_braintree/transaction_address_spec.rb +1 -1
- data/spec/models/solidus_braintree/transaction_import_spec.rb +1 -1
- data/spec/models/solidus_braintree/transaction_spec.rb +1 -1
- data/spec/models/spree/store_spec.rb +1 -1
- data/spec/requests/spree/api/orders_controller_spec.rb +1 -1
- data/spec/{solidus_braintree_helper.rb → solidus_braintree_spec_helper.rb} +3 -1
- data/spec/support/solidus_braintree/order_ready_for_payment.rb +1 -1
- data/spec/support/solidus_braintree/vcr.rb +0 -4
- data/spec/system/backend/configuration_spec.rb +1 -1
- data/spec/system/backend/new_payment_spec.rb +1 -1
- data/spec/system/frontend/braintree_credit_card_checkout_spec.rb +1 -1
- data/spec/system/frontend/paypal_checkout_spec.rb +1 -1
- data/spec/system/frontend/venmo_checkout_spec.rb +1 -1
- metadata +33 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7ae76586a99aff5a6eb02f0ab111d2d7d204c2e4b69cdb67b076b462a724baa
|
4
|
+
data.tar.gz: 4af1563fbbfe0de86743e720779e6afcb229a90d6fa68be6d2528a1ad5aed2a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 845b6fccabb214dfbda78b8d5480e2efc8c9ecffebb3d41084f57a4c7bd3008f81333f84e43024b9e019006458888cc3d5a46f26073c60ffee9b63c2abd7ecc6
|
7
|
+
data.tar.gz: 00bfd9d0d54cdd8b9abd65d0dd8f9e3b99d6bdcbc4ea3d4540339dad8e584e44c053c1da927e9706ae3898cad6e5f9fbc11fce9f981ce69e3317ea530d2256ef
|
data/.circleci/config.yml
CHANGED
@@ -20,7 +20,7 @@ commands:
|
|
20
20
|
sudo apt-get update
|
21
21
|
sudo apt-get install -yq libvips-dev
|
22
22
|
- solidusio_extensions/test-branch:
|
23
|
-
branch:
|
23
|
+
branch: main
|
24
24
|
command: |
|
25
25
|
export FRONTEND=starter
|
26
26
|
sudo gem update --system
|
@@ -33,26 +33,28 @@ jobs:
|
|
33
33
|
run-specs-with-postgres:
|
34
34
|
executor:
|
35
35
|
name: solidusio_extensions/postgres
|
36
|
-
ruby_version: '3.
|
36
|
+
ruby_version: '3.2'
|
37
37
|
steps:
|
38
38
|
- test-with-starter-frontend
|
39
39
|
|
40
40
|
run-specs-with-mysql:
|
41
41
|
executor:
|
42
42
|
name: solidusio_extensions/mysql
|
43
|
-
ruby_version: '3.
|
43
|
+
ruby_version: '3.1'
|
44
44
|
steps:
|
45
45
|
- test-with-starter-frontend
|
46
46
|
|
47
47
|
run-specs-with-sqlite:
|
48
48
|
executor:
|
49
49
|
name: solidusio_extensions/sqlite
|
50
|
-
ruby_version: '
|
50
|
+
ruby_version: '3.0'
|
51
51
|
steps:
|
52
52
|
- test-with-starter-frontend
|
53
53
|
|
54
54
|
lint-code:
|
55
|
-
executor:
|
55
|
+
executor:
|
56
|
+
name: solidusio_extensions/sqlite-memory
|
57
|
+
ruby_version: '3.0'
|
56
58
|
steps:
|
57
59
|
- solidusio_extensions/lint-code
|
58
60
|
|
@@ -64,14 +66,14 @@ workflows:
|
|
64
66
|
- run-specs-with-sqlite
|
65
67
|
- lint-code
|
66
68
|
|
67
|
-
"Weekly run specs against
|
69
|
+
"Weekly run specs against main":
|
68
70
|
triggers:
|
69
71
|
- schedule:
|
70
72
|
cron: "0 0 * * 4" # every Thursday
|
71
73
|
filters:
|
72
74
|
branches:
|
73
75
|
only:
|
74
|
-
-
|
76
|
+
- main
|
75
77
|
jobs:
|
76
78
|
- run-specs-with-postgres
|
77
79
|
- run-specs-with-mysql
|
data/.rspec
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
--color
|
2
|
-
--require
|
2
|
+
--require solidus_braintree_spec_helper
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,199 +1,3 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v2.0.0...v3.0.0)
|
6
|
-
|
7
|
-
**Implemented enhancements:**
|
8
|
-
|
9
|
-
- Release SolidusBraintree 2.0.0 [\#130](https://github.com/solidusio/solidus_braintree/issues/130)
|
10
|
-
|
11
|
-
**Merged pull requests:**
|
12
|
-
|
13
|
-
- Fix: last version supporting SolidusFrontend should be 2.x [\#137](https://github.com/solidusio/solidus_braintree/pull/137) ([gsmendoza](https://github.com/gsmendoza))
|
14
|
-
- Fix: user should still be able to disable data collection in a SolidusBraintree hosted form [\#129](https://github.com/solidusio/solidus_braintree/pull/129) ([gsmendoza](https://github.com/gsmendoza))
|
15
|
-
- Improve SolidusBraintree README [\#125](https://github.com/solidusio/solidus_braintree/pull/125) ([gsmendoza](https://github.com/gsmendoza))
|
16
|
-
- Fix: deprecated version in warning should be 1.x instead of 0.x [\#118](https://github.com/solidusio/solidus_braintree/pull/118) ([gsmendoza](https://github.com/gsmendoza))
|
17
|
-
- Migrate database by default [\#117](https://github.com/solidusio/solidus_braintree/pull/117) ([gsmendoza](https://github.com/gsmendoza))
|
18
|
-
- Add device data collection [\#116](https://github.com/solidusio/solidus_braintree/pull/116) ([gsmendoza](https://github.com/gsmendoza))
|
19
|
-
- Update Solidus dependency to \>= 3.4.0.dev and \< 4 [\#114](https://github.com/solidusio/solidus_braintree/pull/114) ([gsmendoza](https://github.com/gsmendoza))
|
20
|
-
- Update SolidusBraintree InstallGenerator to install frontend code [\#112](https://github.com/solidusio/solidus_braintree/pull/112) ([gsmendoza](https://github.com/gsmendoza))
|
21
|
-
- Deep stringify the keys of the result params [\#111](https://github.com/solidusio/solidus_braintree/pull/111) ([gsmendoza](https://github.com/gsmendoza))
|
22
|
-
- Add Response to log entry permitted classes [\#109](https://github.com/solidusio/solidus_braintree/pull/109) ([gsmendoza](https://github.com/gsmendoza))
|
23
|
-
- Make Solidus Braintree compatible with Starter Frontend [\#102](https://github.com/solidusio/solidus_braintree/pull/102) ([gsmendoza](https://github.com/gsmendoza))
|
24
|
-
- Make migrations independent of existing models [\#100](https://github.com/solidusio/solidus_braintree/pull/100) ([elia](https://github.com/elia))
|
25
|
-
- Update the SolidusPaypalBraintree namespace to SolidusBraintree [\#99](https://github.com/solidusio/solidus_braintree/pull/99) ([gsmendoza](https://github.com/gsmendoza))
|
26
|
-
- Merge the history of Solidus PayPal Braintree into this repository [\#98](https://github.com/solidusio/solidus_braintree/pull/98) ([gsmendoza](https://github.com/gsmendoza))
|
27
|
-
- Add stale bot [\#89](https://github.com/solidusio/solidus_braintree/pull/89) ([gsmendoza](https://github.com/gsmendoza))
|
28
|
-
- Update to use forked solidus\_frontend when needed [\#88](https://github.com/solidusio/solidus_braintree/pull/88) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
29
|
-
- Add deprecation notice to README [\#87](https://github.com/solidusio/solidus_braintree/pull/87) ([seand7565](https://github.com/seand7565))
|
30
|
-
- Adopt CircleCI instead of Travis [\#85](https://github.com/solidusio/solidus_braintree/pull/85) ([aldesantis](https://github.com/aldesantis))
|
31
|
-
- Suggest setting a value for environment preference [\#82](https://github.com/solidusio/solidus_braintree/pull/82) ([mdesantis](https://github.com/mdesantis))
|
32
|
-
- Test suite improvements [\#80](https://github.com/solidusio/solidus_braintree/pull/80) ([aitbw](https://github.com/aitbw))
|
33
|
-
- Extension maintenance [\#78](https://github.com/solidusio/solidus_braintree/pull/78) ([aitbw](https://github.com/aitbw))
|
34
|
-
- Fix references to Spree.t [\#77](https://github.com/solidusio/solidus_braintree/pull/77) ([skukx](https://github.com/skukx))
|
35
|
-
- Remove 2.2 from CI \(EOL\) [\#71](https://github.com/solidusio/solidus_braintree/pull/71) ([jacobherrington](https://github.com/jacobherrington))
|
36
|
-
- Fix Travis issue with Solidus old versions \(Factory Bot gem\) [\#70](https://github.com/solidusio/solidus_braintree/pull/70) ([spaghetticode](https://github.com/spaghetticode))
|
37
|
-
- Remove versions past EOL from .travis.yml [\#69](https://github.com/solidusio/solidus_braintree/pull/69) ([jacobherrington](https://github.com/jacobherrington))
|
38
|
-
- Add Solidus 2.7 to .travis.yml [\#68](https://github.com/solidusio/solidus_braintree/pull/68) ([jacobherrington](https://github.com/jacobherrington))
|
39
|
-
|
40
|
-
## [v2.0.0](https://github.com/solidusio/solidus_braintree/tree/v2.0.0) (2023-03-17)
|
41
|
-
|
42
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v1.2.0...v2.0.0)
|
43
|
-
|
44
|
-
**Implemented enhancements:**
|
45
|
-
|
46
|
-
- Backport SolidusBraintree README changes to v2.x [\#131](https://github.com/solidusio/solidus_braintree/issues/131)
|
47
|
-
- Release SolidusBraintree 1.3 [\#127](https://github.com/solidusio/solidus_braintree/issues/127)
|
48
|
-
- Add overview to SolidusBraintree README [\#123](https://github.com/solidusio/solidus_braintree/issues/123)
|
49
|
-
- Add device data collection [\#115](https://github.com/solidusio/solidus_braintree/issues/115)
|
50
|
-
- Set Solidus dependency of SolidusBraintree to `> 3.4.0.dev, < 4` [\#113](https://github.com/solidusio/solidus_braintree/issues/113)
|
51
|
-
- Port device data collection from 1.x to 2.x [\#107](https://github.com/solidusio/solidus_braintree/issues/107)
|
52
|
-
- Support PayPal through frontend [\#26](https://github.com/solidusio/solidus_braintree/issues/26)
|
53
|
-
|
54
|
-
**Fixed bugs:**
|
55
|
-
|
56
|
-
- Fix: user should still be able to disable data collection in a SolidusBraintree hosted form [\#126](https://github.com/solidusio/solidus_braintree/issues/126)
|
57
|
-
- Fix Spree::LogEntry::DisallowedClass error for failed responses [\#110](https://github.com/solidusio/solidus_braintree/issues/110)
|
58
|
-
- Fix Spree::LogEntry::DisallowedClass error [\#108](https://github.com/solidusio/solidus_braintree/issues/108)
|
59
|
-
|
60
|
-
**Closed issues:**
|
61
|
-
|
62
|
-
- Fix: last version supporting SolidusFrontend should be 2.x instead of 1.x [\#136](https://github.com/solidusio/solidus_braintree/issues/136)
|
63
|
-
- Test SolidusBraintree SSF update with Venmo Pay [\#106](https://github.com/solidusio/solidus_braintree/issues/106)
|
64
|
-
- Update SolidusBraintree InstallGenerator to install frontend code [\#104](https://github.com/solidusio/solidus_braintree/issues/104)
|
65
|
-
- Release SolidusBraintree 1.3.0 [\#97](https://github.com/solidusio/solidus_braintree/issues/97)
|
66
|
-
- Update the SolidusPaypalBraintree namespace to SolidusBraintree [\#96](https://github.com/solidusio/solidus_braintree/issues/96)
|
67
|
-
- Merge the history of Solidus PayPal Braintree into this repository [\#92](https://github.com/solidusio/solidus_braintree/issues/92)
|
68
|
-
- Make Solidus Braintree compatible with Starter Frontend [\#91](https://github.com/solidusio/solidus_braintree/issues/91)
|
69
|
-
- Merge with `solidus_paypal_braintree` [\#90](https://github.com/solidusio/solidus_braintree/issues/90)
|
70
|
-
- Fix Deprecation warnings for use of Spree.t [\#76](https://github.com/solidusio/solidus_braintree/issues/76)
|
71
|
-
- New VCR specs with paypal fail [\#75](https://github.com/solidusio/solidus_braintree/issues/75)
|
72
|
-
- Drop-in Ui [\#73](https://github.com/solidusio/solidus_braintree/issues/73)
|
73
|
-
- Configure Solidus Braintree with Paypal Braintree SDK Token [\#67](https://github.com/solidusio/solidus_braintree/issues/67)
|
74
|
-
- Authenticate the payment client token endpoint [\#66](https://github.com/solidusio/solidus_braintree/issues/66)
|
75
|
-
- Is 3D Secure supported? [\#64](https://github.com/solidusio/solidus_braintree/issues/64)
|
76
|
-
- Deface Override requires solidus\_frontend [\#57](https://github.com/solidusio/solidus_braintree/issues/57)
|
77
|
-
- Allow to optionally create token with `customer_id` option [\#56](https://github.com/solidusio/solidus_braintree/issues/56)
|
78
|
-
- Guest checkout tries to create a customer profile [\#37](https://github.com/solidusio/solidus_braintree/issues/37)
|
79
|
-
- Use of undefined show\_flash function in frontend [\#31](https://github.com/solidusio/solidus_braintree/issues/31)
|
80
|
-
- Select an implementation for how to store non credit card data in Solidus [\#3](https://github.com/solidusio/solidus_braintree/issues/3)
|
81
|
-
|
82
|
-
## [v1.2.0](https://github.com/solidusio/solidus_braintree/tree/v1.2.0) (2018-05-25)
|
83
|
-
|
84
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v1.1.0...v1.2.0)
|
85
|
-
|
86
|
-
**Closed issues:**
|
87
|
-
|
88
|
-
- Undefined local variable or method `solidus\_paypal\_braintree' [\#62](https://github.com/solidusio/solidus_braintree/issues/62)
|
89
|
-
- Solidus 1.3 Admin UI changes breaking New Card form [\#48](https://github.com/solidusio/solidus_braintree/issues/48)
|
90
|
-
|
91
|
-
**Merged pull requests:**
|
92
|
-
|
93
|
-
- Specify Rails versions in Gemfile [\#63](https://github.com/solidusio/solidus_braintree/pull/63) ([jhawthorn](https://github.com/jhawthorn))
|
94
|
-
- Re-record failing VCR cassettes [\#61](https://github.com/solidusio/solidus_braintree/pull/61) ([jhawthorn](https://github.com/jhawthorn))
|
95
|
-
- Revert "Ignore AVS response code in Paypal transactions." [\#60](https://github.com/solidusio/solidus_braintree/pull/60) ([jhawthorn](https://github.com/jhawthorn))
|
96
|
-
- Fixes link to Braintree v.zero docs [\#59](https://github.com/solidusio/solidus_braintree/pull/59) ([tvdeyen](https://github.com/tvdeyen))
|
97
|
-
- Download PhantomJS from github mirror [\#58](https://github.com/solidusio/solidus_braintree/pull/58) ([jhawthorn](https://github.com/jhawthorn))
|
98
|
-
- Add --ssl-protocol=any to phantomjs\_options [\#55](https://github.com/solidusio/solidus_braintree/pull/55) ([jhawthorn](https://github.com/jhawthorn))
|
99
|
-
- Fix spec failures due to missing address last\_name [\#54](https://github.com/solidusio/solidus_braintree/pull/54) ([jhawthorn](https://github.com/jhawthorn))
|
100
|
-
- Ignore AVS response code in Paypal transactions. [\#36](https://github.com/solidusio/solidus_braintree/pull/36) ([hectoregm](https://github.com/hectoregm))
|
101
|
-
|
102
|
-
## [v1.1.0](https://github.com/solidusio/solidus_braintree/tree/v1.1.0) (2016-09-22)
|
103
|
-
|
104
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v1.0.0...v1.1.0)
|
105
|
-
|
106
|
-
**Merged pull requests:**
|
107
|
-
|
108
|
-
- Add support for Solidus 2.0 and Rails 5.0 [\#51](https://github.com/solidusio/solidus_braintree/pull/51) ([jhawthorn](https://github.com/jhawthorn))
|
109
|
-
- Spec to test new card [\#50](https://github.com/solidusio/solidus_braintree/pull/50) ([Murph33](https://github.com/Murph33))
|
110
|
-
- Add config to disable ship address verification [\#47](https://github.com/solidusio/solidus_braintree/pull/47) ([gmacdougall](https://github.com/gmacdougall))
|
111
|
-
- Add support for cancel [\#45](https://github.com/solidusio/solidus_braintree/pull/45) ([gmacdougall](https://github.com/gmacdougall))
|
112
|
-
|
113
|
-
## [v1.0.0](https://github.com/solidusio/solidus_braintree/tree/v1.0.0) (2016-06-24)
|
114
|
-
|
115
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.2.1...v1.0.0)
|
116
|
-
|
117
|
-
**Closed issues:**
|
118
|
-
|
119
|
-
- Use Braintree Hosted Fields in frontend checkout [\#27](https://github.com/solidusio/solidus_braintree/issues/27)
|
120
|
-
- Not using v.zero SDK [\#14](https://github.com/solidusio/solidus_braintree/issues/14)
|
121
|
-
|
122
|
-
**Merged pull requests:**
|
123
|
-
|
124
|
-
- Change solidus dependency to components [\#44](https://github.com/solidusio/solidus_braintree/pull/44) ([gmacdougall](https://github.com/gmacdougall))
|
125
|
-
- Add placeholder text for each of the credit card inputs. [\#40](https://github.com/solidusio/solidus_braintree/pull/40) ([hectoregm](https://github.com/hectoregm))
|
126
|
-
- Get client token from braintree only in the payment page. [\#39](https://github.com/solidusio/solidus_braintree/pull/39) ([hectoregm](https://github.com/hectoregm))
|
127
|
-
- Fix tests [\#38](https://github.com/solidusio/solidus_braintree/pull/38) ([jhawthorn](https://github.com/jhawthorn))
|
128
|
-
- Ensure device\_data is added to the gateway\_options hash. [\#35](https://github.com/solidusio/solidus_braintree/pull/35) ([hectoregm](https://github.com/hectoregm))
|
129
|
-
- Paypal improvements [\#34](https://github.com/solidusio/solidus_braintree/pull/34) ([hectoregm](https://github.com/hectoregm))
|
130
|
-
- Fraud hosted fields [\#32](https://github.com/solidusio/solidus_braintree/pull/32) ([hectoregm](https://github.com/hectoregm))
|
131
|
-
- Add paypal button [\#30](https://github.com/solidusio/solidus_braintree/pull/30) ([jhawthorn](https://github.com/jhawthorn))
|
132
|
-
- Use braintree's Hosted Fields [\#29](https://github.com/solidusio/solidus_braintree/pull/29) ([jhawthorn](https://github.com/jhawthorn))
|
133
|
-
- Add feature spec for frontend checkout [\#25](https://github.com/solidusio/solidus_braintree/pull/25) ([jhawthorn](https://github.com/jhawthorn))
|
134
|
-
- Update braintree-web to 2.23.0 [\#24](https://github.com/solidusio/solidus_braintree/pull/24) ([hectoregm](https://github.com/hectoregm))
|
135
|
-
- Void payment in checkout state without authorization code [\#23](https://github.com/solidusio/solidus_braintree/pull/23) ([ericsaupe](https://github.com/ericsaupe))
|
136
|
-
- Hosted Forms Frontend [\#22](https://github.com/solidusio/solidus_braintree/pull/22) ([ericsaupe](https://github.com/ericsaupe))
|
137
|
-
- Cleanup dependencies [\#20](https://github.com/solidusio/solidus_braintree/pull/20) ([jhawthorn](https://github.com/jhawthorn))
|
138
|
-
- Remove out.json [\#19](https://github.com/solidusio/solidus_braintree/pull/19) ([jhawthorn](https://github.com/jhawthorn))
|
139
|
-
- Rebase \#9 [\#18](https://github.com/solidusio/solidus_braintree/pull/18) ([jhawthorn](https://github.com/jhawthorn))
|
140
|
-
- Rebase \#11 [\#17](https://github.com/solidusio/solidus_braintree/pull/17) ([jhawthorn](https://github.com/jhawthorn))
|
141
|
-
- MySQL support [\#16](https://github.com/solidusio/solidus_braintree/pull/16) ([jhawthorn](https://github.com/jhawthorn))
|
142
|
-
- Update travis.yml [\#15](https://github.com/solidusio/solidus_braintree/pull/15) ([jhawthorn](https://github.com/jhawthorn))
|
143
|
-
|
144
|
-
## [v0.2.1](https://github.com/solidusio/solidus_braintree/tree/v0.2.1) (2015-11-03)
|
145
|
-
|
146
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.2.0...v0.2.1)
|
147
|
-
|
148
|
-
**Merged pull requests:**
|
149
|
-
|
150
|
-
- supply first and last name in shipping address [\#8](https://github.com/solidusio/solidus_braintree/pull/8) ([gvaughn](https://github.com/gvaughn))
|
151
|
-
|
152
|
-
## [v0.2.0](https://github.com/solidusio/solidus_braintree/tree/v0.2.0) (2015-09-17)
|
153
|
-
|
154
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.5...v0.2.0)
|
155
|
-
|
156
|
-
**Merged pull requests:**
|
157
|
-
|
158
|
-
- Update braintree-web to 2.14.0 [\#7](https://github.com/solidusio/solidus_braintree/pull/7) ([kamui](https://github.com/kamui))
|
159
|
-
- Make Spree::CreditCard more flexible for handling paypal payments by … [\#6](https://github.com/solidusio/solidus_braintree/pull/6) ([allisonlarson](https://github.com/allisonlarson))
|
160
|
-
|
161
|
-
## [v0.1.5](https://github.com/solidusio/solidus_braintree/tree/v0.1.5) (2015-09-08)
|
162
|
-
|
163
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.4...v0.1.5)
|
164
|
-
|
165
|
-
## [v0.1.4](https://github.com/solidusio/solidus_braintree/tree/v0.1.4) (2015-09-08)
|
166
|
-
|
167
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.3...v0.1.4)
|
168
|
-
|
169
|
-
**Merged pull requests:**
|
170
|
-
|
171
|
-
- Use CARD\_TYPE\_MAPPING for setting cc\_type [\#5](https://github.com/solidusio/solidus_braintree/pull/5) ([allisonlarson](https://github.com/allisonlarson))
|
172
|
-
|
173
|
-
## [v0.1.3](https://github.com/solidusio/solidus_braintree/tree/v0.1.3) (2015-09-04)
|
174
|
-
|
175
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.2...v0.1.3)
|
176
|
-
|
177
|
-
**Merged pull requests:**
|
178
|
-
|
179
|
-
- Add name presence validation on create [\#4](https://github.com/solidusio/solidus_braintree/pull/4) ([kamui](https://github.com/kamui))
|
180
|
-
|
181
|
-
## [v0.1.2](https://github.com/solidusio/solidus_braintree/tree/v0.1.2) (2015-09-04)
|
182
|
-
|
183
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.1...v0.1.2)
|
184
|
-
|
185
|
-
## [v0.1.1](https://github.com/solidusio/solidus_braintree/tree/v0.1.1) (2015-09-02)
|
186
|
-
|
187
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.0...v0.1.1)
|
188
|
-
|
189
|
-
## [v0.1.0](https://github.com/solidusio/solidus_braintree/tree/v0.1.0) (2015-09-02)
|
190
|
-
|
191
|
-
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/411a93001c017d41fd545e0dc9d4edef3422759e...v0.1.0)
|
192
|
-
|
193
|
-
**Merged pull requests:**
|
194
|
-
|
195
|
-
- Provide an option for always sending the bill address [\#2](https://github.com/solidusio/solidus_braintree/pull/2) ([jordan-brough](https://github.com/jordan-brough))
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
3
|
+
See https://github.com/solidusio/solidus_braintree/releases or [OLD_CHANGELOG.md](OLD_CHANGELOG.md) for older versions.
|
data/Gemfile
CHANGED
@@ -3,13 +3,9 @@
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
5
5
|
|
6
|
-
branch = ENV.fetch('SOLIDUS_BRANCH', '
|
6
|
+
branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
|
7
7
|
gem 'solidus', github: 'solidusio/solidus', branch: branch
|
8
8
|
|
9
|
-
# The solidus_frontend gem has been pulled out since v3.2
|
10
|
-
gem 'solidus_frontend', github: 'solidusio/solidus_frontend' if branch == 'master'
|
11
|
-
gem 'solidus_frontend' if branch >= 'v3.2' # rubocop:disable Bundler/DuplicatedGem
|
12
|
-
|
13
9
|
# Needed to help Bundler figure out how to resolve dependencies,
|
14
10
|
# otherwise it takes forever to resolve them.
|
15
11
|
# See https://github.com/bundler/bundler/issues/6677
|
data/OLD_CHANGELOG.md
ADDED
@@ -0,0 +1,199 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [v3.0.0](https://github.com/solidusio/solidus_braintree/tree/v3.0.0) (2023-03-29)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v2.0.0...v3.0.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Release SolidusBraintree 2.0.0 [\#130](https://github.com/solidusio/solidus_braintree/issues/130)
|
10
|
+
|
11
|
+
**Merged pull requests:**
|
12
|
+
|
13
|
+
- Fix: last version supporting SolidusFrontend should be 2.x [\#137](https://github.com/solidusio/solidus_braintree/pull/137) ([gsmendoza](https://github.com/gsmendoza))
|
14
|
+
- Fix: user should still be able to disable data collection in a SolidusBraintree hosted form [\#129](https://github.com/solidusio/solidus_braintree/pull/129) ([gsmendoza](https://github.com/gsmendoza))
|
15
|
+
- Improve SolidusBraintree README [\#125](https://github.com/solidusio/solidus_braintree/pull/125) ([gsmendoza](https://github.com/gsmendoza))
|
16
|
+
- Fix: deprecated version in warning should be 1.x instead of 0.x [\#118](https://github.com/solidusio/solidus_braintree/pull/118) ([gsmendoza](https://github.com/gsmendoza))
|
17
|
+
- Migrate database by default [\#117](https://github.com/solidusio/solidus_braintree/pull/117) ([gsmendoza](https://github.com/gsmendoza))
|
18
|
+
- Add device data collection [\#116](https://github.com/solidusio/solidus_braintree/pull/116) ([gsmendoza](https://github.com/gsmendoza))
|
19
|
+
- Update Solidus dependency to \>= 3.4.0.dev and \< 4 [\#114](https://github.com/solidusio/solidus_braintree/pull/114) ([gsmendoza](https://github.com/gsmendoza))
|
20
|
+
- Update SolidusBraintree InstallGenerator to install frontend code [\#112](https://github.com/solidusio/solidus_braintree/pull/112) ([gsmendoza](https://github.com/gsmendoza))
|
21
|
+
- Deep stringify the keys of the result params [\#111](https://github.com/solidusio/solidus_braintree/pull/111) ([gsmendoza](https://github.com/gsmendoza))
|
22
|
+
- Add Response to log entry permitted classes [\#109](https://github.com/solidusio/solidus_braintree/pull/109) ([gsmendoza](https://github.com/gsmendoza))
|
23
|
+
- Make Solidus Braintree compatible with Starter Frontend [\#102](https://github.com/solidusio/solidus_braintree/pull/102) ([gsmendoza](https://github.com/gsmendoza))
|
24
|
+
- Make migrations independent of existing models [\#100](https://github.com/solidusio/solidus_braintree/pull/100) ([elia](https://github.com/elia))
|
25
|
+
- Update the SolidusPaypalBraintree namespace to SolidusBraintree [\#99](https://github.com/solidusio/solidus_braintree/pull/99) ([gsmendoza](https://github.com/gsmendoza))
|
26
|
+
- Merge the history of Solidus PayPal Braintree into this repository [\#98](https://github.com/solidusio/solidus_braintree/pull/98) ([gsmendoza](https://github.com/gsmendoza))
|
27
|
+
- Add stale bot [\#89](https://github.com/solidusio/solidus_braintree/pull/89) ([gsmendoza](https://github.com/gsmendoza))
|
28
|
+
- Update to use forked solidus\_frontend when needed [\#88](https://github.com/solidusio/solidus_braintree/pull/88) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
29
|
+
- Add deprecation notice to README [\#87](https://github.com/solidusio/solidus_braintree/pull/87) ([seand7565](https://github.com/seand7565))
|
30
|
+
- Adopt CircleCI instead of Travis [\#85](https://github.com/solidusio/solidus_braintree/pull/85) ([aldesantis](https://github.com/aldesantis))
|
31
|
+
- Suggest setting a value for environment preference [\#82](https://github.com/solidusio/solidus_braintree/pull/82) ([mdesantis](https://github.com/mdesantis))
|
32
|
+
- Test suite improvements [\#80](https://github.com/solidusio/solidus_braintree/pull/80) ([aitbw](https://github.com/aitbw))
|
33
|
+
- Extension maintenance [\#78](https://github.com/solidusio/solidus_braintree/pull/78) ([aitbw](https://github.com/aitbw))
|
34
|
+
- Fix references to Spree.t [\#77](https://github.com/solidusio/solidus_braintree/pull/77) ([skukx](https://github.com/skukx))
|
35
|
+
- Remove 2.2 from CI \(EOL\) [\#71](https://github.com/solidusio/solidus_braintree/pull/71) ([jacobherrington](https://github.com/jacobherrington))
|
36
|
+
- Fix Travis issue with Solidus old versions \(Factory Bot gem\) [\#70](https://github.com/solidusio/solidus_braintree/pull/70) ([spaghetticode](https://github.com/spaghetticode))
|
37
|
+
- Remove versions past EOL from .travis.yml [\#69](https://github.com/solidusio/solidus_braintree/pull/69) ([jacobherrington](https://github.com/jacobherrington))
|
38
|
+
- Add Solidus 2.7 to .travis.yml [\#68](https://github.com/solidusio/solidus_braintree/pull/68) ([jacobherrington](https://github.com/jacobherrington))
|
39
|
+
|
40
|
+
## [v2.0.0](https://github.com/solidusio/solidus_braintree/tree/v2.0.0) (2023-03-17)
|
41
|
+
|
42
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v1.2.0...v2.0.0)
|
43
|
+
|
44
|
+
**Implemented enhancements:**
|
45
|
+
|
46
|
+
- Backport SolidusBraintree README changes to v2.x [\#131](https://github.com/solidusio/solidus_braintree/issues/131)
|
47
|
+
- Release SolidusBraintree 1.3 [\#127](https://github.com/solidusio/solidus_braintree/issues/127)
|
48
|
+
- Add overview to SolidusBraintree README [\#123](https://github.com/solidusio/solidus_braintree/issues/123)
|
49
|
+
- Add device data collection [\#115](https://github.com/solidusio/solidus_braintree/issues/115)
|
50
|
+
- Set Solidus dependency of SolidusBraintree to `> 3.4.0.dev, < 4` [\#113](https://github.com/solidusio/solidus_braintree/issues/113)
|
51
|
+
- Port device data collection from 1.x to 2.x [\#107](https://github.com/solidusio/solidus_braintree/issues/107)
|
52
|
+
- Support PayPal through frontend [\#26](https://github.com/solidusio/solidus_braintree/issues/26)
|
53
|
+
|
54
|
+
**Fixed bugs:**
|
55
|
+
|
56
|
+
- Fix: user should still be able to disable data collection in a SolidusBraintree hosted form [\#126](https://github.com/solidusio/solidus_braintree/issues/126)
|
57
|
+
- Fix Spree::LogEntry::DisallowedClass error for failed responses [\#110](https://github.com/solidusio/solidus_braintree/issues/110)
|
58
|
+
- Fix Spree::LogEntry::DisallowedClass error [\#108](https://github.com/solidusio/solidus_braintree/issues/108)
|
59
|
+
|
60
|
+
**Closed issues:**
|
61
|
+
|
62
|
+
- Fix: last version supporting SolidusFrontend should be 2.x instead of 1.x [\#136](https://github.com/solidusio/solidus_braintree/issues/136)
|
63
|
+
- Test SolidusBraintree SSF update with Venmo Pay [\#106](https://github.com/solidusio/solidus_braintree/issues/106)
|
64
|
+
- Update SolidusBraintree InstallGenerator to install frontend code [\#104](https://github.com/solidusio/solidus_braintree/issues/104)
|
65
|
+
- Release SolidusBraintree 1.3.0 [\#97](https://github.com/solidusio/solidus_braintree/issues/97)
|
66
|
+
- Update the SolidusPaypalBraintree namespace to SolidusBraintree [\#96](https://github.com/solidusio/solidus_braintree/issues/96)
|
67
|
+
- Merge the history of Solidus PayPal Braintree into this repository [\#92](https://github.com/solidusio/solidus_braintree/issues/92)
|
68
|
+
- Make Solidus Braintree compatible with Starter Frontend [\#91](https://github.com/solidusio/solidus_braintree/issues/91)
|
69
|
+
- Merge with `solidus_paypal_braintree` [\#90](https://github.com/solidusio/solidus_braintree/issues/90)
|
70
|
+
- Fix Deprecation warnings for use of Spree.t [\#76](https://github.com/solidusio/solidus_braintree/issues/76)
|
71
|
+
- New VCR specs with paypal fail [\#75](https://github.com/solidusio/solidus_braintree/issues/75)
|
72
|
+
- Drop-in Ui [\#73](https://github.com/solidusio/solidus_braintree/issues/73)
|
73
|
+
- Configure Solidus Braintree with Paypal Braintree SDK Token [\#67](https://github.com/solidusio/solidus_braintree/issues/67)
|
74
|
+
- Authenticate the payment client token endpoint [\#66](https://github.com/solidusio/solidus_braintree/issues/66)
|
75
|
+
- Is 3D Secure supported? [\#64](https://github.com/solidusio/solidus_braintree/issues/64)
|
76
|
+
- Deface Override requires solidus\_frontend [\#57](https://github.com/solidusio/solidus_braintree/issues/57)
|
77
|
+
- Allow to optionally create token with `customer_id` option [\#56](https://github.com/solidusio/solidus_braintree/issues/56)
|
78
|
+
- Guest checkout tries to create a customer profile [\#37](https://github.com/solidusio/solidus_braintree/issues/37)
|
79
|
+
- Use of undefined show\_flash function in frontend [\#31](https://github.com/solidusio/solidus_braintree/issues/31)
|
80
|
+
- Select an implementation for how to store non credit card data in Solidus [\#3](https://github.com/solidusio/solidus_braintree/issues/3)
|
81
|
+
|
82
|
+
## [v1.2.0](https://github.com/solidusio/solidus_braintree/tree/v1.2.0) (2018-05-25)
|
83
|
+
|
84
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v1.1.0...v1.2.0)
|
85
|
+
|
86
|
+
**Closed issues:**
|
87
|
+
|
88
|
+
- Undefined local variable or method `solidus\_paypal\_braintree' [\#62](https://github.com/solidusio/solidus_braintree/issues/62)
|
89
|
+
- Solidus 1.3 Admin UI changes breaking New Card form [\#48](https://github.com/solidusio/solidus_braintree/issues/48)
|
90
|
+
|
91
|
+
**Merged pull requests:**
|
92
|
+
|
93
|
+
- Specify Rails versions in Gemfile [\#63](https://github.com/solidusio/solidus_braintree/pull/63) ([jhawthorn](https://github.com/jhawthorn))
|
94
|
+
- Re-record failing VCR cassettes [\#61](https://github.com/solidusio/solidus_braintree/pull/61) ([jhawthorn](https://github.com/jhawthorn))
|
95
|
+
- Revert "Ignore AVS response code in Paypal transactions." [\#60](https://github.com/solidusio/solidus_braintree/pull/60) ([jhawthorn](https://github.com/jhawthorn))
|
96
|
+
- Fixes link to Braintree v.zero docs [\#59](https://github.com/solidusio/solidus_braintree/pull/59) ([tvdeyen](https://github.com/tvdeyen))
|
97
|
+
- Download PhantomJS from github mirror [\#58](https://github.com/solidusio/solidus_braintree/pull/58) ([jhawthorn](https://github.com/jhawthorn))
|
98
|
+
- Add --ssl-protocol=any to phantomjs\_options [\#55](https://github.com/solidusio/solidus_braintree/pull/55) ([jhawthorn](https://github.com/jhawthorn))
|
99
|
+
- Fix spec failures due to missing address last\_name [\#54](https://github.com/solidusio/solidus_braintree/pull/54) ([jhawthorn](https://github.com/jhawthorn))
|
100
|
+
- Ignore AVS response code in Paypal transactions. [\#36](https://github.com/solidusio/solidus_braintree/pull/36) ([hectoregm](https://github.com/hectoregm))
|
101
|
+
|
102
|
+
## [v1.1.0](https://github.com/solidusio/solidus_braintree/tree/v1.1.0) (2016-09-22)
|
103
|
+
|
104
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v1.0.0...v1.1.0)
|
105
|
+
|
106
|
+
**Merged pull requests:**
|
107
|
+
|
108
|
+
- Add support for Solidus 2.0 and Rails 5.0 [\#51](https://github.com/solidusio/solidus_braintree/pull/51) ([jhawthorn](https://github.com/jhawthorn))
|
109
|
+
- Spec to test new card [\#50](https://github.com/solidusio/solidus_braintree/pull/50) ([Murph33](https://github.com/Murph33))
|
110
|
+
- Add config to disable ship address verification [\#47](https://github.com/solidusio/solidus_braintree/pull/47) ([gmacdougall](https://github.com/gmacdougall))
|
111
|
+
- Add support for cancel [\#45](https://github.com/solidusio/solidus_braintree/pull/45) ([gmacdougall](https://github.com/gmacdougall))
|
112
|
+
|
113
|
+
## [v1.0.0](https://github.com/solidusio/solidus_braintree/tree/v1.0.0) (2016-06-24)
|
114
|
+
|
115
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.2.1...v1.0.0)
|
116
|
+
|
117
|
+
**Closed issues:**
|
118
|
+
|
119
|
+
- Use Braintree Hosted Fields in frontend checkout [\#27](https://github.com/solidusio/solidus_braintree/issues/27)
|
120
|
+
- Not using v.zero SDK [\#14](https://github.com/solidusio/solidus_braintree/issues/14)
|
121
|
+
|
122
|
+
**Merged pull requests:**
|
123
|
+
|
124
|
+
- Change solidus dependency to components [\#44](https://github.com/solidusio/solidus_braintree/pull/44) ([gmacdougall](https://github.com/gmacdougall))
|
125
|
+
- Add placeholder text for each of the credit card inputs. [\#40](https://github.com/solidusio/solidus_braintree/pull/40) ([hectoregm](https://github.com/hectoregm))
|
126
|
+
- Get client token from braintree only in the payment page. [\#39](https://github.com/solidusio/solidus_braintree/pull/39) ([hectoregm](https://github.com/hectoregm))
|
127
|
+
- Fix tests [\#38](https://github.com/solidusio/solidus_braintree/pull/38) ([jhawthorn](https://github.com/jhawthorn))
|
128
|
+
- Ensure device\_data is added to the gateway\_options hash. [\#35](https://github.com/solidusio/solidus_braintree/pull/35) ([hectoregm](https://github.com/hectoregm))
|
129
|
+
- Paypal improvements [\#34](https://github.com/solidusio/solidus_braintree/pull/34) ([hectoregm](https://github.com/hectoregm))
|
130
|
+
- Fraud hosted fields [\#32](https://github.com/solidusio/solidus_braintree/pull/32) ([hectoregm](https://github.com/hectoregm))
|
131
|
+
- Add paypal button [\#30](https://github.com/solidusio/solidus_braintree/pull/30) ([jhawthorn](https://github.com/jhawthorn))
|
132
|
+
- Use braintree's Hosted Fields [\#29](https://github.com/solidusio/solidus_braintree/pull/29) ([jhawthorn](https://github.com/jhawthorn))
|
133
|
+
- Add feature spec for frontend checkout [\#25](https://github.com/solidusio/solidus_braintree/pull/25) ([jhawthorn](https://github.com/jhawthorn))
|
134
|
+
- Update braintree-web to 2.23.0 [\#24](https://github.com/solidusio/solidus_braintree/pull/24) ([hectoregm](https://github.com/hectoregm))
|
135
|
+
- Void payment in checkout state without authorization code [\#23](https://github.com/solidusio/solidus_braintree/pull/23) ([ericsaupe](https://github.com/ericsaupe))
|
136
|
+
- Hosted Forms Frontend [\#22](https://github.com/solidusio/solidus_braintree/pull/22) ([ericsaupe](https://github.com/ericsaupe))
|
137
|
+
- Cleanup dependencies [\#20](https://github.com/solidusio/solidus_braintree/pull/20) ([jhawthorn](https://github.com/jhawthorn))
|
138
|
+
- Remove out.json [\#19](https://github.com/solidusio/solidus_braintree/pull/19) ([jhawthorn](https://github.com/jhawthorn))
|
139
|
+
- Rebase \#9 [\#18](https://github.com/solidusio/solidus_braintree/pull/18) ([jhawthorn](https://github.com/jhawthorn))
|
140
|
+
- Rebase \#11 [\#17](https://github.com/solidusio/solidus_braintree/pull/17) ([jhawthorn](https://github.com/jhawthorn))
|
141
|
+
- MySQL support [\#16](https://github.com/solidusio/solidus_braintree/pull/16) ([jhawthorn](https://github.com/jhawthorn))
|
142
|
+
- Update travis.yml [\#15](https://github.com/solidusio/solidus_braintree/pull/15) ([jhawthorn](https://github.com/jhawthorn))
|
143
|
+
|
144
|
+
## [v0.2.1](https://github.com/solidusio/solidus_braintree/tree/v0.2.1) (2015-11-03)
|
145
|
+
|
146
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.2.0...v0.2.1)
|
147
|
+
|
148
|
+
**Merged pull requests:**
|
149
|
+
|
150
|
+
- supply first and last name in shipping address [\#8](https://github.com/solidusio/solidus_braintree/pull/8) ([gvaughn](https://github.com/gvaughn))
|
151
|
+
|
152
|
+
## [v0.2.0](https://github.com/solidusio/solidus_braintree/tree/v0.2.0) (2015-09-17)
|
153
|
+
|
154
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.5...v0.2.0)
|
155
|
+
|
156
|
+
**Merged pull requests:**
|
157
|
+
|
158
|
+
- Update braintree-web to 2.14.0 [\#7](https://github.com/solidusio/solidus_braintree/pull/7) ([kamui](https://github.com/kamui))
|
159
|
+
- Make Spree::CreditCard more flexible for handling paypal payments by … [\#6](https://github.com/solidusio/solidus_braintree/pull/6) ([allisonlarson](https://github.com/allisonlarson))
|
160
|
+
|
161
|
+
## [v0.1.5](https://github.com/solidusio/solidus_braintree/tree/v0.1.5) (2015-09-08)
|
162
|
+
|
163
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.4...v0.1.5)
|
164
|
+
|
165
|
+
## [v0.1.4](https://github.com/solidusio/solidus_braintree/tree/v0.1.4) (2015-09-08)
|
166
|
+
|
167
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.3...v0.1.4)
|
168
|
+
|
169
|
+
**Merged pull requests:**
|
170
|
+
|
171
|
+
- Use CARD\_TYPE\_MAPPING for setting cc\_type [\#5](https://github.com/solidusio/solidus_braintree/pull/5) ([allisonlarson](https://github.com/allisonlarson))
|
172
|
+
|
173
|
+
## [v0.1.3](https://github.com/solidusio/solidus_braintree/tree/v0.1.3) (2015-09-04)
|
174
|
+
|
175
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.2...v0.1.3)
|
176
|
+
|
177
|
+
**Merged pull requests:**
|
178
|
+
|
179
|
+
- Add name presence validation on create [\#4](https://github.com/solidusio/solidus_braintree/pull/4) ([kamui](https://github.com/kamui))
|
180
|
+
|
181
|
+
## [v0.1.2](https://github.com/solidusio/solidus_braintree/tree/v0.1.2) (2015-09-04)
|
182
|
+
|
183
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.1...v0.1.2)
|
184
|
+
|
185
|
+
## [v0.1.1](https://github.com/solidusio/solidus_braintree/tree/v0.1.1) (2015-09-02)
|
186
|
+
|
187
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/v0.1.0...v0.1.1)
|
188
|
+
|
189
|
+
## [v0.1.0](https://github.com/solidusio/solidus_braintree/tree/v0.1.0) (2015-09-02)
|
190
|
+
|
191
|
+
[Full Changelog](https://github.com/solidusio/solidus_braintree/compare/411a93001c017d41fd545e0dc9d4edef3422759e...v0.1.0)
|
192
|
+
|
193
|
+
**Merged pull requests:**
|
194
|
+
|
195
|
+
- Provide an option for always sending the bill address [\#2](https://github.com/solidusio/solidus_braintree/pull/2) ([jordan-brough](https://github.com/jordan-brough))
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# SolidusBraintree
|
2
2
|
|
3
3
|
[![CircleCI](https://circleci.com/gh/solidusio/solidus_braintree.svg?style=shield)](https://circleci.com/gh/solidusio/solidus_braintree)
|
4
|
-
[![codecov](https://codecov.io/gh/solidusio/solidus_braintree/branch/
|
4
|
+
[![codecov](https://codecov.io/gh/solidusio/solidus_braintree/branch/main/graph/badge.svg)](https://codecov.io/gh/solidusio/solidus_braintree)
|
5
5
|
|
6
6
|
`solidus_braintree` is an extension that adds support for using [Braintree](https://www.braintreepayments.com) as a payment source in your [Solidus](https://solidus.io/) store. It uses Braintree's [JavaScript v3 SDK](https://braintree.github.io/braintree-web/current/) to support the following Braintree payment method types:
|
7
7
|
|
@@ -35,13 +35,13 @@ Here are the versions of SolidusBraintree and their compatible Solidus and front
|
|
35
35
|
|
36
36
|
| Version | Maintenance Status | Frontend | Branch |
|
37
37
|
|----------------------|-----------------------------|------------------------|----------|
|
38
|
-
| SolidusBraintree 3.0 | New features | SolidusStarterFrontend | [
|
38
|
+
| SolidusBraintree 3.0 | New features | SolidusStarterFrontend | [main] |
|
39
39
|
| SolidusBraintree 2.0 | Security patches, bug fixes | SolidusFrontend | [v2.x] |
|
40
40
|
| SolidusBraintree 1.2 | Deprecated | SolidusFrontend | [v1.x] |
|
41
41
|
|
42
42
|
[v1.x]: https://github.com/solidusio/solidus_braintree/tree/v1.x
|
43
43
|
[v2.x]: https://github.com/solidusio/solidus_braintree/tree/v2.x
|
44
|
-
[
|
44
|
+
[main]: https://github.com/solidusio/solidus_braintree/tree/main
|
45
45
|
|
46
46
|
## Basic Setup
|
47
47
|
|
data/Rakefile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'bundler/gem_tasks'
|
3
4
|
require 'solidus_dev_support/rake_tasks'
|
4
5
|
SolidusDevSupport::RakeTasks.install
|
5
6
|
|
@@ -9,3 +10,6 @@ task :default do
|
|
9
10
|
sh 'bin/rspec'
|
10
11
|
end
|
11
12
|
end
|
13
|
+
|
14
|
+
CLOBBER.include('dummy-app')
|
15
|
+
CLOBBER.include('sandbox')
|
@@ -10,7 +10,7 @@ module SolidusBraintree
|
|
10
10
|
class TokenGenerationDisabledError < StandardError; end
|
11
11
|
|
12
12
|
# Error message from Braintree that gets returned by a non voidable transaction
|
13
|
-
NON_VOIDABLE_STATUS_ERROR_REGEXP = /can only be voided if status is authorized
|
13
|
+
NON_VOIDABLE_STATUS_ERROR_REGEXP = /can only be voided if status is authorized/
|
14
14
|
|
15
15
|
TOKEN_GENERATION_DISABLED_MESSAGE = 'Token generation is disabled. ' \
|
16
16
|
'To re-enable set the `token_generation_enabled` preference on the ' \
|
@@ -6,7 +6,7 @@ module SolidusBraintree
|
|
6
6
|
class Transaction
|
7
7
|
include ActiveModel::Model
|
8
8
|
|
9
|
-
attr_accessor :nonce, :payment_method, :payment_type, :paypal_funding_source, :address, :email, :phone
|
9
|
+
attr_accessor :nonce, :payment_method, :payment_type, :paypal_funding_source, :address, :email, :phone, :device_data
|
10
10
|
|
11
11
|
validates :nonce, presence: true
|
12
12
|
validates :payment_method, presence: true
|
data/bin/dummy-app
CHANGED
@@ -28,10 +28,8 @@ if [ ! -d "dummy-app" ]; then
|
|
28
28
|
fi
|
29
29
|
|
30
30
|
cd ./dummy-app
|
31
|
-
unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-
|
31
|
+
unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-main}" --version '> 0.a'
|
32
32
|
unbundled bundle exec rake db:drop db:create
|
33
33
|
unbundled bundle exec rails generate solidus:install --auto-accept --payment-method=none --no-seed --no-sample "$@"
|
34
34
|
unbundled bundle add $extension_name --path ..
|
35
35
|
unbundled bundle exec rails generate $extension_name:install --migrate --specs=all
|
36
|
-
|
37
|
-
|
data/bin/rspec
CHANGED
data/bin/sandbox
CHANGED
@@ -22,7 +22,7 @@ if [ ! -z $SOLIDUS_BRANCH ]
|
|
22
22
|
then
|
23
23
|
BRANCH=$SOLIDUS_BRANCH
|
24
24
|
else
|
25
|
-
BRANCH="
|
25
|
+
BRANCH="main"
|
26
26
|
fi
|
27
27
|
|
28
28
|
extension_name="solidus_braintree"
|
@@ -47,7 +47,7 @@ if [ ! -d "sandbox" ]; then
|
|
47
47
|
fi
|
48
48
|
|
49
49
|
cd ./sandbox
|
50
|
-
unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-
|
50
|
+
unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-main}" --version '> 0.a'
|
51
51
|
unbundled bundle exec rake db:drop db:create
|
52
52
|
unbundled bundle exec rails generate solidus:install --payment-method=none --auto-accept "$@"
|
53
53
|
unbundled bundle add ${extension_name} --path '../'
|
@@ -144,7 +144,8 @@ SolidusBraintree.PaypalButton.prototype._transactionParams = function(payload) {
|
|
144
144
|
"nonce" : payload.nonce,
|
145
145
|
"payment_type" : payload.type,
|
146
146
|
"paypal_funding_source": SolidusBraintree.fundingSource,
|
147
|
-
"address_attributes" : this._addressParams(payload)
|
147
|
+
"address_attributes" : this._addressParams(payload),
|
148
|
+
"device_data": this._client._dataCollectorInstance.deviceData
|
148
149
|
}
|
149
150
|
};
|
150
151
|
};
|
@@ -15,6 +15,7 @@
|
|
15
15
|
shippingAddressEditable: false,
|
16
16
|
environment: '<%= Rails.env.production? ? "production" : "sandbox" %>',
|
17
17
|
locale: '<%= paypal_button_preference(:paypal_button_locale, store: current_store) %>',
|
18
|
+
useDataCollector: <%= SolidusBraintree::Gateway.first.preferred_use_data_collector %>,
|
18
19
|
style: {
|
19
20
|
color: '<%= paypal_button_preference(:paypal_button_color, store: current_store) %>',
|
20
21
|
shape: '<%= paypal_button_preference(:paypal_button_shape, store: current_store) %>',
|
@@ -56,12 +56,22 @@ module SolidusBraintree
|
|
56
56
|
|
57
57
|
initializer "solidus_braintree_admin_menu_item", after: "register_solidus_braintree_gateway" do
|
58
58
|
Spree::Backend::Config.configure do |config|
|
59
|
-
config.menu_items <<
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
59
|
+
config.menu_items <<
|
60
|
+
if Spree.solidus_gem_version >= Gem::Version.new('4.2')
|
61
|
+
config.class::MenuItem.new(
|
62
|
+
label: :braintree,
|
63
|
+
icon: 'cc-paypal',
|
64
|
+
url: '/solidus_braintree/configurations/list',
|
65
|
+
condition: -> { can?(:list, SolidusBraintree::Configuration) }
|
66
|
+
)
|
67
|
+
else
|
68
|
+
config.class::MenuItem.new(
|
69
|
+
[:braintree],
|
70
|
+
'cc-paypal',
|
71
|
+
url: '/solidus_braintree/configurations/list',
|
72
|
+
condition: -> { can?(:list, SolidusBraintree::Configuration) }
|
73
|
+
)
|
74
|
+
end
|
65
75
|
end
|
66
76
|
end
|
67
77
|
end
|
data/solidus_braintree.gemspec
CHANGED
@@ -15,9 +15,9 @@ Gem::Specification.new do |spec|
|
|
15
15
|
|
16
16
|
spec.metadata['homepage_uri'] = spec.homepage
|
17
17
|
spec.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_braintree'
|
18
|
-
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_braintree/
|
18
|
+
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_braintree/releases'
|
19
19
|
|
20
|
-
spec.required_ruby_version = Gem::Requirement.new('>=
|
20
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 3.0', '< 4')
|
21
21
|
|
22
22
|
# Specify which files should be added to the gem when it is released.
|
23
23
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -31,12 +31,11 @@ Gem::Specification.new do |spec|
|
|
31
31
|
|
32
32
|
spec.add_dependency 'activemerchant', '~> 1.48'
|
33
33
|
spec.add_dependency 'braintree', '~> 3.4'
|
34
|
-
spec.add_dependency 'solidus_api', ['>= 3.4.0.dev', '<
|
35
|
-
spec.add_dependency '
|
34
|
+
spec.add_dependency 'solidus_api', ['>= 3.4.0.dev', '< 5']
|
35
|
+
spec.add_dependency 'solidus_backend', ['>= 3.4.0.dev', '< 5']
|
36
|
+
spec.add_dependency 'solidus_core', ['>= 3.4.0.dev', '< 5']
|
36
37
|
spec.add_dependency 'solidus_support', ['>= 0.8.1', '< 1']
|
37
38
|
|
38
39
|
spec.add_development_dependency 'rails-controller-testing'
|
39
40
|
spec.add_development_dependency 'solidus_dev_support', '~> 2.5'
|
40
|
-
|
41
|
-
spec.post_install_message = "If you're upgrading to v2.0.0, please see the README for upgrade instructions."
|
42
41
|
end
|
@@ -1,7 +1,9 @@
|
|
1
|
-
require '
|
1
|
+
require 'solidus_starter_frontend_spec_helper'
|
2
2
|
|
3
3
|
require 'support/solidus_braintree/capybara'
|
4
4
|
require 'support/solidus_braintree/factories'
|
5
5
|
require 'support/solidus_braintree/gateway_helpers'
|
6
6
|
require 'support/solidus_braintree/order_walkthrough'
|
7
7
|
require 'support/solidus_braintree/vcr'
|
8
|
+
|
9
|
+
Braintree::Configuration.logger = Rails.logger
|
@@ -21,7 +21,7 @@ RSpec.shared_context 'when order is ready for payment' do
|
|
21
21
|
|
22
22
|
let(:order) do
|
23
23
|
order = Spree::Order.create!(
|
24
|
-
line_items:
|
24
|
+
line_items: create_list(:line_item, 1, price: 50),
|
25
25
|
email: 'test@example.com',
|
26
26
|
bill_address: address,
|
27
27
|
ship_address: address,
|
@@ -35,8 +35,4 @@ VCR.configure do |c|
|
|
35
35
|
|
36
36
|
!r1_resource.nil? && r1_resource == r2_resource
|
37
37
|
end
|
38
|
-
|
39
|
-
# https://github.com/titusfortner/webdrivers/wiki/Using-with-VCR-or-WebMock
|
40
|
-
driver_hosts = Webdrivers::Common.subclasses.map { |driver| URI(driver.base_url).host }
|
41
|
-
c.ignore_hosts(*driver_hosts)
|
42
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_braintree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stembolt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: 3.4.0.dev
|
48
48
|
- - "<"
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '
|
50
|
+
version: '5'
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,27 @@ dependencies:
|
|
57
57
|
version: 3.4.0.dev
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '5'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: solidus_backend
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 3.4.0.dev
|
68
|
+
- - "<"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '5'
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 3.4.0.dev
|
78
|
+
- - "<"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '5'
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: solidus_core
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +87,7 @@ dependencies:
|
|
67
87
|
version: 3.4.0.dev
|
68
88
|
- - "<"
|
69
89
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
90
|
+
version: '5'
|
71
91
|
type: :runtime
|
72
92
|
prerelease: false
|
73
93
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -77,7 +97,7 @@ dependencies:
|
|
77
97
|
version: 3.4.0.dev
|
78
98
|
- - "<"
|
79
99
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
100
|
+
version: '5'
|
81
101
|
- !ruby/object:Gem::Dependency
|
82
102
|
name: solidus_support
|
83
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,6 +162,7 @@ files:
|
|
142
162
|
- CHANGELOG.md
|
143
163
|
- Gemfile
|
144
164
|
- LICENSE
|
165
|
+
- OLD_CHANGELOG.md
|
145
166
|
- README.md
|
146
167
|
- Rakefile
|
147
168
|
- app/assets/config/solidus_braintree_manifest.js
|
@@ -304,7 +325,7 @@ files:
|
|
304
325
|
- spec/models/solidus_braintree/transaction_spec.rb
|
305
326
|
- spec/models/spree/store_spec.rb
|
306
327
|
- spec/requests/spree/api/orders_controller_spec.rb
|
307
|
-
- spec/
|
328
|
+
- spec/solidus_braintree_spec_helper.rb
|
308
329
|
- spec/support/solidus_braintree/capybara.rb
|
309
330
|
- spec/support/solidus_braintree/factories.rb
|
310
331
|
- spec/support/solidus_braintree/gateway_helpers.rb
|
@@ -323,9 +344,8 @@ licenses:
|
|
323
344
|
metadata:
|
324
345
|
homepage_uri: https://github.com/solidusio/solidus_braintree
|
325
346
|
source_code_uri: https://github.com/solidusio/solidus_braintree
|
326
|
-
changelog_uri: https://github.com/solidusio/solidus_braintree/
|
327
|
-
post_install_message:
|
328
|
-
instructions.
|
347
|
+
changelog_uri: https://github.com/solidusio/solidus_braintree/releases
|
348
|
+
post_install_message:
|
329
349
|
rdoc_options: []
|
330
350
|
require_paths:
|
331
351
|
- lib
|
@@ -333,7 +353,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
333
353
|
requirements:
|
334
354
|
- - ">="
|
335
355
|
- !ruby/object:Gem::Version
|
336
|
-
version: '
|
356
|
+
version: '3.0'
|
337
357
|
- - "<"
|
338
358
|
- !ruby/object:Gem::Version
|
339
359
|
version: '4'
|
@@ -343,7 +363,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
343
363
|
- !ruby/object:Gem::Version
|
344
364
|
version: '0'
|
345
365
|
requirements: []
|
346
|
-
rubygems_version: 3.3.
|
366
|
+
rubygems_version: 3.3.23
|
347
367
|
signing_key:
|
348
368
|
specification_version: 4
|
349
369
|
summary: Officially supported Braintree extension
|
@@ -397,7 +417,7 @@ test_files:
|
|
397
417
|
- spec/models/solidus_braintree/transaction_spec.rb
|
398
418
|
- spec/models/spree/store_spec.rb
|
399
419
|
- spec/requests/spree/api/orders_controller_spec.rb
|
400
|
-
- spec/
|
420
|
+
- spec/solidus_braintree_spec_helper.rb
|
401
421
|
- spec/support/solidus_braintree/capybara.rb
|
402
422
|
- spec/support/solidus_braintree/factories.rb
|
403
423
|
- spec/support/solidus_braintree/gateway_helpers.rb
|