Philipp Stracker
704bf7f20c
✨ Allow filtering of card-payment flags
...
These filters allow to add backwards compatibility
2025-03-14 18:56:50 +01:00
Philipp Stracker
8a42cd610e
💡 Update documentation in comments
2025-03-14 18:16:17 +01:00
Philipp Stracker
752dae1408
✨ Resolve ACDC eligibility from DccApplies helper
2025-03-14 16:26:20 +01:00
Philipp Stracker
eb26712fb6
🐛 Fix wrong condition!
2025-03-14 16:15:43 +01:00
Philipp Stracker
afb7044b03
🚚 Rename configuration class
...
The class name does not reflect the purpose of the class
2025-03-14 16:15:31 +01:00
Philipp Stracker
29f56a7db8
✨ Lazily resolve card payment configuration
2025-03-14 16:03:27 +01:00
Philipp Stracker
640c324842
✨ Prepare config getters for ACDC/BCDC detection
2025-03-14 15:48:09 +01:00
Philipp Stracker
282d273c96
♻️ Simplify the card payments flag logic
2025-03-14 15:45:57 +01:00
Philipp Stracker
197e3ef0ed
✨ New filter to disable card payments
...
This is a preparation for the planned branded-experience.
2025-03-14 15:39:51 +01:00
Philipp Stracker
b9d7574418
💡 Add/update comments related to #legacy-ui todos
2025-03-14 15:30:41 +01:00
Philipp Stracker
d4857102fe
♻️ Apply more suitable DI service name
2025-03-14 12:18:05 +01:00
Philipp Stracker
cad5378089
💡 Update the class documentation
2025-03-14 12:13:41 +01:00
Philipp Stracker
16b4e235f2
💡 Fix typo
2025-03-14 11:39:34 +01:00
Philipp Stracker
ad0085ee8f
💡 Document DI service name
2025-03-14 11:38:56 +01:00
Philipp Stracker
31686a6214
✨ Early exit if merchant is not onboarded
2025-03-14 11:38:39 +01:00
Philipp Stracker
0d54c84e66
♻️ Refactor DCCGatewayConfiguration “reset” logic
2025-03-14 11:33:28 +01:00
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