Commit graph

87 commits

Author SHA1 Message Date
Narek Zakarian
943a0d197c
Use the 'ppcp.path-to-plugin-main-file' config 2025-07-04 19:27:13 +04:00
Narek Zakarian
0caa74c021
Refactor the code to use the new service 2025-07-04 17:10:37 +04:00
Emili Castells
a4183bc398
Merge pull request #3265 from woocommerce/temp/branded-only
Temp/branded only
2025-03-25 14:56:35 +01:00
Narek Zakarian
431a8e5cf7
Rebase 2025-03-21 18:06:50 +04:00
Daniel Dudzic
88632422e8
Fix BCDC auto-toggling, APM and Pay Later hiding for personal accounts 2025-03-21 14:53:53 +01:00
Philipp Stracker
9f44657400
💡 Document use of “settings->set()” via comments 2025-02-18 13:04:51 +01:00
Emili Castells Guasch
f907558262 Remove console.log 2025-01-30 16:50:34 +01:00
Emili Castells Guasch
a652f21629 Read config from store 2025-01-30 10:50:44 +01:00
Emili Castells Guasch
442a33778f Add endpoint save config 2025-01-29 17:20:10 +01:00
Himad M
bcbcdab08b
Revert PayLaterConfigurator notice changes 2025-01-14 10:06:37 +01:00
Himad M
5d13bef912
Fix fatal error in PayLaterConfigurator 2025-01-14 07:50:29 +01:00
Philipp Stracker
3d17fcbad9
🚨 Fix phpcs warnings 2025-01-10 20:40:36 +01:00
Himad M
0e45b4373b
Switch to new onboarding status class 2025-01-10 13:34:46 +01:00
Himad M
9278edff22
New Settings UI: Adjust send-only country message and notices 2024-12-26 14:02:51 +01:00
Daniel Hüsken
4dcabc5e67
only change Modules in run that are to early for translations and use plugins_loaded again 2024-11-25 15:39:38 +01:00
Alex P.
b67265ac15
Update js deps 2024-11-04 17:15:27 +02:00
Philipp Stracker
2cb026604c
Merge branch 'PCP-1773-php74'
# Conflicts:
#	composer.lock
2024-09-04 15:47:37 +02:00
Alex P.
f538ea2ef2
Require PHP 7.4+ 2024-09-03 09:07:12 +03:00
Philipp Stracker
7509f914ab
Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-local-alternative-payment-methods/src/LocalAlternativePaymentMethodsModule.php
#	modules/ppcp-paylater-configurator/src/PayLaterConfiguratorModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
2024-08-30 15:16:20 +02:00
Philipp Stracker
53a5d2c8df
🚨 Address failed unit tests 2024-08-26 12:39:01 +02:00
Philipp Stracker
c2b23358eb
♻️ Improve code structure and rename items
Remove all “nag” references, change “MutableMessage” to “PersistentMessage”, etc.
2024-08-26 11:58:45 +02:00
Philipp Stracker
9c11e65be3
♻️ Extract mutable-logic into new child class 2024-08-23 19:10:58 +02:00
Philipp Stracker
13e3f75c6b
🐛 Register Pay Later notice in ajax requests
Required to mute the admin notice via ajax
2024-08-23 18:14:48 +02:00
Philipp Stracker
63e91b22b4
Allow permanent muting of admin messages 2024-08-23 18:09:02 +02:00
Moritz Meißelbach
c76fcb91ba
Remove (apparently) dead getKey methods 2024-08-23 15:04:28 +02:00
Philipp Stracker
4a00edb729
💬 Adjust notification text 2024-08-23 15:02:52 +02:00
Moritz Meißelbach
4d9f23e315
Merge branch 'refs/heads/trunk' into modularity-module-migration
# Conflicts:
#	composer.lock
#	modules/ppcp-axo/src/AxoModule.php
#	modules/ppcp-blocks/src/BlocksModule.php
#	modules/ppcp-compat/src/CompatModule.php
#	modules/ppcp-googlepay/src/GooglepayModule.php
#	modules/ppcp-order-tracking/src/OrderTrackingModule.php
#	modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
2024-08-23 14:25:36 +02:00
Philipp Stracker
d47deda5ec
✏️ Remove trailing space from message 2024-08-22 18:24:53 +02:00
Philipp Stracker
af8393e8ff
Implement message text 2024-08-22 13:47:58 +02:00
Philipp Stracker
e3d2984622
New logic to display a Pay-Later notice 2024-08-22 13:45:50 +02:00
Philipp Stracker
1eca3b09d7
🔀 Merge branch 'trunk'
Resolve merge conflict due to new JS code format
2024-07-15 11:16:47 +02:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Emili Castells Guasch
78bbc1fd67 Remove psalm comments 2024-07-02 17:38:25 +02:00
Philipp Stracker
6efcaa5630
New option to configure BN-Code
Configurable via a wp-config constant, or a new wp-filter.
2024-07-02 16:10:10 +02:00
Philipp Stracker
c0e3dd7be0
🐛 Hide the PayLater preview when using Vaultig 2024-07-01 14:02:22 +02:00
Philipp Stracker
94259b6bca
Fix asset URL double-slash in PayLater settings
Refactored service return value to align with plugin-wide convention: unslashed folder path with slash-prefixed relative file path.
2024-05-27 18:28:05 +02:00
Daniel Dudzic
3b59c44234
PayLater Configurator: Add data fetching for the config on the client side 2024-05-21 21:35:27 +02:00
Mayisha
5cdb7774b4 use admin theme color on the pay later page 2024-05-16 13:12:24 +06:00
Pedro Silva
161e933d39
Merge branch 'trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
2024-04-19 11:59:28 +01:00
Narek Zakarian
155677934a
Fix saving the block config 2024-04-02 15:09:52 +04:00
Narek Zakarian
012c7281f7
Fix the block placement name 2024-04-02 15:09:21 +04:00
Narek Zakarian
8309a4d54a
Fix the block placement name 2024-04-02 15:09:02 +04:00
Pedro Silva
392d27f08b
Merge remote-tracking branch 'origin/trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
#	modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
#	tests/PHPUnit/WcSubscriptions/RenewalHandlerTest.php
2024-03-27 18:42:21 +00:00
Narek Zakarian
4cfa04b473
Fix the text color 2024-03-20 16:24:00 +04:00
Narek Zakarian
6c60ee1e86
Fix Psalm 2024-03-19 18:35:49 +04:00
Narek Zakarian
7ca0940ef2
Adjust the configurator config to support custom placement 2024-03-19 17:12:20 +04:00
Narek Zakarian
785404335f
Save the text color 2024-03-19 17:11:23 +04:00
Narek Zakarian
894920bdf6
Fix the custom placement 2024-03-19 17:10:56 +04:00
Narek Zakarian
9d7bee9403
Allow legacy values to be passed to the Configurator 2024-03-18 18:11:21 +04:00
Narek Zakarian
be7432a239
Allow legacy values to be passed to the Configurator 2024-03-18 18:02:47 +04:00