Philipp Stracker
60bdf6dea1
💡 Document DI service names
2025-03-14 10:57:40 +01:00
Philipp Stracker
ca846e7678
💡 Add a few comments
2025-03-12 18:39:12 +01:00
Philipp Stracker
201f5ab20c
♻️ Implement DCCGatewayConfiguration service
...
Instead of fixing incorrect conditions in different files, we want to use a single source of truth for the DCC status
2025-03-12 18:31:11 +01:00
Narek Zakarian
10d2023d43
Fix the tests
2025-02-21 15:17:55 +04:00
Narek Zakarian
ffaf1eb142
Force the fraudnet to be enabled when the new settings module is active
2025-02-19 19:29:15 +04:00
Philipp Stracker
9f44657400
💡 Document use of “settings->set()” via comments
2025-02-18 13:04:51 +01:00
Philipp Stracker
a13b8c03ff
🔀 Merge branch 'trunk'
2025-02-18 12:35:26 +01:00
Philipp Stracker
c732f53acb
♻️ Small adjustments and improvements
2025-02-18 12:34:41 +01:00
Philipp Stracker
19fb923d6a
✨ Implement a new ConnectionState class
...
Modern and flexible solution to access connection- and environment-details.
2025-02-18 12:12:05 +01:00
Philipp Stracker
7a106742e3
🚚 Rename environment-service
2025-02-17 18:48:38 +01:00
Philipp Stracker
a59cf7f285
♻️ Refactor the Environment service
...
The goal is to make the Environment instance independent of a Settings-instance, since legacy UI and new UI store settings in different classes and data formats.
2025-02-17 18:43:56 +01:00
Philipp Stracker
d672656513
🔥 Remove unused “use” statements
2025-02-17 18:26:05 +01:00
Philipp Stracker
85787eabfd
🎨 Add type hint to private attribute
2025-02-17 18:19:19 +01:00
Philipp Stracker
cd464566d5
💡 Comment State use in ppcp-wc-gateway/services
2025-02-17 18:10:11 +01:00
Philipp Stracker
55769eea9c
🔥 Remove unused State from CreditCardGateway
2025-02-17 18:09:16 +01:00
Philipp Stracker
2e1e8f68a4
♻️ Refactor SendOnlyCountryNotice
2025-02-17 18:08:18 +01:00
Philipp Stracker
90b315cc87
🎨 Reorganize code in ppcp-wc-gateway/services
2025-02-17 18:02:00 +01:00
Philipp Stracker
a59ef8286f
💡 Comment on connection-tab-fields
2025-02-17 17:56:00 +01:00
Philipp Stracker
5f2f404cc9
♻️ Refactor WCGatewayModule
2025-02-17 17:46:25 +01:00
Philipp Stracker
60c044b905
💡 Comment SettingsRenderer
2025-02-17 17:45:25 +01:00
Philipp Stracker
df0e3e861f
💡 Comment SettingsListener
2025-02-17 17:39:47 +01:00
Philipp Stracker
672b898eef
♻️ Refactor SectionsRenderer
2025-02-17 17:37:27 +01:00
Philipp Stracker
cbe63eb080
♻️ Refactor UnsupportedCurrencyAdminNotice
2025-02-17 17:28:14 +01:00
Narek Zakarian
fbeae9b0ed
Check if mapped value is not null before returning true
2025-02-17 20:17:51 +04:00
Philipp Stracker
cf90b1706c
♻️ Refactor GatewayWithoutPayPalAdminNotice
2025-02-17 17:12:47 +01:00
Philipp Stracker
bdd6c23e3c
♻️ Refactor ConnectAdminNotice
2025-02-17 17:10:02 +01:00
Philipp Stracker
f98c1ec5a7
♻️ Simplify PayPalGateway service
2025-02-17 17:03:31 +01:00
Philipp Stracker
1a2eabe7ca
♻️ Refactor PayPalGateway
2025-02-17 17:02:54 +01:00
Philipp Stracker
6294dcac52
♻️ Refactor CardButtonGateway
2025-02-17 16:57:41 +01:00
Philipp Stracker
262d3abd26
♻️ Refactor PayUponInvoiceGateway
2025-02-17 16:55:53 +01:00
Philipp Stracker
fcb9ae488a
🔥 Remove unused “use” statements
2025-02-17 16:55:18 +01:00
Philipp Stracker
d852a7bea9
♻️ Refactor PayUponInvoice
2025-02-17 16:51:11 +01:00
Philipp Stracker
7d2b0694d9
♻️ Refactor conditions inside services.php
2025-02-17 16:42:47 +01:00
Emili Castells Guasch
0c424413b1
Register card button gateway and hide items in payment methods screen conditionally
2025-02-11 14:20:12 +01:00
Emili Castells
ae46ee0364
Merge pull request #3057 from woocommerce/PCP-3994-optimize-the-svg-files
...
Optimize the SVG files (3994)
2025-02-10 14:47:29 +01:00
Emili Castells
fa06cf936c
Merge pull request #3075 from woocommerce/PCP-4160-connect-style-tab
...
Connect styling tab with the frontend (4160)
2025-02-07 17:16:26 +01:00
Emili Castells Guasch
2d3706291b
Add filter for credit card gateway enabled
2025-02-06 14:25:35 +01:00
Narek Zakarian
fd8346b487
Move settings compat into separate namespace
2025-02-06 16:37:24 +04:00
Emili Castells Guasch
e5e99358bf
Add filter for credit card gateway title and description
2025-02-06 11:40:21 +01:00
Emili Castells Guasch
1810abde49
Add filters for PayPal gateway title and description
2025-02-06 11:12:05 +01:00
Emili Castells Guasch
06325f12ab
Add filters for PayPal gateway title and description
2025-02-05 17:57:54 +01:00
Daniel Hüsken
70ab0058d2
optimized svg files and reduced size
2025-02-05 09:51:31 +01:00
Philipp Stracker
aa0a8d4182
🗑️ Deprecate current_environment_is()
2025-02-03 13:49:16 +01:00
Philipp Stracker
81ca5dd00e
♻️ Use cache service instead of direct creation
2025-02-03 13:42:26 +01:00
Philipp Stracker
d6310f3082
✨ Support Environment object in EnvironmentConfig
2025-02-03 13:38:12 +01:00
Philipp Stracker
2c35059e4b
✨ Create new environment detection helper methods
2025-02-03 13:36:45 +01:00
Philipp Stracker
90d2c77a5a
🚚 Extract Environment class to gateway module
2025-02-03 13:34:30 +01:00
Philipp Stracker
44cb17f1cc
♻️ More robust feature checks in new UI
2025-01-30 18:40:43 +01:00
Philipp Stracker
5f51762025
♻️ More appropriate hook name
2025-01-30 18:22:12 +01:00
Philipp Stracker
5ac70e26c2
♻️ Use new base class for PUI status check
2025-01-30 18:16:26 +01:00