Commit graph

7846 commits

Author SHA1 Message Date
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
Some checks failed
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
Narek Zakarian
e04761028d
Merge branch 'trunk' into PCP-4520-apple-pay-visible-on-chrome-and-fire-fox-as-payment-gateway-on-classic-checkout
Some checks failed
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
Emili Castells Guasch
4c59a81e22
Improve comments 2025-08-12 15:12:34 +02:00
Narek Zakarian
afd39b28df
Use a class that uses the trait instead of calling it directly
Some checks failed
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
Narek Zakarian
fbd7d843ff
Make the method static to use from API functions 2025-08-11 19:58:41 +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
Some checks failed
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 Guasch
64c140ab23
Make internal method private 2025-08-06 14:21:09 +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
Niklas Gutberlet
ea1a9a0951
Merge pull request #3566 from woocommerce/PCP-5021-new-ui-google-pay-dependencies-between-locations-for-payment-method-availability
Prevent early `is_enabled()` check for Google Pay button in new UI (5021)
2025-08-04 19:35:59 +02:00
Niklas Gutberlet
af18a7bcdd
Merge pull request #3547 from woocommerce/PCP-4425-react-onboarding-wizard-step-4-should-be-skipped
Skip "Payment Methods" step for branded-only + BCDC and casual sellers (4425)
2025-08-04 19:34:36 +02:00
Niklas Gutberlet
7c8532da62
Merge pull request #3561 from woocommerce/PCP-4483-add-a-button-to-copy-merchant-credentials-in-settings-tab
Add buttons to copy merchant credentials in the Settings tab (4483)
2025-08-04 19:33:44 +02:00
Niklas Gutberlet
0b6046ad73
Merge pull request #3524 from woocommerce/PCP-4484-apple-pay-does-not-reflect-updated-shipping-method-or-address-changes-on-checkout
Apple Pay does not update shipping method or address changes on Classic Checkout (4484)
2025-08-04 19:31:40 +02:00
Niklas Gutberlet
95e579525e
Merge pull request #3432 from woocommerce/PCP-4590-verify-google-pay-3-ds
New test files for Google Pay and Fastlane (4590)
2025-08-04 19:30:24 +02:00
Niklas Gutberlet
ff38eb06ec
Merge pull request #3535 from woocommerce/PCP-5012-address-mapping-for-non-us-non-ca-countries-fails-in-fastlane-ryan-flow
Axo: Make the state address data optional to fix non US-CA compatibility (5012)
2025-08-04 19:26:23 +02:00
Niklas Gutberlet
4f64b4fa0b
Merge pull request #3543 from woocommerce/PCP-1575-fix-already-authorized
Remove redundant authorize call in subscription renewal handler (1575)
2025-08-04 19:25:00 +02:00
Niklas Gutberlet
5e1148bd0d
Merge pull request #3550 from woocommerce/PCP-3957-when-apple-pay-is-enabled-empty-space-for-apple-pay-button-is-showing-on-all-pages
When Apple Pay is enabled empty space for Apple Pay button is showing on all pages  (3957)
2025-08-04 19:24:14 +02:00
Niklas Gutberlet
22a207913b
Merge pull request #3542 from woocommerce/PCP-5007-google-pay-transaction-isnt-possible-from-express-checkout-and-block-cart
Fix Google Pay transaction from block pages (5007)
2025-08-04 19:23:18 +02:00
Niklas Gutberlet
206804cab0
Merge pull request #3527 from woocommerce/PCP-4999-pay-pal-configuration-description-logo-not-working-as-expected
Fix empty description handling and logo display for PayPal gateway (4999)
2025-08-04 19:22:40 +02:00
Niklas Gutberlet
70271d53b4
Merge pull request #3539 from woocommerce/PCP-4941-add-branded-only-system-report-entry
Fix the "New UI active" status report, add "Branded only" status report (4941)
2025-08-04 19:21:39 +02:00
Narek Zakarian
c48f3e6d2a
Add the plugin base name 2025-08-04 19:19:53 +04:00
Narek Zakarian
9bf1042a01
Fix the wording 2025-08-04 19:05:49 +04:00
Narek Zakarian
f0e88a65d8
Fix the wording 2025-08-04 19:05:16 +04:00
Narek Zakarian
d975a552a2
Add feature-flag for the working capital.
Is turned off by default
2025-08-04 18:48:15 +04:00
Narek Zakarian
1fdff2c44e
Add feature-flag for the working capital.
Is turned off by default
2025-08-04 18:48:12 +04:00