Commit graph

52 commits

Author SHA1 Message Date
Emili Castells Guasch
8d97954f42 Add content type json to all fetch ajax endpoints 2023-03-22 17:26:58 +01:00
dependabot[bot]
9d96f7133c
Bump loader-utils from 2.0.2 to 2.0.4 in /modules/ppcp-order-tracking
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 11:07:50 +00:00
Emili Castells
92a9882213
Merge pull request #971 from woocommerce/PCP-943-tracking-status-filter-sending-wrong-parameter
Fix the tracking status label filter.
2022-11-15 12:55:49 +01:00
Alex P
d8f972343d
Merge branch 'trunk' into pcp-918-php-72 2022-11-15 12:36:20 +02:00
Alex P
17d3cc152e Require PHP 7.2 2022-11-09 16:00:15 +02:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
Narek Zakarian
be653e8376 Fix the tracking status label filter. 2022-11-08 17:37:06 +04:00
dinamiko
5e42704dbc Replace wp update post meta to wc update meta 2022-10-24 12:35:31 +02:00
Emili Castells
763e1e287c
Merge pull request #884 from woocommerce/PCP-905-tracking-integration-compatibility-with-third-party-plugins
Tracking integration compatibility with Germanized plugin
2022-10-17 14:16:02 +02:00
Emili Castells
25161a3b23
Merge pull request #888 from woocommerce/PCP-905-tracking-integration-hooks
Add filters and hooks
2022-10-17 14:15:34 +02:00
Emili Castells
1faed1c1ad
Merge pull request #904 from woocommerce/PCP-930-invalid-tracking-number-in-logs-when-adding-random-number-as-tracking-number
Do not get tracking if tracking number meta doesn't exist
2022-10-13 09:23:27 +02:00
Narek Zakarian
92e4b65220 Dont get tracking if tracking number meta doesn't exist 2022-10-11 15:03:53 +04:00
Narek Zakarian
968b081534 Fix the disabled tracking checkbox condition 2022-10-10 17:11:38 +04:00
Narek Zakarian
ff6073dc60 Pass the correct info to update tracking 2022-10-07 16:57:45 +04:00
Narek Zakarian
1aa1cebba9 Merge branch 'PCP-905-tracking-integration-hooks' into PCP-905-tracking-integration-compatibility-with-third-party-plugins 2022-10-07 16:49:50 +04:00
Narek Zakarian
cd9065c578 Add filters and hooks 2022-10-05 19:07:37 +04:00
Narek Zakarian
dc23c3357b Show error messages for failed tracking 2022-10-04 15:52:01 +04:00
Narek Zakarian
f473748299 Fix PHPcs problems 2022-10-03 19:46:46 +04:00
Narek Zakarian
aac1d144d0 Adjust tracking JS to match new added functionality 2022-10-03 18:21:42 +04:00
Narek Zakarian
92bdb977f9 Add filter for tracking_number value, fix filter names 2022-09-29 16:26:19 +04:00
dinamiko
3382654c0a Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-15 11:47:17 +02:00
dinamiko
a50ec0719d Ignore order tracking assets 2022-09-14 15:08:40 +02:00
dinamiko
e4e968a823 Fix merge conflict 2022-09-14 12:22:46 +02:00
Alex P
daad118148 Fix babel in other modules 2022-09-12 10:22:02 +03:00
Alex P
23cb96e6f9 Explicitly send cookies in fetch
Not sent by default in old browsers
2022-09-09 16:28:58 +03:00
Alex P
a81a2ef7d1 Fix source maps in production
File source was huge because of that
2022-09-09 10:28:26 +03:00
dinamiko
ae11b15164 Do not show subscription behavior setting if subscriptions plugin is not active 2022-09-02 12:59:53 +02:00
Narek Zakarian
2c27bf91d9 Pass the WC_Order class id instead of the WP_Post object id 2022-09-01 14:58:23 +04:00
Narek Zakarian
62d96cba8a For tracking we only need to check Woo setting for PUI 2022-08-19 16:24:27 +04:00
Narek Zakarian
9ea71be37b Use assert instead of long comments 2022-08-17 19:06:20 +04:00
Narek Zakarian
d3d79f4ef1 fix PHPcs problems 2022-08-17 16:25:23 +04:00
Narek Zakarian
b20280a9e4 fix PHPcs problems 2022-08-17 16:17:33 +04:00
Narek Zakarian
2231b7836c Fix Psalm errors 2022-08-17 15:03:57 +04:00
Narek Zakarian
9b81ac54f2 Fix Psalm errors 2022-08-16 18:46:17 +04:00
Narek Zakarian
43095654ff Listen for tracking from module 2022-08-16 16:49:16 +04:00
Narek Zakarian
8ce45012f1 Add filters for changing statuses and carriers 2022-08-15 19:02:34 +04:00
Narek Zakarian
1242a45f8f Auto-enable tracking if is PUI ready for German merchants 2022-08-15 14:57:53 +04:00
Narek Zakarian
396352775b Get selected country from configuration 2022-08-12 16:25:32 +04:00
Narek Zakarian
36f7fd2b75 Fix "Select Carrier" option 2022-08-12 15:42:34 +04:00
Narek Zakarian
318f71b27c Improve js functionality 2022-08-12 15:41:13 +04:00
Narek Zakarian
f859d1425a Remove console.log 2022-08-11 17:59:58 +04:00
Narek Zakarian
3a2d72aa5c fix gitignore & add assets registration functionality. 2022-08-11 17:59:20 +04:00
Narek Zakarian
afc2d31852 fix error handling fro tracking endpoint 2022-08-11 17:57:18 +04:00
Narek Zakarian
a4cb280fe3 Fix PHPcs errors 2022-08-11 17:47:29 +04:00
Narek Zakarian
cd75b08e9e Add tracking info on order complete 2022-08-11 17:37:09 +04:00
Narek Zakarian
3e47e62f78 Document Carriers map 2022-08-11 14:54:38 +04:00
Narek Zakarian
7bd2f80c6a Add appropriate services 2022-08-11 14:22:16 +04:00
Narek Zakarian
054a6b2164 Create module assets 2022-08-11 14:21:38 +04:00
Narek Zakarian
70ab9393e2 Configuration for Carriers list 2022-08-11 14:20:42 +04:00
Narek Zakarian
c04cc5a2bd Render order-tracking metabox 2022-08-11 14:19:53 +04:00