Commit graph

56 commits

Author SHA1 Message Date
Narek Zakarian
70247462a0
Always enable the new settings module 2025-07-11 16:42:48 +04:00
Narek Zakarian
99f34d6868
Always enable new settings module for migration support
Enable the new settings module unconditionally to support migration functionality.

The new settings module must be enabled during migration because the migration
process requires access to the new data modules to save settings properly.

Implementation details:
- The `run` method checks `should_use_the_old_ui` and conditionally adds actions
- In `services.php`, we check `should_use_the_old_ui` to disable services when
  the old UI is active
2025-06-26 18:17:51 +04:00
Narek Zakarian
5b6dd660fe
Always enable the settings module for now 2025-06-24 13:40:44 +04:00
Narek Zakarian
e06ea0036f
Fix the new settings module enabled logic.
instead of `$preview_new_ux = '0' !== getenv( 'PCP_SETTINGS_ENABLED' );` we should use `$preview_new_ux = '1' === getenv( 'PCP_SETTINGS_ENABLED' );` becuase the module will be always enabled unless you set `PCP_SETTINGS_ENABLED = '0'` but by default the `PCP_SETTINGS_ENABLED` is `false` because it doesn’t exist.
2025-02-28 19:46:31 +04:00
Philipp Stracker
62bf7b7658
🎨 Address code style problems (phpcs) 2025-02-18 18:36:38 +01:00
Emili Castells Guasch
c3040eb347 Add is new merchant flag option 2025-02-03 12:56:28 +01:00
Narek Zakarian
09e17a8cfb
Add namespaces to root files 2025-01-15 18:13:07 +04:00
Emili Castells Guasch
9c5d978707 Add boilerplate for react settings app 2024-10-18 17:17:07 +02:00
Daniel Dudzic
914ff3d0e1
Axo: Load classic and block integration modules by default 2024-09-26 16:58:15 +02:00
Daniel Dudzic
a1ded99f3f
Move axo block module loading to the correct place plus some minor PHPCS fixes 2024-09-16 17:16:29 +02:00
Daniel Dudzic
ebd87b70e9
Initial Axo Blocks commit 2024-09-05 21:17:36 +02:00
Emili Castells Guasch
9a4b6e63c5 Add setting to enable local apms feature 2024-08-22 15:47:38 +02:00
Emili Castells Guasch
7b22040710 Add module boilerplate 2024-08-08 12:43:29 +02:00
Emili Castells
f53976e9ea
Merge pull request #2327 from woocommerce/PCP-3207-filter-to-disable-messaging-configurator-causes-fatal-error
Fix the fatal error when the ppcp-paylater-configurator module is disabled (3207)
2024-06-12 10:37:20 +02:00
Daniel Dudzic
2636bf271b
Make the ppcp-paylater-wc-blocks module dependent on ppcp-paylater-configurator being loaded 2024-06-07 23:04:57 +02:00
Daniel Dudzic
709871820f
Fix Smart Buttons on Elementor checkout 2024-05-29 15:59:56 +02:00
Daniel Dudzic
2317c90db4
Resolve merge conflict 2024-04-20 19:38:41 +02:00
Pedro Silva
9cb63040d8
Merge branch 'trunk' into PCP-2347-new-feature-accelerated-checkout
# Conflicts:
#	modules.php
2024-04-12 10:22:47 +01:00
Daniel Dudzic
b6144a173f
Make sure the PayLaterWCBlocksModule module gets loaded conditionally 2024-04-10 14:18:58 +02:00
Daniel Dudzic
64bd0a2da8
Limit Pay Later Messaging block to only 1 per page. Fix Pay Later WC blocks messaging. Ensure proper config renders both in the editor and the page. 2024-04-08 23:35:53 +02:00
Narek Zakarian
1f5e32c0b0
Use the new way to check if block should be enabled 2024-03-05 17:08:10 +04:00
Emili Castells
a4f4cec23c
Merge pull request #1924 from woocommerce/PCP-921-paylater-configurator
Use Pay Later Messaging configurator
2024-02-16 14:50:15 +01:00
Pedro Silva
b4b5863cb4
Axo gateway skeleton. 2024-02-08 14:37:56 +00:00
Emili Castells Guasch
8fecf91acb Enable vault v3 by default 2024-01-17 12:40:49 +01:00
Alex P
ace58578a0
Add paylater-configurator module 2023-12-21 09:55:57 +02:00
Alex P
16fbb5b4d1
Extract module flag check 2023-12-20 08:56:23 +02:00
Alex P
31c90c149e
Fix phpcs:disable duplication 2023-12-20 08:29:33 +02:00
Alex P
0ccf143714
Add filter for disabling paylater block 2023-12-20 08:28:39 +02:00
Alex P
0d016b94ec
Add paylater-block module 2023-12-05 21:32:32 +02:00
Emili Castells Guasch
9be6601ba9 Merge trunk 2023-11-21 14:59:46 +01:00
Emili Castells Guasch
1125ca6ad5 Add module boilerplate 2023-11-08 12:46:01 +01:00
Emili Castells Guasch
94674adc25 Move PayPal subscriptions api logic to its own module 2023-10-18 17:03:15 +02:00
Emili Castells Guasch
b3c66f4cbb Merge branch 'trunk' into PCP-1393-update-to-vault-v-3 2023-10-18 14:49:50 +02:00
Emili Castells Guasch
792a1d8654 Rename subscription module to wc subscriptions 2023-10-17 16:29:56 +02:00
Emili Castells Guasch
17b43ca182 Add save payment methods module boilerplate 2023-10-17 15:11:48 +02:00
carmenmaymo
580d3c32f1
Change flag to enabled 2023-10-17 14:38:50 +02:00
Pedro Silva
387d677a05
Add shipping callback 2023-10-11 18:55:42 +01:00
Emili Castells Guasch
09ac019bd0 Add improvements based on PR feedback 2023-09-21 11:24:50 +02:00
Emili Castells Guasch
5f3dc3a647 Move payment checker scheduler to module 2023-09-19 15:16:22 +02:00
Emili Castells Guasch
80cc94939d Add saved payment checked module 2023-09-19 11:39:35 +02:00
carmenmaymo
7f2214ce9b
Merge branch 'feat/PCP-154-apple-pay-payment' into wip/apple-google-combined 2023-09-12 14:07:54 +02:00
carmenmaymo
cbdff1588b
Fix style in checkout and cs 2023-09-12 14:07:09 +02:00
carmenmaymo
6902e587e9
Merge branch 'feat/PCP-154-apple-pay-payment' into wip/apple-google-combined 2023-09-11 13:20:08 +02:00
carmenmaymo
7e6d4c8a14
change flag name to underscore 2023-09-11 13:19:40 +02:00
Pedro Silva
2e7f9b46b0
Merge branch 'PCP-1744-google-pay-integration' into wip/apple-google-combined
# Conflicts:
#	modules.php
2023-09-11 10:50:34 +01:00
carmenmaymo
c2f99abe6a
Change flag name 2023-09-07 10:40:33 +02:00
Pedro Silva
318217acb9
Fix GooglePay general fixes / improvements 2023-09-06 11:55:26 +01:00
Pedro Silva
e87ab7362c
Add GooglePay module 2023-08-22 08:44:32 +01:00
carmenmaymo
917976bfb4
Add applepay module behind flag
Add apple to onboarding products,
add setting to onboard with a new filter
add settings to enable in product and cart
add button markup where the js will hook
enqueue scripts
echo validation file sandbox/live
init apple payment method for onboarding
2023-07-17 14:17:50 +02:00
Alex P
3d61aa1ead
Make the blocks integration (partial) available without feature flag
The `woocommerce_paypal_payments_blocks_enabled` filter or `PCP_BLOCKS_ENABLED` env var are not used anymore, the blocks can be enabled in the settings without activating this feature flag first.
2023-07-03 17:17:45 +03:00