solidus_paypal_commerce_platform 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +23 -4
- data/.rubocop.yml +2 -1
- data/CHANGELOG.md +159 -145
- data/Gemfile +14 -1
- data/README.md +2 -2
- data/app/controllers/solidus_paypal_commerce_platform/orders_controller.rb +1 -1
- data/app/models/solidus_paypal_commerce_platform/gateway.rb +0 -2
- data/app/models/solidus_paypal_commerce_platform/payment_method.rb +1 -1
- data/app/models/solidus_paypal_commerce_platform/payment_source.rb +1 -1
- data/app/models/solidus_paypal_commerce_platform/paypal_order.rb +6 -21
- data/lib/paypal/access_token.rb +22 -0
- data/lib/paypal/lib.rb +19 -0
- data/lib/paypal/paypal_checkout_sdk/orders/orders_authorize_request.rb +44 -0
- data/lib/paypal/paypal_checkout_sdk/orders/orders_capture_request.rb +42 -0
- data/lib/paypal/paypal_checkout_sdk/orders/orders_create_request.rb +36 -0
- data/lib/paypal/paypal_checkout_sdk/orders/orders_get_request.rb +26 -0
- data/lib/paypal/paypal_checkout_sdk/orders/orders_patch_request.rb +77 -0
- data/lib/paypal/paypal_checkout_sdk/orders/orders_validate_request.rb +34 -0
- data/lib/paypal/paypal_checkout_sdk/payments/authorizations_capture_request.rb +38 -0
- data/lib/paypal/paypal_checkout_sdk/payments/authorizations_get_request.rb +26 -0
- data/lib/paypal/paypal_checkout_sdk/payments/authorizations_reauthorize_request.rb +45 -0
- data/lib/paypal/paypal_checkout_sdk/payments/authorizations_void_request.rb +27 -0
- data/lib/paypal/paypal_checkout_sdk/payments/captures_get_request.rb +26 -0
- data/lib/paypal/paypal_checkout_sdk/payments/captures_refund_request.rb +40 -0
- data/lib/paypal/paypal_checkout_sdk/payments/refunds_get_request.rb +26 -0
- data/lib/paypal/paypal_environment.rb +39 -0
- data/lib/paypal/paypal_http_client.rb +56 -0
- data/lib/paypal/token_requests.rb +42 -0
- data/lib/solidus_paypal_commerce_platform/access_token_authorization_request.rb +1 -1
- data/lib/solidus_paypal_commerce_platform/client.rb +1 -1
- data/lib/solidus_paypal_commerce_platform/configuration.rb +1 -1
- data/lib/solidus_paypal_commerce_platform/paypal_checkout_sdk/orders/orders_authorize_request.rb +48 -0
- data/lib/solidus_paypal_commerce_platform/paypal_checkout_sdk/orders/orders_capture_request.rb +46 -0
- data/lib/solidus_paypal_commerce_platform/paypal_checkout_sdk/orders/orders_patch_request.rb +80 -0
- data/lib/solidus_paypal_commerce_platform/paypal_checkout_sdk/orders/orders_validate_request.rb +36 -0
- data/lib/solidus_paypal_commerce_platform/paypal_checkout_sdk/payments/authorizations_reauthorize_request.rb +50 -0
- data/lib/solidus_paypal_commerce_platform/paypal_checkout_sdk/payments/captures_refund_request.rb +43 -0
- data/lib/solidus_paypal_commerce_platform/version.rb +1 -1
- data/lib/solidus_paypal_commerce_platform.rb +1 -0
- data/solidus_paypal_commerce_platform.gemspec +8 -7
- metadata +54 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc92be06606fdc11bd65cb76e0121637054956852853f533dc22a0c04234bf31
|
4
|
+
data.tar.gz: 5e6eb3333ceb6590c711a572cce20a49c88ea313d6547612e1ae490766219454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '079cdd57b4e2dc48a17b79e15711b1182d31de5e12b3aa7087590df33ccd6686197c65c7636d48a57213d4fa28cff0c37cd93117eacba1b99818eafbb0ef13c1'
|
7
|
+
data.tar.gz: a66e1b6cfa262c523ab8b95d47bd975a96080b5772f8a032cae2d9fdc449f5723261409b552da351fa48def0b3a35e3049c9f50bf2224abfbe6f18f4efb2cc8b
|
data/.circleci/config.yml
CHANGED
@@ -11,15 +11,32 @@ orbs:
|
|
11
11
|
|
12
12
|
jobs:
|
13
13
|
run-specs-with-postgres:
|
14
|
-
executor:
|
14
|
+
executor:
|
15
|
+
name: solidusio_extensions/postgres
|
16
|
+
ruby_version: '3.1'
|
15
17
|
steps:
|
16
|
-
-
|
18
|
+
- checkout
|
19
|
+
- browser-tools/install-chrome
|
17
20
|
- solidusio_extensions/run-tests
|
21
|
+
|
18
22
|
run-specs-with-mysql:
|
19
|
-
executor:
|
23
|
+
executor:
|
24
|
+
name: solidusio_extensions/mysql
|
25
|
+
ruby_version: '3.0'
|
20
26
|
steps:
|
21
|
-
-
|
27
|
+
- checkout
|
28
|
+
- browser-tools/install-chrome
|
22
29
|
- solidusio_extensions/run-tests
|
30
|
+
|
31
|
+
run-specs-with-sqlite:
|
32
|
+
executor:
|
33
|
+
name: solidusio_extensions/sqlite
|
34
|
+
ruby_version: '2.7'
|
35
|
+
steps:
|
36
|
+
- checkout
|
37
|
+
- browser-tools/install-chrome
|
38
|
+
- solidusio_extensions/run-tests
|
39
|
+
|
23
40
|
lint-code:
|
24
41
|
executor: solidusio_extensions/sqlite-memory
|
25
42
|
steps:
|
@@ -30,6 +47,7 @@ workflows:
|
|
30
47
|
jobs:
|
31
48
|
- run-specs-with-postgres
|
32
49
|
- run-specs-with-mysql
|
50
|
+
- run-specs-with-sqlite
|
33
51
|
- lint-code
|
34
52
|
|
35
53
|
"Weekly run specs against master":
|
@@ -43,3 +61,4 @@ workflows:
|
|
43
61
|
jobs:
|
44
62
|
- run-specs-with-postgres
|
45
63
|
- run-specs-with-mysql
|
64
|
+
- run-specs-with-sqlite
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,224 +1,238 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [v0.
|
3
|
+
## [v0.5.0](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.5.0) (2022-10-07)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/solidusio
|
5
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.4.0...v0.5.0)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Update links after moving to @solidusio [\#164](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/164) ([elia](https://github.com/elia))
|
10
|
+
- Fix assigning API created orders to the current user [\#163](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/163) ([elia](https://github.com/elia))
|
11
|
+
- Require Solidus 3 & Ruby 2.7 [\#163](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/163) ([elia](https://github.com/elia))
|
12
|
+
- Fix master, import paypal-checkout-sdk [\#161](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/161) ([cpfergus1](https://github.com/cpfergus1))
|
13
|
+
- Update to use forked solidus\_frontend when needed [\#160](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/160) ([waiting-for-dev](https://github.com/waiting-for-dev))
|
14
|
+
- Fix paypal\_order name address bug [\#153](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/153) ([RyanofWoods](https://github.com/RyanofWoods))
|
15
|
+
|
16
|
+
## [v0.4.0](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.4.0) (2022-06-03)
|
17
|
+
|
18
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.3.2...v0.4.0)
|
6
19
|
|
7
20
|
**Closed issues:**
|
8
21
|
|
9
|
-
- Gem has RuboCop warnings [\#144](https://github.com/solidusio
|
10
|
-
- Silent Failure In JS [\#130](https://github.com/solidusio
|
11
|
-
- Not Applying Sales Tax [\#126](https://github.com/solidusio
|
22
|
+
- Gem has RuboCop warnings [\#144](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/144)
|
23
|
+
- Silent Failure In JS [\#130](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/130)
|
24
|
+
- Not Applying Sales Tax [\#126](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/126)
|
12
25
|
|
13
26
|
**Merged pull requests:**
|
14
27
|
|
15
|
-
-
|
16
|
-
-
|
17
|
-
- Block \#capture on
|
18
|
-
-
|
19
|
-
-
|
20
|
-
-
|
21
|
-
-
|
22
|
-
-
|
23
|
-
-
|
28
|
+
- Bump SolidusPaypalCommercePlatform to 0.4.0 [\#158](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/158) ([gsmendoza](https://github.com/gsmendoza))
|
29
|
+
- Fix Rails 7 autoloading issues with SolidusPaypalCommercePlatform [\#156](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/156) ([gsmendoza](https://github.com/gsmendoza))
|
30
|
+
- Block \#capture on Pending Payments" [\#155](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/155) ([Naokimi](https://github.com/Naokimi))
|
31
|
+
- Block \#capture on PayPal PENDING Payments [\#154](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/154) ([Naokimi](https://github.com/Naokimi))
|
32
|
+
- Change Venmo integration to use Venmo standalone [\#151](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/151) ([RyanofWoods](https://github.com/RyanofWoods))
|
33
|
+
- Allow enable\_venmo preference to have default Venmo behaviour [\#148](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/148) ([RyanofWoods](https://github.com/RyanofWoods))
|
34
|
+
- Fix RuboCop warnings [\#147](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/147) ([RyanofWoods](https://github.com/RyanofWoods))
|
35
|
+
- Revert "Allow Ruby 3" [\#146](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/146) ([RyanofWoods](https://github.com/RyanofWoods))
|
36
|
+
- Add Venmo as payment option [\#138](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/138) ([RyanofWoods](https://github.com/RyanofWoods))
|
37
|
+
- Wizard\#logo use `image_path` over `image_url`. [\#131](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/131) ([essn](https://github.com/essn))
|
24
38
|
|
25
|
-
## [v0.3.2](https://github.com/solidusio
|
39
|
+
## [v0.3.2](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.3.2) (2021-05-11)
|
26
40
|
|
27
|
-
[Full Changelog](https://github.com/solidusio
|
41
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.3.1...v0.3.2)
|
28
42
|
|
29
43
|
**Closed issues:**
|
30
44
|
|
31
|
-
- Unable To Cancel An Order [\#120](https://github.com/solidusio
|
45
|
+
- Unable To Cancel An Order [\#120](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/120)
|
32
46
|
|
33
47
|
**Merged pull requests:**
|
34
48
|
|
35
|
-
- Update solidus using solidus\_dev\_support [\#124](https://github.com/solidusio
|
36
|
-
- Add NO\_SHIPPING to shipping preference [\#123](https://github.com/solidusio
|
37
|
-
- Support solidus 3.0 [\#122](https://github.com/solidusio
|
49
|
+
- Update solidus using solidus\_dev\_support [\#124](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/124) ([DanielePalombo](https://github.com/DanielePalombo))
|
50
|
+
- Add NO\_SHIPPING to shipping preference [\#123](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/123) ([DanielePalombo](https://github.com/DanielePalombo))
|
51
|
+
- Support solidus 3.0 [\#122](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/122) ([DanielePalombo](https://github.com/DanielePalombo))
|
38
52
|
|
39
|
-
## [v0.3.1](https://github.com/solidusio
|
53
|
+
## [v0.3.1](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.3.1) (2021-04-20)
|
40
54
|
|
41
|
-
[Full Changelog](https://github.com/solidusio
|
55
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.3.0...v0.3.1)
|
42
56
|
|
43
57
|
**Merged pull requests:**
|
44
58
|
|
45
|
-
- Allow Solidus 3 [\#121](https://github.com/solidusio
|
59
|
+
- Allow Solidus 3 [\#121](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/121) ([kennyadsl](https://github.com/kennyadsl))
|
46
60
|
|
47
|
-
## [v0.3.0](https://github.com/solidusio
|
61
|
+
## [v0.3.0](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.3.0) (2021-03-16)
|
48
62
|
|
49
|
-
[Full Changelog](https://github.com/solidusio
|
63
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.2.2...v0.3.0)
|
50
64
|
|
51
65
|
**Closed issues:**
|
52
66
|
|
53
|
-
- Prepare Solidus Paypal Commerce Platform for Solidus 3.0 [\#115](https://github.com/solidusio
|
67
|
+
- Prepare Solidus Paypal Commerce Platform for Solidus 3.0 [\#115](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/115)
|
54
68
|
|
55
69
|
**Merged pull requests:**
|
56
70
|
|
57
|
-
- Use new factories loading method [\#118](https://github.com/solidusio
|
58
|
-
- Update extension for Solidus 3.0 [\#117](https://github.com/solidusio
|
71
|
+
- Use new factories loading method [\#118](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/118) ([kennyadsl](https://github.com/kennyadsl))
|
72
|
+
- Update extension for Solidus 3.0 [\#117](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/117) ([seand7565](https://github.com/seand7565))
|
59
73
|
|
60
|
-
## [v0.2.2](https://github.com/solidusio
|
74
|
+
## [v0.2.2](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.2.2) (2020-11-20)
|
61
75
|
|
62
|
-
[Full Changelog](https://github.com/solidusio
|
76
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.2.1...v0.2.2)
|
63
77
|
|
64
78
|
**Implemented enhancements:**
|
65
79
|
|
66
|
-
- Make the PayPal messaging component a bit more modular [\#112](https://github.com/solidusio
|
67
|
-
- Implement and QA Paypal credit solutions [\#99](https://github.com/solidusio
|
80
|
+
- Make the PayPal messaging component a bit more modular [\#112](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/112)
|
81
|
+
- Implement and QA Paypal credit solutions [\#99](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/99)
|
68
82
|
|
69
83
|
**Closed issues:**
|
70
84
|
|
71
|
-
- Simulated Address Info in Live Order [\#104](https://github.com/solidusio
|
85
|
+
- Simulated Address Info in Live Order [\#104](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/104)
|
72
86
|
|
73
87
|
**Merged pull requests:**
|
74
88
|
|
75
|
-
- Relax SolidusWebhooks dependency [\#114](https://github.com/solidusio
|
76
|
-
- Add information about paypal credit messaging to readme [\#113](https://github.com/solidusio
|
89
|
+
- Relax SolidusWebhooks dependency [\#114](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/114) ([kennyadsl](https://github.com/kennyadsl))
|
90
|
+
- Add information about paypal credit messaging to readme [\#113](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/113) ([seand7565](https://github.com/seand7565))
|
77
91
|
|
78
|
-
## [v0.2.1](https://github.com/solidusio
|
92
|
+
## [v0.2.1](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.2.1) (2020-11-09)
|
79
93
|
|
80
|
-
[Full Changelog](https://github.com/solidusio
|
94
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.2.0...v0.2.1)
|
81
95
|
|
82
96
|
**Closed issues:**
|
83
97
|
|
84
|
-
- There was a problem connecting with paypal. [\#107](https://github.com/solidusio
|
85
|
-
- Bad Request \(400\) when opening PayPal Payment Popup \(eg clicking Pay with PayPal during checkout\) [\#103](https://github.com/solidusio
|
98
|
+
- There was a problem connecting with paypal. [\#107](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/107)
|
99
|
+
- Bad Request \(400\) when opening PayPal Payment Popup \(eg clicking Pay with PayPal during checkout\) [\#103](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/103)
|
86
100
|
|
87
101
|
**Merged pull requests:**
|
88
102
|
|
89
|
-
- Move and rename address decorator [\#111](https://github.com/solidusio
|
90
|
-
- Constrain solidus\_support to 0.5.1 or greater [\#110](https://github.com/solidusio
|
91
|
-
- Add currency to PayPal SDK URL [\#108](https://github.com/solidusio
|
92
|
-
- Update specs to comply with new rubocop regulations [\#106](https://github.com/solidusio
|
93
|
-
- Add address only to initial PayPal request [\#105](https://github.com/solidusio
|
103
|
+
- Move and rename address decorator [\#111](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/111) ([seand7565](https://github.com/seand7565))
|
104
|
+
- Constrain solidus\_support to 0.5.1 or greater [\#110](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/110) ([seand7565](https://github.com/seand7565))
|
105
|
+
- Add currency to PayPal SDK URL [\#108](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/108) ([seand7565](https://github.com/seand7565))
|
106
|
+
- Update specs to comply with new rubocop regulations [\#106](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/106) ([seand7565](https://github.com/seand7565))
|
107
|
+
- Add address only to initial PayPal request [\#105](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/105) ([seand7565](https://github.com/seand7565))
|
94
108
|
|
95
|
-
## [v0.2.0](https://github.com/solidusio
|
109
|
+
## [v0.2.0](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.2.0) (2020-10-13)
|
96
110
|
|
97
|
-
[Full Changelog](https://github.com/solidusio
|
111
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.1.0...v0.2.0)
|
98
112
|
|
99
113
|
**Closed issues:**
|
100
114
|
|
101
|
-
- README lists two different types of PayPal credentials [\#97](https://github.com/solidusio
|
102
|
-
- `paypal_email_confirmed` is not an actual preference [\#96](https://github.com/solidusio
|
103
|
-
- Make this extension the default option for Solidus [\#88](https://github.com/solidusio
|
115
|
+
- README lists two different types of PayPal credentials [\#97](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/97)
|
116
|
+
- `paypal_email_confirmed` is not an actual preference [\#96](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/96)
|
117
|
+
- Make this extension the default option for Solidus [\#88](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/88)
|
104
118
|
|
105
119
|
**Merged pull requests:**
|
106
120
|
|
107
|
-
- Add PayPal messaging component [\#102](https://github.com/solidusio
|
108
|
-
- Add partner ID attribute to SDK javascript tag [\#101](https://github.com/solidusio
|
109
|
-
- Set current\_order\_id and token during payment step [\#100](https://github.com/solidusio
|
110
|
-
- Remove incorrect/unclear info from README [\#98](https://github.com/solidusio
|
111
|
-
- Update the extension with the latest solidus\_dev\_support defaults [\#95](https://github.com/solidusio
|
112
|
-
- Add skip migration option to installer [\#94](https://github.com/solidusio
|
113
|
-
- Update README to reflect referral fee [\#93](https://github.com/solidusio
|
121
|
+
- Add PayPal messaging component [\#102](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/102) ([seand7565](https://github.com/seand7565))
|
122
|
+
- Add partner ID attribute to SDK javascript tag [\#101](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/101) ([seand7565](https://github.com/seand7565))
|
123
|
+
- Set current\_order\_id and token during payment step [\#100](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/100) ([MFRWDesign](https://github.com/MFRWDesign))
|
124
|
+
- Remove incorrect/unclear info from README [\#98](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/98) ([seand7565](https://github.com/seand7565))
|
125
|
+
- Update the extension with the latest solidus\_dev\_support defaults [\#95](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/95) ([elia](https://github.com/elia))
|
126
|
+
- Add skip migration option to installer [\#94](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/94) ([seand7565](https://github.com/seand7565))
|
127
|
+
- Update README to reflect referral fee [\#93](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/93) ([seand7565](https://github.com/seand7565))
|
114
128
|
|
115
|
-
## [v0.1.0](https://github.com/solidusio
|
129
|
+
## [v0.1.0](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.1.0) (2020-09-03)
|
116
130
|
|
117
|
-
[Full Changelog](https://github.com/solidusio
|
131
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/v0.0.1...v0.1.0)
|
118
132
|
|
119
133
|
**Merged pull requests:**
|
120
134
|
|
121
|
-
- Temporarily switch from apparition to cuprite [\#92](https://github.com/solidusio
|
122
|
-
- Update links after moving the repo to solidusio-contrib [\#91](https://github.com/solidusio
|
123
|
-
- Add a configurable state\_guesser class to guess states [\#90](https://github.com/solidusio
|
124
|
-
- Add better error handling to button\_actions.js [\#89](https://github.com/solidusio
|
135
|
+
- Temporarily switch from apparition to cuprite [\#92](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/92) ([elia](https://github.com/elia))
|
136
|
+
- Update links after moving the repo to solidusio-contrib [\#91](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/91) ([elia](https://github.com/elia))
|
137
|
+
- Add a configurable state\_guesser class to guess states [\#90](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/90) ([seand7565](https://github.com/seand7565))
|
138
|
+
- Add better error handling to button\_actions.js [\#89](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/89) ([seand7565](https://github.com/seand7565))
|
125
139
|
|
126
|
-
## [v0.0.1](https://github.com/solidusio
|
140
|
+
## [v0.0.1](https://github.com/solidusio/solidus_paypal_commerce_platform/tree/v0.0.1) (2020-08-10)
|
127
141
|
|
128
|
-
[Full Changelog](https://github.com/solidusio
|
142
|
+
[Full Changelog](https://github.com/solidusio/solidus_paypal_commerce_platform/compare/11111204cc53e8bcfd365ae70506c07940446b0c...v0.0.1)
|
129
143
|
|
130
144
|
**Implemented enhancements:**
|
131
145
|
|
132
|
-
- Frontend users should be able to check out using PayPal [\#6](https://github.com/solidusio
|
133
|
-
- Admin users should be able to style the PayPal buttons on the payment\_method show page [\#5](https://github.com/solidusio
|
134
|
-
- Webhooks [\#83](https://github.com/solidusio
|
135
|
-
- Display paypal email to customer on confirmation [\#54](https://github.com/solidusio
|
136
|
-
- Use an env accessor to control live/sandbox urls and classes [\#31](https://github.com/solidusio
|
137
|
-
- Add response object to API calls to PayPal [\#30](https://github.com/solidusio
|
146
|
+
- Frontend users should be able to check out using PayPal [\#6](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/6)
|
147
|
+
- Admin users should be able to style the PayPal buttons on the payment\_method show page [\#5](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/5)
|
148
|
+
- Webhooks [\#83](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/83) ([elia](https://github.com/elia))
|
149
|
+
- Display paypal email to customer on confirmation [\#54](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/54) ([seand7565](https://github.com/seand7565))
|
150
|
+
- Use an env accessor to control live/sandbox urls and classes [\#31](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/31) ([elia](https://github.com/elia))
|
151
|
+
- Add response object to API calls to PayPal [\#30](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/30) ([seand7565](https://github.com/seand7565))
|
138
152
|
|
139
153
|
**Fixed bugs:**
|
140
154
|
|
141
|
-
- Users can check out with invalid payment [\#19](https://github.com/solidusio
|
142
|
-
- Have different nonce for every click of the wizard button [\#87](https://github.com/solidusio
|
143
|
-
- Correctly communicate errors when updating shipping rates [\#86](https://github.com/solidusio
|
144
|
-
- Add deface to deps [\#57](https://github.com/solidusio
|
155
|
+
- Users can check out with invalid payment [\#19](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/19)
|
156
|
+
- Have different nonce for every click of the wizard button [\#87](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/87) ([elia](https://github.com/elia))
|
157
|
+
- Correctly communicate errors when updating shipping rates [\#86](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/86) ([elia](https://github.com/elia))
|
158
|
+
- Add deface to deps [\#57](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/57) ([elia](https://github.com/elia))
|
145
159
|
|
146
160
|
**Closed issues:**
|
147
161
|
|
148
|
-
- Add something to the README about backend payments [\#75](https://github.com/solidusio
|
149
|
-
- Explore enabling the payment method by default [\#71](https://github.com/solidusio
|
150
|
-
- Explore subscribing to webhooks [\#70](https://github.com/solidusio
|
151
|
-
- We're using the wrong ID for paypal\_order\_id [\#69](https://github.com/solidusio
|
152
|
-
- Handle instrument declined errors [\#68](https://github.com/solidusio
|
153
|
-
- Extend lightbox during customer payment [\#63](https://github.com/solidusio
|
154
|
-
- Add this extension to demo store for integration team walkthrough [\#49](https://github.com/solidusio
|
155
|
-
- Store PayPal Debug ID [\#48](https://github.com/solidusio
|
156
|
-
- PayPal email address needs to be included on the confirm step [\#47](https://github.com/solidusio
|
157
|
-
- Digital goods should be set as not requiring shipment [\#46](https://github.com/solidusio
|
158
|
-
- Allow checkout on product/cart page to complete the order [\#44](https://github.com/solidusio
|
159
|
-
- PayPal uses different states than Solidus for some countries [\#38](https://github.com/solidusio
|
160
|
-
- Validate amount charged with PayPal [\#37](https://github.com/solidusio
|
161
|
-
- Allow order simulator to be a configurable class [\#36](https://github.com/solidusio
|
162
|
-
- Admin users have the option to edit payment amount [\#29](https://github.com/solidusio
|
163
|
-
- Add PayPal button to product page [\#27](https://github.com/solidusio
|
164
|
-
- Add PayPal button to cart page [\#26](https://github.com/solidusio
|
165
|
-
- Add `commit=false` to javascript SDK URL [\#18](https://github.com/solidusio
|
166
|
-
- Explore using Rails secrets to encode and decrypt PayPal client id and secret [\#17](https://github.com/solidusio
|
167
|
-
- Backend users should be able to checkout & admin payments [\#15](https://github.com/solidusio
|
168
|
-
- Change static sandbox URL and objects to dynamic [\#14](https://github.com/solidusio
|
169
|
-
- PayPal response address change [\#13](https://github.com/solidusio
|
170
|
-
- Ensure the email is verified before activating the payment method [\#9](https://github.com/solidusio
|
171
|
-
- Add a URL generator for the PayPal JS SDK [\#8](https://github.com/solidusio
|
172
|
-
- Allow users to onboard with PayPal [\#1](https://github.com/solidusio
|
162
|
+
- Add something to the README about backend payments [\#75](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/75)
|
163
|
+
- Explore enabling the payment method by default [\#71](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/71)
|
164
|
+
- Explore subscribing to webhooks [\#70](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/70)
|
165
|
+
- We're using the wrong ID for paypal\_order\_id [\#69](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/69)
|
166
|
+
- Handle instrument declined errors [\#68](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/68)
|
167
|
+
- Extend lightbox during customer payment [\#63](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/63)
|
168
|
+
- Add this extension to demo store for integration team walkthrough [\#49](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/49)
|
169
|
+
- Store PayPal Debug ID [\#48](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/48)
|
170
|
+
- PayPal email address needs to be included on the confirm step [\#47](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/47)
|
171
|
+
- Digital goods should be set as not requiring shipment [\#46](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/46)
|
172
|
+
- Allow checkout on product/cart page to complete the order [\#44](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/44)
|
173
|
+
- PayPal uses different states than Solidus for some countries [\#38](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/38)
|
174
|
+
- Validate amount charged with PayPal [\#37](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/37)
|
175
|
+
- Allow order simulator to be a configurable class [\#36](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/36)
|
176
|
+
- Admin users have the option to edit payment amount [\#29](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/29)
|
177
|
+
- Add PayPal button to product page [\#27](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/27)
|
178
|
+
- Add PayPal button to cart page [\#26](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/26)
|
179
|
+
- Add `commit=false` to javascript SDK URL [\#18](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/18)
|
180
|
+
- Explore using Rails secrets to encode and decrypt PayPal client id and secret [\#17](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/17)
|
181
|
+
- Backend users should be able to checkout & admin payments [\#15](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/15)
|
182
|
+
- Change static sandbox URL and objects to dynamic [\#14](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/14)
|
183
|
+
- PayPal response address change [\#13](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/13)
|
184
|
+
- Ensure the email is verified before activating the payment method [\#9](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/9)
|
185
|
+
- Add a URL generator for the PayPal JS SDK [\#8](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/8)
|
186
|
+
- Allow users to onboard with PayPal [\#1](https://github.com/solidusio/solidus_paypal_commerce_platform/issues/1)
|
173
187
|
|
174
188
|
**Merged pull requests:**
|
175
189
|
|
176
|
-
- Use live partner ids [\#85](https://github.com/solidusio
|
177
|
-
- Update README to account for checkouts without a confirmation step [\#84](https://github.com/solidusio
|
178
|
-
- Replace order simulator with something simpler [\#82](https://github.com/solidusio
|
179
|
-
- Cleanup [\#81](https://github.com/solidusio
|
180
|
-
- Send line\_item and shipping promotions to PayPal [\#80](https://github.com/solidusio
|
181
|
-
- Change outstanding\_balance to total in order total checker [\#79](https://github.com/solidusio
|
182
|
-
- Add overlay to ease transition to confirmation page [\#78](https://github.com/solidusio
|
183
|
-
- Default available\_to\_users to true [\#77](https://github.com/solidusio
|
184
|
-
- Add info about PayPal Terminal to README [\#76](https://github.com/solidusio
|
185
|
-
- Return a payment declined error on the frontend [\#74](https://github.com/solidusio
|
186
|
-
- Only use the necessary data to let the spec pass [\#73](https://github.com/solidusio
|
187
|
-
- Display capture\_id instead of order\_id to admin user [\#72](https://github.com/solidusio
|
188
|
-
- Use options instead of preferences [\#67](https://github.com/solidusio
|
189
|
-
- Update README to reflect new preferences [\#66](https://github.com/solidusio
|
190
|
-
- Add version to cache\_key [\#65](https://github.com/solidusio
|
191
|
-
- Include payment method information in pricing options cache key [\#62](https://github.com/solidusio
|
192
|
-
- Only use available payment\_methods [\#61](https://github.com/solidusio
|
193
|
-
- Explicitly require deface [\#60](https://github.com/solidusio
|
194
|
-
- Verify email address is verified before allowing payment method to be available [\#59](https://github.com/solidusio
|
195
|
-
- Use the ORB definition of lint-code [\#58](https://github.com/solidusio
|
196
|
-
- Send amount of payment to PayPal on capture [\#56](https://github.com/solidusio
|
197
|
-
- Verify amount to charge with order total [\#55](https://github.com/solidusio
|
198
|
-
- Linting the project with rubocop [\#53](https://github.com/solidusio
|
199
|
-
- Add PayPal Debug ID to log entries [\#52](https://github.com/solidusio
|
200
|
-
- Fix PayPal request success message en.yml paths [\#51](https://github.com/solidusio
|
201
|
-
- Add configuration options to SolidusPaypalCommercePlatform [\#50](https://github.com/solidusio
|
202
|
-
- Add PayPal button to product page [\#45](https://github.com/solidusio
|
203
|
-
- Add PayPal Button To Cart Page [\#43](https://github.com/solidusio
|
204
|
-
- Add ability to change address on PayPal [\#42](https://github.com/solidusio
|
205
|
-
- Add a basic codecov config to show commit status [\#41](https://github.com/solidusio
|
206
|
-
- Add CI & Coverage badges to the readme [\#40](https://github.com/solidusio
|
207
|
-
- Rely on sdk request classes [\#39](https://github.com/solidusio
|
208
|
-
- Use "commit=false" in the JS SDK url when "confirm" step is present [\#33](https://github.com/solidusio
|
209
|
-
- Renames: Gateway → PaymentMethod / Requests → Gateway [\#32](https://github.com/solidusio
|
210
|
-
- Add PayPal Virtual Terminal notice to backend [\#25](https://github.com/solidusio
|
211
|
-
- Add missing partials necessary for backend [\#24](https://github.com/solidusio
|
212
|
-
- Add the ability to void authorized payments [\#23](https://github.com/solidusio
|
213
|
-
- Fix order controller response [\#22](https://github.com/solidusio
|
214
|
-
- Add refund ability to admin payment management [\#21](https://github.com/solidusio
|
215
|
-
- Fixes and refactoring [\#20](https://github.com/solidusio
|
216
|
-
- Add ability for admin users to customize paypal button [\#16](https://github.com/solidusio
|
217
|
-
- Restore the generic bin/rails command [\#11](https://github.com/solidusio
|
218
|
-
- Add PayPal buttons to frontend checkout flow [\#10](https://github.com/solidusio
|
219
|
-
- Update readme to reflect onboarding and wizards 🧙 [\#4](https://github.com/solidusio
|
220
|
-
- Add setup wizard for paypal commerce platform [\#3](https://github.com/solidusio
|
221
|
-
- Add paypal\_commerce\_platform as a payment method [\#2](https://github.com/solidusio
|
190
|
+
- Use live partner ids [\#85](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/85) ([elia](https://github.com/elia))
|
191
|
+
- Update README to account for checkouts without a confirmation step [\#84](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/84) ([seand7565](https://github.com/seand7565))
|
192
|
+
- Replace order simulator with something simpler [\#82](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/82) ([seand7565](https://github.com/seand7565))
|
193
|
+
- Cleanup [\#81](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/81) ([elia](https://github.com/elia))
|
194
|
+
- Send line\_item and shipping promotions to PayPal [\#80](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/80) ([seand7565](https://github.com/seand7565))
|
195
|
+
- Change outstanding\_balance to total in order total checker [\#79](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/79) ([seand7565](https://github.com/seand7565))
|
196
|
+
- Add overlay to ease transition to confirmation page [\#78](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/78) ([seand7565](https://github.com/seand7565))
|
197
|
+
- Default available\_to\_users to true [\#77](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/77) ([seand7565](https://github.com/seand7565))
|
198
|
+
- Add info about PayPal Terminal to README [\#76](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/76) ([seand7565](https://github.com/seand7565))
|
199
|
+
- Return a payment declined error on the frontend [\#74](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/74) ([seand7565](https://github.com/seand7565))
|
200
|
+
- Only use the necessary data to let the spec pass [\#73](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/73) ([elia](https://github.com/elia))
|
201
|
+
- Display capture\_id instead of order\_id to admin user [\#72](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/72) ([seand7565](https://github.com/seand7565))
|
202
|
+
- Use options instead of preferences [\#67](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/67) ([seand7565](https://github.com/seand7565))
|
203
|
+
- Update README to reflect new preferences [\#66](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/66) ([seand7565](https://github.com/seand7565))
|
204
|
+
- Add version to cache\_key [\#65](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/65) ([seand7565](https://github.com/seand7565))
|
205
|
+
- Include payment method information in pricing options cache key [\#62](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/62) ([seand7565](https://github.com/seand7565))
|
206
|
+
- Only use available payment\_methods [\#61](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/61) ([seand7565](https://github.com/seand7565))
|
207
|
+
- Explicitly require deface [\#60](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/60) ([elia](https://github.com/elia))
|
208
|
+
- Verify email address is verified before allowing payment method to be available [\#59](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/59) ([seand7565](https://github.com/seand7565))
|
209
|
+
- Use the ORB definition of lint-code [\#58](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/58) ([elia](https://github.com/elia))
|
210
|
+
- Send amount of payment to PayPal on capture [\#56](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/56) ([seand7565](https://github.com/seand7565))
|
211
|
+
- Verify amount to charge with order total [\#55](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/55) ([seand7565](https://github.com/seand7565))
|
212
|
+
- Linting the project with rubocop [\#53](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/53) ([elia](https://github.com/elia))
|
213
|
+
- Add PayPal Debug ID to log entries [\#52](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/52) ([seand7565](https://github.com/seand7565))
|
214
|
+
- Fix PayPal request success message en.yml paths [\#51](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/51) ([seand7565](https://github.com/seand7565))
|
215
|
+
- Add configuration options to SolidusPaypalCommercePlatform [\#50](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/50) ([seand7565](https://github.com/seand7565))
|
216
|
+
- Add PayPal button to product page [\#45](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/45) ([seand7565](https://github.com/seand7565))
|
217
|
+
- Add PayPal Button To Cart Page [\#43](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/43) ([seand7565](https://github.com/seand7565))
|
218
|
+
- Add ability to change address on PayPal [\#42](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/42) ([seand7565](https://github.com/seand7565))
|
219
|
+
- Add a basic codecov config to show commit status [\#41](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/41) ([elia](https://github.com/elia))
|
220
|
+
- Add CI & Coverage badges to the readme [\#40](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/40) ([elia](https://github.com/elia))
|
221
|
+
- Rely on sdk request classes [\#39](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/39) ([elia](https://github.com/elia))
|
222
|
+
- Use "commit=false" in the JS SDK url when "confirm" step is present [\#33](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/33) ([elia](https://github.com/elia))
|
223
|
+
- Renames: Gateway → PaymentMethod / Requests → Gateway [\#32](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/32) ([elia](https://github.com/elia))
|
224
|
+
- Add PayPal Virtual Terminal notice to backend [\#25](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/25) ([seand7565](https://github.com/seand7565))
|
225
|
+
- Add missing partials necessary for backend [\#24](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/24) ([seand7565](https://github.com/seand7565))
|
226
|
+
- Add the ability to void authorized payments [\#23](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/23) ([seand7565](https://github.com/seand7565))
|
227
|
+
- Fix order controller response [\#22](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/22) ([seand7565](https://github.com/seand7565))
|
228
|
+
- Add refund ability to admin payment management [\#21](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/21) ([seand7565](https://github.com/seand7565))
|
229
|
+
- Fixes and refactoring [\#20](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/20) ([elia](https://github.com/elia))
|
230
|
+
- Add ability for admin users to customize paypal button [\#16](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/16) ([seand7565](https://github.com/seand7565))
|
231
|
+
- Restore the generic bin/rails command [\#11](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/11) ([elia](https://github.com/elia))
|
232
|
+
- Add PayPal buttons to frontend checkout flow [\#10](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/10) ([seand7565](https://github.com/seand7565))
|
233
|
+
- Update readme to reflect onboarding and wizards 🧙 [\#4](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/4) ([seand7565](https://github.com/seand7565))
|
234
|
+
- Add setup wizard for paypal commerce platform [\#3](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/3) ([seand7565](https://github.com/seand7565))
|
235
|
+
- Add paypal\_commerce\_platform as a payment method [\#2](https://github.com/solidusio/solidus_paypal_commerce_platform/pull/2) ([seand7565](https://github.com/seand7565))
|
222
236
|
|
223
237
|
|
224
238
|
|
data/Gemfile
CHANGED
@@ -4,7 +4,13 @@ source 'https://rubygems.org'
|
|
4
4
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
5
5
|
|
6
6
|
branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
|
7
|
-
|
7
|
+
solidus_git, solidus_frontend_git = if (branch == 'master') || (branch >= 'v3.2')
|
8
|
+
%w[solidusio/solidus solidusio/solidus_frontend]
|
9
|
+
else
|
10
|
+
%w[solidusio/solidus] * 2
|
11
|
+
end
|
12
|
+
gem 'solidus', github: solidus_git, branch: branch
|
13
|
+
gem 'solidus_frontend', github: solidus_frontend_git, branch: branch
|
8
14
|
|
9
15
|
# Needed to help Bundler figure out how to resolve dependencies,
|
10
16
|
# otherwise it takes forever to resolve them.
|
@@ -23,6 +29,13 @@ else
|
|
23
29
|
gem 'sqlite3'
|
24
30
|
end
|
25
31
|
|
32
|
+
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3')
|
33
|
+
# 'net/smtp' is required by 'mail', see:
|
34
|
+
# - https://github.com/ruby/net-protocol/issues/10
|
35
|
+
# - https://stackoverflow.com/a/72474475
|
36
|
+
gem 'net-smtp', require: false
|
37
|
+
end
|
38
|
+
|
26
39
|
gemspec
|
27
40
|
|
28
41
|
# Use a local Gemfile to include development dependencies that might not be
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Solidus Paypal Commerce Platform
|
2
2
|
|
3
|
-
[](https://circleci.com/gh/solidusio/solidus_paypal_commerce_platform)
|
4
|
+
[](https://codecov.io/gh/solidusio/solidus_paypal_commerce_platform)
|
5
5
|
|
6
6
|
The official PayPal integration of Solidus.
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module SolidusPaypalCommercePlatform
|
4
|
-
class PaymentMethod <
|
4
|
+
class PaymentMethod < ::Spree::PaymentMethod
|
5
5
|
include SolidusPaypalCommercePlatform::ButtonOptionsHelper
|
6
6
|
preference :client_id, :string
|
7
7
|
preference :client_secret, :string
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module SolidusPaypalCommercePlatform
|
4
|
-
class PaymentSource <
|
4
|
+
class PaymentSource < ::Spree::PaymentSource
|
5
5
|
self.table_name = "paypal_commerce_platform_sources"
|
6
6
|
enum paypal_funding_source: {
|
7
7
|
applepay: 0, bancontact: 1, blik: 2, boleto: 3, card: 4, credit: 5, eps: 6, giropay: 7, ideal: 8,
|