Commit graph

142 commits

Author SHA1 Message Date
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
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
Alex P.
727492e48c
Fix nonce ignoring 2025-07-16 08:23:42 +03:00
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
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
Daniel Hüsken
d10f9763ad
Fix displaying of html tags in product titels on choosing product for tracking 2024-10-15 10:58:50 +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
789d979c80
Merge branch 'refs/heads/trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-applepay/src/ApplepayModule.php
#	modules/ppcp-compat/src/CompatModule.php
2024-08-23 15:50:49 +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
George Burduli
96f8c5ef97
Automatically delete PayPal Package 2024-07-29 12:02:37 +04:00
George Burduli
40c81683d9
Add DHL DE plugin compatibility 2024-07-25 14:08:45 +04:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Narek Zakarian
8d48e7ffff
Log the error if problem getting tracking info 2024-06-25 18:39:23 +04:00
Narek Zakarian
d36e230f78
Merge branch 'trunk' into PCP-3314-pay-pal-package-tracking-not-to-break-orders-screen-when-there-is-an-exception-for-package-tracking 2024-06-25 16:27:36 +04:00
Narek Zakarian
b1ec5e3d8f
Add logger 2024-06-25 16:23:57 +04:00
Narek Zakarian
13b2f30edc
Improve docs 2024-06-19 20:23:51 +04:00
Narek Zakarian
5fbfba61c6
Fix the coding styles 2024-06-19 20:17:02 +04:00
Narek Zakarian
17030cae12
Don't render tracking metaBox if can't retrieve PayPal order 2024-06-19 20:02:31 +04:00
Narek Zakarian
5bb240bb9a
Surround with the integrations try/catch to avoid errors 2024-05-30 17:26:44 +04:00
Narek Zakarian
9c029858b4
Fix psalm errors 2024-04-25 20:21:13 +04:00
Narek Zakarian
c61d95a182
Fix coding styles 2024-04-25 20:15:22 +04:00
Narek Zakarian
a97358679c
Use capture_id instead of the transaction_id in JS 2024-04-25 20:06:06 +04:00
Narek Zakarian
068142ac2f
Use capture_id instead of the transaction_id for integrations 2024-04-25 20:05:57 +04:00
Narek Zakarian
3fa1cb4da3
Use capture_id instead of the transaction_id in metabox 2024-04-25 20:05:37 +04:00
Narek Zakarian
2cae4a723a
Use capture_id instead of the transaction_id 2024-04-25 20:05:23 +04:00
Narek Zakarian
aa3a58af5f
Refactor the transaction_id to becapture_id 2024-04-25 20:04:53 +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
Daniel Dudzic
27b8155766
Product Title: Ensure the product title in addition to the product description gets correctly sanitized and trimmed before getting sent to PayPal 2024-03-11 19:12:24 +01:00
Narek Zakarian
dd6c76f328
Prepare the SKU for sending to PayPal 2024-02-15 16:42:16 +04:00
Emili Castells Guasch
8c8bee1c47 Add package tracking support for uk 2024-01-18 11:00:10 +01:00
Pedro Silva
429232f60f
Refactor remaining modules to Modularity.
Remove Dhii dependencies.
2023-12-19 17:26:09 +00:00
Pedro Silva
5b67bbfc27
Change tracking carriers so texts aren't added to .pot files. 2023-12-04 17:23:51 +00:00
Emili Castells
42f995222d
Merge pull request #1841 from woocommerce/PCP-2312-fatal-error-with-woo-commerce-ship-station-integration-by-woo-commerce-4-3-9
Fix action callback arguments count in ShipStation tracking integration (2312)
2023-11-23 09:24:33 +01:00
Emili Castells
11bdfda8dd
Merge pull request #1850 from woocommerce/PCP-2282-pay-pal-package-tracking-goes-under-order-notes-instead-order-data-when-hpos-is-active
Display Package Tracking metabox below Order actions when HPOS is active (2282)
2023-11-23 09:22:06 +01:00
Narek Zakarian
f50a071a11
Add priority "high" for tracking metabox 2023-11-17 17:45:21 +04:00
Narek Zakarian
14fc649c40
Create service for 2nd version country codes 2023-11-17 15:51:10 +04:00
Narek Zakarian
59d6c96923
Fix action callback arguments count 2023-11-16 16:06:07 +04:00
Emili Castells
eb956d9db6
Merge pull request #1813 from woocommerce/PCP-2122-extend-package-tracking-plugin-compatibility
Package Tracking compatibility with WooCommerce Shipping & ShipStation for WooCommerce (2122)
2023-11-02 10:59:10 +01:00
Narek Zakarian
c8fc78c0e2
Change the REST rout name 2023-10-30 15:18:11 +04:00
Narek Zakarian
9f93faa159
Fix the shipment title styles 2023-10-27 15:13:56 +04:00
Narek Zakarian
54d73fcbae
The check will not work on REST 2023-10-27 14:58:36 +04:00
Narek Zakarian
2b42941000
Init the integration for Wc Shipping & Tax 2023-10-27 11:28:50 +04:00
Narek Zakarian
93abbefb5b
Create tracking integration for Wc Shipping & Tax plugin 2023-10-27 11:26:28 +04:00
Narek Zakarian
c1e84f4be5
disable tracking if payment is not captured 2023-10-18 19:22:09 +04:00
Narek Zakarian
c5d9fc2f5a
Revert "disable tracking if payment is not captured"
This reverts commit 9bf0f846ac.
2023-10-18 19:20:08 +04:00
Narek Zakarian
9bf0f846ac
disable tracking if payment is not captured 2023-10-18 19:17:30 +04:00