Commit graph

64 commits

Author SHA1 Message Date
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
Moritz Meißelbach
c76fcb91ba
Remove (apparently) dead getKey methods 2024-08-23 15:04:28 +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
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
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
Daniel Dudzic
0fbb840ae1
Yet another attempt at fixing the dependencies 2024-04-15 23:25:01 +02:00
Daniel Dudzic
cb3a9fbe34
Re-add the composer.lock files 2024-04-15 22:52:36 +02:00
Daniel Dudzic
56df769d56
Remove the composer.lock files 2024-04-15 22:47:08 +02:00
Daniel Dudzic
32a410850c
Downgrade the extraction-webpack-plugin to 2.2.0 2024-04-15 16:34:48 +02:00
Daniel Dudzic
d970c1d2b5
Update dependencies 2024-04-15 16:24:52 +02:00
Daniel Dudzic
4f9132d6f7
Fix indentation in all 3 block.json files 2024-04-11 14:52:49 +02:00
Daniel Dudzic
9c0979f686
Fix block.json indentation 2024-04-11 13:53:04 +02:00
Daniel Dudzic
b412d80f16
Another attempt at fixing the Psalm errors 2024-04-11 10:29:16 +02:00
Daniel Dudzic
1025df779f
Suppress WP_HTML_Tag_Processor Psalm error as the class exists 2024-04-10 20:43:30 +02:00
Daniel Dudzic
0e4ef8b64a
Fix WP_HTML_Tag_Processor Psalm error 2024-04-10 19:37:52 +02:00
Daniel Dudzic
a8b67fbc91
Fix Psalm errors 2024-04-10 19:27:17 +02:00
Daniel Dudzic
e289ed4679
Fix PHPUnit tests and add composer lock files 2024-04-10 15:59:22 +02:00
Daniel Dudzic
a3c657c0ab
Fix the frontend rendering logic for the Pay Later Messaging block 2024-04-10 13:08:56 +02:00
Daniel Dudzic
7af2162f1c
Sync with trunk 2024-04-10 11:28:51 +02:00
Daniel Dudzic
708fcc0faa
Fix PHPCS errors 2024-04-09 23:44:51 +02:00
Daniel Dudzic
7672f66bcf
Add escaping to attributes 2024-04-09 12:21:33 +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
Daniel Dudzic
d30b44d18e
First attempt at fixing the PayLater Messaging block on the frontend. The block renders but with default config and not block specific settings. 2024-04-02 16:15:22 +02:00
Narek Zakarian
b4e1ce3eb8
Fix checking if the block placement is active 2024-04-02 15:10:35 +04:00
Daniel Dudzic
40e8aa2874
Migrate the PayPal buttons inside of the Express Checkout in the editor to @paypal/react-paypal-js with a unique namespace to avoid conflicts with the Pay Later messaging block 2024-03-29 13:59:35 +01:00
Daniel Dudzic
8b4594ad92
Pay Later messaging block: Update the PayPal script from paypal/paypal-js to paypal/react-paypal-js 2024-03-27 22:35:47 +01: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
2fedd36dbf
Fix the placement label for block 2024-03-20 16:26:28 +04:00
Narek Zakarian
ded41850ff
Change placment names for the block 2024-03-19 18:07:19 +04:00
Narek Zakarian
dc002c7a9b
Adjust block options, add text-size 2024-03-14 17:54:02 +04:00
Narek Zakarian
6259677855
Change the product_preview to woocommerceBlock 2024-03-14 16:37:58 +04:00
Narek Zakarian
f38ab36da8
Revert "Change the product_preview to woocommerceBlock"
This reverts commit 55b2e6d8d4.
2024-03-12 19:53:53 +04:00
Narek Zakarian
55b2e6d8d4
Change the product_preview to woocommerceBlock 2024-03-12 19:03:17 +04:00
Narek Zakarian
91f6007921
Rely on placement existence also on admin panel 2024-03-12 17:23:55 +04:00
Narek Zakarian
f2a741094c
Separate "module loaded" "block enabled" methods 2024-03-05 17:06:40 +04:00
Emili Castells Guasch
4d54d2d255 Disable pay later block by default 2024-01-18 10:39:33 +01:00
Alex P
fc1b5e9a1e
Show error message in paylater block when vaulting enabled 2023-12-20 16:44:38 +02:00
Alex P
2e0845cbd4
Do not register block when not supported country 2023-12-20 09:42:25 +02:00
Alex P
16fbb5b4d1
Extract module flag check 2023-12-20 08:56:23 +02:00
Alex P
5c767e7bf6
Register block later
otherwise WC category is not registered yet
2023-12-18 08:03:35 +02:00
Alex P
7203cd0138
Always include messages component in editor
ajax request determines context incorrectly
2023-12-18 08:01:21 +02:00
Alex P
6dd3d47649
Fix webpack config 2023-12-16 13:49:40 +02:00
Alex P
da0a17da6a
Fix wc import 2023-12-14 14:57:55 +02:00
Alex P
90d8fcc530
Show paylater amount in editor if cart/checkout 2023-12-14 10:36:15 +02:00