Narek Zakarian
3d7654b2ea
And try/catch if cannot unregister the note
2025-08-18 15:35:29 +04:00
Narek Zakarian
1179a17ae3
Update the JS logic to also work with new note
2025-08-15 20:33:18 +04:00
Narek Zakarian
628c83b7b9
Add settings page URL to JS config
2025-08-15 20:32:46 +04:00
Narek Zakarian
95e85ec51c
Update the registration logic
...
When notes are not enabled, we need to unregister/delete them if they were previously registered
2025-08-15 20:32:22 +04:00
Narek Zakarian
63ecb23039
Add config for new note with conditional registration
...
Adds condition logic for registering/unregistering notes during creation.
Includes new note for settings migration.
2025-08-15 20:30:22 +04:00
Narek Zakarian
e8c01c216c
Remove the notes registration condition from action callback
...
We will use the `is_enabled` method for dynamic note registration
2025-08-15 20:26:16 +04:00
Narek Zakarian
6d926b9dcc
Add is_enabled
method for dynamic note registration
...
Allows registrar to dynamically register/unregister notes based on conditions
2025-08-15 20:24:14 +04:00
Emili Castells
3467d39eca
Merge pull request #3588 from woocommerce/PCP-2908-create-snippet-to-automatically-add-tracking-details-for-sendle-shipping-plugin
...
CI / PHP 7.4 (push) Has been cancelled
CI / PHP 8.0 (push) Has been cancelled
CI / PHP 8.1 (push) Has been cancelled
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
PR Playground Demo / prepare_version (push) Has been cancelled
PR Playground Demo / build_plugin (push) Has been cancelled
PR Playground Demo / create_archive (push) Has been cancelled
PR Playground Demo / Comment on PR with Playground details (push) Has been cancelled
Create an API function for adding tracking info. (2908)
2025-08-14 12:25:17 +02:00
Narek Zakarian
0ece1fb9b2
fix: fix psalm
2025-08-14 12:49:00 +04:00
Narek Zakarian
3f3c43ed2e
fix: add numeric check before converting items to integers
...
Prevents "Object could not be converted to int" notice when items array contains objects.
2025-08-14 12:43:04 +04:00
Emili Castells
728ea64b0c
Merge pull request #3556 from woocommerce/PCP-4520-apple-pay-visible-on-chrome-and-fire-fox-as-payment-gateway-on-classic-checkout
...
Remove the specified gateway when the button is disabled (4520)
2025-08-14 09:27:43 +02:00
Narek Zakarian
e04761028d
Merge branch 'trunk' into PCP-4520-apple-pay-visible-on-chrome-and-fire-fox-as-payment-gateway-on-classic-checkout
CI / PHP 7.4 (push) Has been cancelled
CI / PHP 8.0 (push) Has been cancelled
CI / PHP 8.1 (push) Has been cancelled
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
PR Playground Demo / prepare_version (push) Has been cancelled
PR Playground Demo / build_plugin (push) Has been cancelled
PR Playground Demo / create_archive (push) Has been cancelled
PR Playground Demo / Comment on PR with Playground details (push) Has been cancelled
2025-08-13 14:18:50 +04:00
Danny Dudzic
9bd47e8948
Merge pull request #3593 from woocommerce/wordpress-playground-update-paths-part-4
...
CI / PHP 7.4 (push) Has been cancelled
CI / PHP 8.0 (push) Has been cancelled
CI / PHP 8.1 (push) Has been cancelled
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
PR Playground Demo / prepare_version (push) Has been cancelled
PR Playground Demo / build_plugin (push) Has been cancelled
PR Playground Demo / create_archive (push) Has been cancelled
PR Playground Demo / Comment on PR with Playground details (push) Has been cancelled
Fix context object construction in Playground workflow script
2025-08-12 20:09:00 +02:00
Daniel Dudzic
0456f5bbbd
🔧 Fix context object construction in Playground workflow script
2025-08-12 20:04:48 +02:00
Danny Dudzic
527f414378
Merge pull request #3592 from woocommerce/wordpress-playground-update-paths-part-3
...
Fix context.repo undefined error in the Playground workflow
2025-08-12 19:44:50 +02:00
Daniel Dudzic
24009daa16
🐛 Fix context.repo undefined error in playground workflow
2025-08-12 19:39:07 +02:00
Danny Dudzic
41f8f1c0c8
Merge pull request #3591 from woocommerce/wordpress-playground-update-paths-part2
...
Add modules to push paths being tracked for WordPress Playground Demo
2025-08-12 19:08:44 +02:00
Daniel Dudzic
6e81a4cb62
🗂️ Add modules to push paths being tracked for WordPress Playground Demo workflow
2025-08-12 18:50:02 +02:00
Danny Dudzic
5053adf8d8
Merge pull request #3590 from woocommerce/wordpress-playground-update-paths
...
Add modules to paths being tracked for WordPress Playground Demo
2025-08-12 18:20:38 +02:00
Daniel Dudzic
1dcf6884c0
🗂️ Add modules to paths being tracked for WordPress Playground Demo workflow
2025-08-12 18:11:57 +02:00
Emili Castells
e2839f63f6
Merge pull request #3445 from woocommerce/PCP-4791-vaulting-my-account-pay-pal-gateway-and-button-should-not-be-displayed-when-customer-already-has-vaulted-pay-pal-account
...
PayPal button should not be displayed when customer already has vaulted PayPal account (4791)
2025-08-12 15:21:08 +02:00
Emili Castells Guasch
4c59a81e22
Improve comments
2025-08-12 15:12:34 +02:00
Emili Castells Guasch
efb5c4afd3
Merge branch 'trunk' into PCP-4791-vaulting-my-account-pay-pal-gateway-and-button-should-not-be-displayed-when-customer-already-has-vaulted-pay-pal-account
2025-08-12 15:08:47 +02:00
Narek Zakarian
afd39b28df
Use a class that uses the trait instead of calling it directly
CI / PHP 7.4 (push) Has been cancelled
CI / PHP 8.0 (push) Has been cancelled
CI / PHP 8.1 (push) Has been cancelled
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
2025-08-12 16:07:53 +04:00
Niklas Gutberlet
0d3eddfe3d
Merge pull request #3574 from woocommerce/PCP-5039-pull-request-playground-testing
...
Add PR preview via WordPress Playground (5039)
2025-08-12 13:53:58 +02:00
Daniel Dudzic
1ad92bb26d
🧹 Remove the #3574 PR-specific code
2025-08-12 13:19:11 +02:00
Narek Zakarian
fbd7d843ff
Make the method static to use from API functions
2025-08-11 19:58:41 +04:00
Narek Zakarian
9ed0c49bc9
Create an API function for adding tracking info.
...
This function retrieves the PayPal capture ID associated with the given WooCommerce order, creates a shipment instance, and sends it to the PayPal Order Tracking API.
If tracking information for the given tracking number already exists, it will be updated; otherwise, it will be added as new tracking information.
2025-08-11 19:58:22 +04:00
Emili Castells Guasch
dad1d4bb35
Merge trunk
2025-08-11 11:32:42 +02:00
Emili Castells
2ec6daca38
Merge pull request #3557 from woocommerce/PCP-4974-contact-module-virtual-product-from-block-pages-and-classic-checkout-always-return-default-contact-information-from-pay-pal-window
...
CI / PHP 7.4 (push) Has been cancelled
CI / PHP 8.0 (push) Has been cancelled
CI / PHP 8.1 (push) Has been cancelled
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
Contact module -does not work for virtual products in block pages and classic checkout
2025-08-08 15:06:21 +02:00
Emili Castells Guasch
f93cfaa3e1
Refactor conditionals
2025-08-08 15:05:43 +02:00
Emili Castells
522e5a05f8
Merge pull request #3579 from woocommerce/PCP-5051-working-capital-things-to-do-next-wc-home-inbox
...
Add Working Capital notes (5001)
2025-08-08 14:59:05 +02:00
Emili Castells Guasch
e1c8b223d2
Do not add shipping if has all properties are empty
2025-08-08 11:45:13 +02:00
Emili Castells
bb0fc025e0
Merge pull request #3560 from woocommerce/PCP-4996-fastlane-add-classic-checkout-card-design-to-block-checkout
...
Fastlane: Add Classic Checkout card design to Block Checkout (4996)
2025-08-08 09:09:38 +02:00
Emili Castells
b8a979fc5f
Merge pull request #3584 from woocommerce/PCP-4995-remove-firefox-onboarding-notice
...
Remove the Firefox onboarding notice (4995)
2025-08-08 09:03:23 +02:00
Emili Castells
f3598eb1da
Merge pull request #3583 from woocommerce/PCP-4711
...
Prevent early is_enabled check for Apple Pay button in new UI (4711)
2025-08-07 10:56:19 +02:00
Emili Castells Guasch
64c140ab23
Make internal method private
2025-08-06 14:21:09 +02:00
Emili Castells Guasch
0ed05ac1ea
Fix phpunit
2025-08-06 14:03:37 +02:00
Emili Castells Guasch
03f68dc545
Fix psalm
2025-08-06 13:54:57 +02:00
Narek Zakarian
0d1fdb11e4
Remove the Firefox onboarding notice
2025-08-06 15:42:43 +04:00
Emili Castells Guasch
38f7355db1
Merge branch 'trunk' into PCP-4974-contact-module-virtual-product-from-block-pages-and-classic-checkout-always-return-default-contact-information-from-pay-pal-window
2025-08-06 12:22:18 +02:00
Himad M
f412c507e5
Prevent early is_enabled check for Apple Pay button in new UI
2025-08-05 19:20:14 -04:00
Niklas Gutberlet
8e1307cae6
Merge pull request #3540 from woocommerce/PCP-5011-remove-exposure-of-data-sdk-client-token-when-not-needed
...
Remove data-sdk-client-token field when not needed (5011)
2025-08-05 20:07:07 +02:00
Niklas Gutberlet
a3313148eb
Merge pull request #3536 from woocommerce/PCP-5009-phase-1-things-to-do-next-action-item
...
Add "Things to do next" item after settings migration (5009)
2025-08-05 18:36:26 +02:00
Narek Zakarian
0eb932a73e
use boolean as option value
2025-08-05 11:45:23 +04:00
Narek Zakarian
ca86cb83ae
Merge branch 'trunk' into PCP-5009-phase-1-things-to-do-next-action-item
2025-08-05 11:37:27 +04:00
Niklas Gutberlet
4a985fcb2c
Merge pull request #3505 from woocommerce/PCP-4970-add-defensive-code-for-realpath-failures-in-module-service-files
...
Create a centralized service for a path to the main plugin file (4970)
2025-08-04 19:42:12 +02:00
Niklas Gutberlet
f42721fc86
Merge pull request #3577 from woocommerce/PCP-4990
...
Add polling mechanism for renderer wrapper (4990)
2025-08-04 19:41:27 +02:00
Niklas Gutberlet
638ea5e141
Merge pull request #3532 from woocommerce/PCP-4989-disabling-credit-and-debit-card-bcdc-payments-does-not-work-in-the-new-ui
...
Disable the card button if BCDC is disabled (4989)
2025-08-04 19:40:28 +02:00
Niklas Gutberlet
e52866bae0
Merge pull request #3549 from woocommerce/PCP-5026-subscriptions-migrated-from-ppec-to-ppc-lose-gateway-id-during-renewal
...
Subscriptions migrated from PPEC to PPC fails on renewal
2025-08-04 19:37:07 +02:00