AfterShip – WooCommerce Tracking - Version 1.12.14

Version Description

  • Update Courier list.
  • Add _aftership_tracking_number for Compatible
Download this release

Release Info

Developer aftership
Plugin Icon 128x128 AfterShip – WooCommerce Tracking
Version 1.12.14
Comparing to
See all releases

Code changes from version 1.12.13 to 1.12.14

aftership-woocommerce-tracking.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: AfterShip Order Tracking, WooCommerce Tracking Made Easy (Free plan available)
4
  * Plugin URI: http://aftership.com/
5
  * Description: All-in-one Woocommerce Shipment Tracking, Track parcel order status. integrates with 800+ shipping providers including FedEx,USPS,UPS,DHL,Canada Post. Install Free
6
- * Version: 1.12.13
7
  * Author: AfterShip
8
  * Author URI: http://aftership.com
9
  *
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
20
 
21
  require_once( 'woo-includes/woo-functions.php' );
22
 
23
- define( 'AFTERSHIP_VERSION', '1.12.13' );
24
 
25
  if ( is_woocommerce_active() ) {
26
 
3
  * Plugin Name: AfterShip Order Tracking, WooCommerce Tracking Made Easy (Free plan available)
4
  * Plugin URI: http://aftership.com/
5
  * Description: All-in-one Woocommerce Shipment Tracking, Track parcel order status. integrates with 800+ shipping providers including FedEx,USPS,UPS,DHL,Canada Post. Install Free
6
+ * Version: 1.12.14
7
  * Author: AfterShip
8
  * Author URI: http://aftership.com
9
  *
20
 
21
  require_once( 'woo-includes/woo-functions.php' );
22
 
23
+ define( 'AFTERSHIP_VERSION', '1.12.14' );
24
 
25
  if ( is_woocommerce_active() ) {
26
 
assets/js/couriers.js CHANGED
@@ -1176,7 +1176,7 @@ function get_aftership_couriers() {
1176
  "name": "DB Schenker B2B",
1177
  "other_name": null,
1178
  "required_fields": [
1179
- "tracking_origin_country"
1180
  ]
1181
  },
1182
  {
@@ -1313,6 +1313,12 @@ function get_aftership_couriers() {
1313
  "other_name": "DHL España",
1314
  "required_fields": []
1315
  },
 
 
 
 
 
 
1316
  {
1317
  "slug": "dhl-germany",
1318
  "name": "Deutsche Post DHL",
@@ -1613,6 +1619,12 @@ function get_aftership_couriers() {
1613
  "other_name": "",
1614
  "required_fields": []
1615
  },
 
 
 
 
 
 
1616
  {
1617
  "slug": "dtdc",
1618
  "name": "DTDC India",
@@ -1697,8 +1709,8 @@ function get_aftership_couriers() {
1697
  },
1698
  {
1699
  "slug": "ecexpress",
1700
- "name": "上海东擎速递有限公司深圳分公司 ECexpress (Shanghai)Co.,Ltd Shenzhen Branch",
1701
- "other_name": null,
1702
  "required_fields": []
1703
  },
1704
  {
@@ -1825,6 +1837,12 @@ function get_aftership_couriers() {
1825
  "other_name": "Yong Seoung",
1826
  "required_fields": []
1827
  },
 
 
 
 
 
 
1828
  {
1829
  "slug": "equick-cn",
1830
  "name": "Equick China",
@@ -2111,6 +2129,12 @@ function get_aftership_couriers() {
2111
  "other_name": null,
2112
  "required_fields": []
2113
  },
 
 
 
 
 
 
2114
  {
2115
  "slug": "gangbao",
2116
  "name": "GANGBAO Supplychain",
@@ -2247,12 +2271,6 @@ function get_aftership_couriers() {
2247
  "other_name": "",
2248
  "required_fields": []
2249
  },
2250
- {
2251
- "slug": "gls-da",
2252
- "name": "GLS Denmark",
2253
- "other_name": null,
2254
- "required_fields": []
2255
- },
2256
  {
2257
  "slug": "gls-italy",
2258
  "name": "GLS Italy",
@@ -2289,9 +2307,7 @@ function get_aftership_couriers() {
2289
  "slug": "gls-spain",
2290
  "name": "GLS Spain",
2291
  "other_name": "",
2292
- "required_fields": [
2293
- "tracking_key"
2294
- ]
2295
  },
2296
  {
2297
  "slug": "gofly",
@@ -2311,6 +2327,12 @@ function get_aftership_couriers() {
2311
  "other_name": "Javas",
2312
  "required_fields": []
2313
  },
 
 
 
 
 
 
2314
  {
2315
  "slug": "grab-webhook",
2316
  "name": "Grab",
@@ -2323,6 +2345,12 @@ function get_aftership_couriers() {
2323
  "other_name": "Greyhound Package Express",
2324
  "required_fields": []
2325
  },
 
 
 
 
 
 
2326
  {
2327
  "slug": "gsi-express",
2328
  "name": "GSI EXPRESS",
@@ -2335,12 +2363,26 @@ function get_aftership_couriers() {
2335
  "other_name": "GSO Freight",
2336
  "required_fields": []
2337
  },
 
 
 
 
 
 
2338
  {
2339
  "slug": "hanjin",
2340
  "name": "HanJin",
2341
  "other_name": null,
2342
  "required_fields": []
2343
  },
 
 
 
 
 
 
 
 
2344
  {
2345
  "slug": "hct-logistics",
2346
  "name": "HCT LOGISTICS CO.LTD.",
@@ -2717,6 +2759,12 @@ function get_aftership_couriers() {
2717
  "other_name": "",
2718
  "required_fields": []
2719
  },
 
 
 
 
 
 
2720
  {
2721
  "slug": "jcex",
2722
  "name": "JCEX",
@@ -2771,6 +2819,12 @@ function get_aftership_couriers() {
2771
  "other_name": "",
2772
  "required_fields": []
2773
  },
 
 
 
 
 
 
2774
  {
2775
  "slug": "js-express",
2776
  "name": "JS EXPRESS",
@@ -3452,6 +3506,12 @@ function get_aftership_couriers() {
3452
  "other_name": "Новая Почта",
3453
  "required_fields": []
3454
  },
 
 
 
 
 
 
3455
  {
3456
  "slug": "nova-poshtaint",
3457
  "name": "Nova Poshta (International)",
@@ -3482,6 +3542,12 @@ function get_aftership_couriers() {
3482
  "other_name": "",
3483
  "required_fields": []
3484
  },
 
 
 
 
 
 
3485
  {
3486
  "slug": "oca-ar",
3487
  "name": "OCA Argentina",
@@ -3512,6 +3578,12 @@ function get_aftership_couriers() {
3512
  "other_name": "ODFL",
3513
  "required_fields": []
3514
  },
 
 
 
 
 
 
3515
  {
3516
  "slug": "omniparcel",
3517
  "name": "Omni Parcel",
@@ -3592,6 +3664,14 @@ function get_aftership_couriers() {
3592
  "other_name": "",
3593
  "required_fields": []
3594
  },
 
 
 
 
 
 
 
 
3595
  {
3596
  "slug": "palletways",
3597
  "name": "Palletways",
@@ -3622,9 +3702,7 @@ function get_aftership_couriers() {
3622
  "slug": "panther-order-number",
3623
  "name": "Panther Order Number",
3624
  "other_name": "Panther Group UK",
3625
- "required_fields": [
3626
- "tracking_postal_code"
3627
- ]
3628
  },
3629
  {
3630
  "slug": "panther-reference",
@@ -3704,6 +3782,12 @@ function get_aftership_couriers() {
3704
  "other_name": "ParcelPost",
3705
  "required_fields": []
3706
  },
 
 
 
 
 
 
3707
  {
3708
  "slug": "parknparcel",
3709
  "name": "Park N Parcel",
@@ -3716,6 +3800,12 @@ function get_aftership_couriers() {
3716
  "other_name": null,
3717
  "required_fields": []
3718
  },
 
 
 
 
 
 
3719
  {
3720
  "slug": "pcfcorp",
3721
  "name": "PCF Final Mile",
@@ -3734,6 +3824,12 @@ function get_aftership_couriers() {
3734
  "other_name": null,
3735
  "required_fields": []
3736
  },
 
 
 
 
 
 
3737
  {
3738
  "slug": "pickup",
3739
  "name": "Pickupp",
@@ -3796,6 +3892,12 @@ function get_aftership_couriers() {
3796
  "tracking_postal_code"
3797
  ]
3798
  },
 
 
 
 
 
 
3799
  {
3800
  "slug": "poczta-polska",
3801
  "name": "Poczta Polska",
@@ -3850,6 +3952,12 @@ function get_aftership_couriers() {
3850
  "other_name": "Romania Post",
3851
  "required_fields": []
3852
  },
 
 
 
 
 
 
3853
  {
3854
  "slug": "poste-italiane",
3855
  "name": "Poste Italiane",
@@ -4097,6 +4205,12 @@ function get_aftership_couriers() {
4097
  "other_name": null,
4098
  "required_fields": []
4099
  },
 
 
 
 
 
 
4100
  {
4101
  "slug": "royalshipments",
4102
  "name": "RoyalShipments",
@@ -4129,8 +4243,8 @@ function get_aftership_couriers() {
4129
  },
4130
  {
4131
  "slug": "rrdonnelley",
4132
- "name": "RRD International Logistics U.S.A",
4133
- "other_name": "RRD",
4134
  "required_fields": []
4135
  },
4136
  {
@@ -4259,12 +4373,6 @@ function get_aftership_couriers() {
4259
  "other_name": "順豊快遞, SF",
4260
  "required_fields": []
4261
  },
4262
- {
4263
- "slug": "sf-express-webhook",
4264
- "name": "SF Express (Webhook)",
4265
- "other_name": "顺丰速运 (丰桥路由状态推送)",
4266
- "required_fields": []
4267
- },
4268
  {
4269
  "slug": "sfb2c",
4270
  "name": "SF International",
@@ -4343,6 +4451,12 @@ function get_aftership_couriers() {
4343
  "other_name": "",
4344
  "required_fields": []
4345
  },
 
 
 
 
 
 
4346
  {
4347
  "slug": "shreenandancourier",
4348
  "name": "SHREE NANDAN COURIER",
@@ -4841,6 +4955,12 @@ function get_aftership_couriers() {
4841
  "other_name": "TNT Express FR",
4842
  "required_fields": []
4843
  },
 
 
 
 
 
 
4844
  {
4845
  "slug": "tnt-it",
4846
  "name": "TNT Italy",
@@ -5081,6 +5201,18 @@ function get_aftership_couriers() {
5081
  "other_name": "USPS IV",
5082
  "required_fields": []
5083
  },
 
 
 
 
 
 
 
 
 
 
 
 
5084
  {
5085
  "slug": "via-express",
5086
  "name": "Viaxpress",
@@ -5227,6 +5359,12 @@ function get_aftership_couriers() {
5227
  "other_name": "",
5228
  "required_fields": []
5229
  },
 
 
 
 
 
 
5230
  {
5231
  "slug": "xde-webhook",
5232
  "name": "Ximex Delivery Express",
@@ -5249,12 +5387,6 @@ function get_aftership_couriers() {
5249
  "tracking_postal_code"
5250
  ]
5251
  },
5252
- {
5253
- "slug": "xend",
5254
- "name": "Xend Express",
5255
- "other_name": "Xend Business Solutions",
5256
- "required_fields": []
5257
- },
5258
  {
5259
  "slug": "xl-express",
5260
  "name": "XL Express",
@@ -5335,6 +5467,12 @@ function get_aftership_couriers() {
5335
  "tracking_postal_code"
5336
  ]
5337
  },
 
 
 
 
 
 
5338
  {
5339
  "slug": "yodel-international",
5340
  "name": "Yodel International",
1176
  "name": "DB Schenker B2B",
1177
  "other_name": null,
1178
  "required_fields": [
1179
+ "tracking_account_number"
1180
  ]
1181
  },
1182
  {
1313
  "other_name": "DHL España",
1314
  "required_fields": []
1315
  },
1316
+ {
1317
+ "slug": "dhl-freight",
1318
+ "name": "DHL Freight",
1319
+ "other_name": null,
1320
+ "required_fields": []
1321
+ },
1322
  {
1323
  "slug": "dhl-germany",
1324
  "name": "Deutsche Post DHL",
1619
  "other_name": "",
1620
  "required_fields": []
1621
  },
1622
+ {
1623
+ "slug": "dsv-reference",
1624
+ "name": "DSV Futurewave",
1625
+ "other_name": null,
1626
+ "required_fields": []
1627
+ },
1628
  {
1629
  "slug": "dtdc",
1630
  "name": "DTDC India",
1709
  },
1710
  {
1711
  "slug": "ecexpress",
1712
+ "name": "ECexpress",
1713
+ "other_name": "ECexpress (Shanghai)Co.,Ltd",
1714
  "required_fields": []
1715
  },
1716
  {
1837
  "other_name": "Yong Seoung",
1838
  "required_fields": []
1839
  },
1840
+ {
1841
+ "slug": "epostglobal",
1842
+ "name": "ePost Global",
1843
+ "other_name": null,
1844
+ "required_fields": []
1845
+ },
1846
  {
1847
  "slug": "equick-cn",
1848
  "name": "Equick China",
2129
  "other_name": null,
2130
  "required_fields": []
2131
  },
2132
+ {
2133
+ "slug": "gac-webhook",
2134
+ "name": "GAC",
2135
+ "other_name": null,
2136
+ "required_fields": []
2137
+ },
2138
  {
2139
  "slug": "gangbao",
2140
  "name": "GANGBAO Supplychain",
2271
  "other_name": "",
2272
  "required_fields": []
2273
  },
 
 
 
 
 
 
2274
  {
2275
  "slug": "gls-italy",
2276
  "name": "GLS Italy",
2307
  "slug": "gls-spain",
2308
  "name": "GLS Spain",
2309
  "other_name": "",
2310
+ "required_fields": []
 
 
2311
  },
2312
  {
2313
  "slug": "gofly",
2327
  "other_name": "Javas",
2328
  "required_fields": []
2329
  },
2330
+ {
2331
+ "slug": "gojek-webhook",
2332
+ "name": "Gojek",
2333
+ "other_name": null,
2334
+ "required_fields": []
2335
+ },
2336
  {
2337
  "slug": "grab-webhook",
2338
  "name": "Grab",
2345
  "other_name": "Greyhound Package Express",
2346
  "required_fields": []
2347
  },
2348
+ {
2349
+ "slug": "grupoampm",
2350
+ "name": "Grupo ampm",
2351
+ "other_name": null,
2352
+ "required_fields": []
2353
+ },
2354
  {
2355
  "slug": "gsi-express",
2356
  "name": "GSI EXPRESS",
2363
  "other_name": "GSO Freight",
2364
  "required_fields": []
2365
  },
2366
+ {
2367
+ "slug": "gw-world",
2368
+ "name": "Gebrüder Weiss",
2369
+ "other_name": null,
2370
+ "required_fields": []
2371
+ },
2372
  {
2373
  "slug": "hanjin",
2374
  "name": "HanJin",
2375
  "other_name": null,
2376
  "required_fields": []
2377
  },
2378
+ {
2379
+ "slug": "happy2thepoint",
2380
+ "name": "Happy 2ThePoint",
2381
+ "other_name": null,
2382
+ "required_fields": [
2383
+ "tracking_postal_code"
2384
+ ]
2385
+ },
2386
  {
2387
  "slug": "hct-logistics",
2388
  "name": "HCT LOGISTICS CO.LTD.",
2759
  "other_name": "",
2760
  "required_fields": []
2761
  },
2762
+ {
2763
+ "slug": "jbhunt",
2764
+ "name": "JB Hunt",
2765
+ "other_name": null,
2766
+ "required_fields": []
2767
+ },
2768
  {
2769
  "slug": "jcex",
2770
  "name": "JCEX",
2819
  "other_name": "",
2820
  "required_fields": []
2821
  },
2822
+ {
2823
+ "slug": "joyingbox",
2824
+ "name": "Joying Box",
2825
+ "other_name": null,
2826
+ "required_fields": []
2827
+ },
2828
  {
2829
  "slug": "js-express",
2830
  "name": "JS EXPRESS",
3506
  "other_name": "Новая Почта",
3507
  "required_fields": []
3508
  },
3509
+ {
3510
+ "slug": "nova-poshta-api",
3511
+ "name": "Nova Poshta API",
3512
+ "other_name": null,
3513
+ "required_fields": []
3514
+ },
3515
  {
3516
  "slug": "nova-poshtaint",
3517
  "name": "Nova Poshta (International)",
3542
  "other_name": "",
3543
  "required_fields": []
3544
  },
3545
+ {
3546
+ "slug": "ntlogistics-vn",
3547
+ "name": "Nhat Tin Logistics",
3548
+ "other_name": null,
3549
+ "required_fields": []
3550
+ },
3551
  {
3552
  "slug": "oca-ar",
3553
  "name": "OCA Argentina",
3578
  "other_name": "ODFL",
3579
  "required_fields": []
3580
  },
3581
+ {
3582
+ "slug": "olistpax",
3583
+ "name": "Olist Pax",
3584
+ "other_name": null,
3585
+ "required_fields": []
3586
+ },
3587
  {
3588
  "slug": "omniparcel",
3589
  "name": "Omni Parcel",
3664
  "other_name": "",
3665
  "required_fields": []
3666
  },
3667
+ {
3668
+ "slug": "pallet-network",
3669
+ "name": "The Pallet Network",
3670
+ "other_name": null,
3671
+ "required_fields": [
3672
+ "tracking_postal_code"
3673
+ ]
3674
+ },
3675
  {
3676
  "slug": "palletways",
3677
  "name": "Palletways",
3702
  "slug": "panther-order-number",
3703
  "name": "Panther Order Number",
3704
  "other_name": "Panther Group UK",
3705
+ "required_fields": []
 
 
3706
  },
3707
  {
3708
  "slug": "panther-reference",
3782
  "other_name": "ParcelPost",
3783
  "required_fields": []
3784
  },
3785
+ {
3786
+ "slug": "parceltopost",
3787
+ "name": "Parcel To Post",
3788
+ "other_name": null,
3789
+ "required_fields": []
3790
+ },
3791
  {
3792
  "slug": "parknparcel",
3793
  "name": "Park N Parcel",
3800
  "other_name": null,
3801
  "required_fields": []
3802
  },
3803
+ {
3804
+ "slug": "pb-uspsflats-ftp",
3805
+ "name": "USPS Flats (Pitney Bowes)",
3806
+ "other_name": null,
3807
+ "required_fields": []
3808
+ },
3809
  {
3810
  "slug": "pcfcorp",
3811
  "name": "PCF Final Mile",
3824
  "other_name": null,
3825
  "required_fields": []
3826
  },
3827
+ {
3828
+ "slug": "pickrr",
3829
+ "name": "Pickrr",
3830
+ "other_name": null,
3831
+ "required_fields": []
3832
+ },
3833
  {
3834
  "slug": "pickup",
3835
  "name": "Pickupp",
3892
  "tracking_postal_code"
3893
  ]
3894
  },
3895
+ {
3896
+ "slug": "plusuk-webhook",
3897
+ "name": "Plus UK Logistics",
3898
+ "other_name": null,
3899
+ "required_fields": []
3900
+ },
3901
  {
3902
  "slug": "poczta-polska",
3903
  "name": "Poczta Polska",
3952
  "other_name": "Romania Post",
3953
  "required_fields": []
3954
  },
3955
+ {
3956
+ "slug": "postaplus",
3957
+ "name": "Posta Plus",
3958
+ "other_name": "PostaPlus",
3959
+ "required_fields": []
3960
+ },
3961
  {
3962
  "slug": "poste-italiane",
3963
  "name": "Poste Italiane",
4205
  "other_name": null,
4206
  "required_fields": []
4207
  },
4208
+ {
4209
+ "slug": "royal-mail-ftp",
4210
+ "name": "Royal Mail",
4211
+ "other_name": null,
4212
+ "required_fields": []
4213
+ },
4214
  {
4215
  "slug": "royalshipments",
4216
  "name": "RoyalShipments",
4243
  },
4244
  {
4245
  "slug": "rrdonnelley",
4246
+ "name": "ePost Global",
4247
+ "other_name": null,
4248
  "required_fields": []
4249
  },
4250
  {
4373
  "other_name": "順豊快遞, SF",
4374
  "required_fields": []
4375
  },
 
 
 
 
 
 
4376
  {
4377
  "slug": "sfb2c",
4378
  "name": "SF International",
4451
  "other_name": "",
4452
  "required_fields": []
4453
  },
4454
+ {
4455
+ "slug": "shreeanjanicourier",
4456
+ "name": "Shree Anjani Courier",
4457
+ "other_name": null,
4458
+ "required_fields": []
4459
+ },
4460
  {
4461
  "slug": "shreenandancourier",
4462
  "name": "SHREE NANDAN COURIER",
4955
  "other_name": "TNT Express FR",
4956
  "required_fields": []
4957
  },
4958
+ {
4959
+ "slug": "tnt-fr-reference",
4960
+ "name": "TNT France Reference",
4961
+ "other_name": null,
4962
+ "required_fields": []
4963
+ },
4964
  {
4965
  "slug": "tnt-it",
4966
  "name": "TNT Italy",
5201
  "other_name": "USPS IV",
5202
  "required_fields": []
5203
  },
5204
+ {
5205
+ "slug": "vamox",
5206
+ "name": "VAMOX",
5207
+ "other_name": null,
5208
+ "required_fields": []
5209
+ },
5210
+ {
5211
+ "slug": "venipak",
5212
+ "name": "Venipak",
5213
+ "other_name": null,
5214
+ "required_fields": []
5215
+ },
5216
  {
5217
  "slug": "via-express",
5218
  "name": "Viaxpress",
5359
  "other_name": "",
5360
  "required_fields": []
5361
  },
5362
+ {
5363
+ "slug": "wyngs-my",
5364
+ "name": "Wyngs",
5365
+ "other_name": null,
5366
+ "required_fields": []
5367
+ },
5368
  {
5369
  "slug": "xde-webhook",
5370
  "name": "Ximex Delivery Express",
5387
  "tracking_postal_code"
5388
  ]
5389
  },
 
 
 
 
 
 
5390
  {
5391
  "slug": "xl-express",
5392
  "name": "XL Express",
5467
  "tracking_postal_code"
5468
  ]
5469
  },
5470
+ {
5471
+ "slug": "yodel-api",
5472
+ "name": "Yodel API",
5473
+ "other_name": null,
5474
+ "required_fields": []
5475
+ },
5476
  {
5477
  "slug": "yodel-international",
5478
  "name": "Yodel International",
assets/js/couriers.json CHANGED
@@ -1175,7 +1175,7 @@
1175
  "name": "DB Schenker B2B",
1176
  "other_name": null,
1177
  "required_fields": [
1178
- "tracking_origin_country"
1179
  ]
1180
  },
1181
  {
@@ -1312,6 +1312,12 @@
1312
  "other_name": "DHL España",
1313
  "required_fields": []
1314
  },
 
 
 
 
 
 
1315
  {
1316
  "slug": "dhl-germany",
1317
  "name": "Deutsche Post DHL",
@@ -1612,6 +1618,12 @@
1612
  "other_name": "",
1613
  "required_fields": []
1614
  },
 
 
 
 
 
 
1615
  {
1616
  "slug": "dtdc",
1617
  "name": "DTDC India",
@@ -1696,8 +1708,8 @@
1696
  },
1697
  {
1698
  "slug": "ecexpress",
1699
- "name": "上海东擎速递有限公司深圳分公司 ECexpress (Shanghai)Co.,Ltd Shenzhen Branch",
1700
- "other_name": null,
1701
  "required_fields": []
1702
  },
1703
  {
@@ -1824,6 +1836,12 @@
1824
  "other_name": "Yong Seoung",
1825
  "required_fields": []
1826
  },
 
 
 
 
 
 
1827
  {
1828
  "slug": "equick-cn",
1829
  "name": "Equick China",
@@ -2110,6 +2128,12 @@
2110
  "other_name": null,
2111
  "required_fields": []
2112
  },
 
 
 
 
 
 
2113
  {
2114
  "slug": "gangbao",
2115
  "name": "GANGBAO Supplychain",
@@ -2246,12 +2270,6 @@
2246
  "other_name": "",
2247
  "required_fields": []
2248
  },
2249
- {
2250
- "slug": "gls-da",
2251
- "name": "GLS Denmark",
2252
- "other_name": null,
2253
- "required_fields": []
2254
- },
2255
  {
2256
  "slug": "gls-italy",
2257
  "name": "GLS Italy",
@@ -2288,9 +2306,7 @@
2288
  "slug": "gls-spain",
2289
  "name": "GLS Spain",
2290
  "other_name": "",
2291
- "required_fields": [
2292
- "tracking_key"
2293
- ]
2294
  },
2295
  {
2296
  "slug": "gofly",
@@ -2310,6 +2326,12 @@
2310
  "other_name": "Javas",
2311
  "required_fields": []
2312
  },
 
 
 
 
 
 
2313
  {
2314
  "slug": "grab-webhook",
2315
  "name": "Grab",
@@ -2322,6 +2344,12 @@
2322
  "other_name": "Greyhound Package Express",
2323
  "required_fields": []
2324
  },
 
 
 
 
 
 
2325
  {
2326
  "slug": "gsi-express",
2327
  "name": "GSI EXPRESS",
@@ -2334,12 +2362,26 @@
2334
  "other_name": "GSO Freight",
2335
  "required_fields": []
2336
  },
 
 
 
 
 
 
2337
  {
2338
  "slug": "hanjin",
2339
  "name": "HanJin",
2340
  "other_name": null,
2341
  "required_fields": []
2342
  },
 
 
 
 
 
 
 
 
2343
  {
2344
  "slug": "hct-logistics",
2345
  "name": "HCT LOGISTICS CO.LTD.",
@@ -2716,6 +2758,12 @@
2716
  "other_name": "",
2717
  "required_fields": []
2718
  },
 
 
 
 
 
 
2719
  {
2720
  "slug": "jcex",
2721
  "name": "JCEX",
@@ -2770,6 +2818,12 @@
2770
  "other_name": "",
2771
  "required_fields": []
2772
  },
 
 
 
 
 
 
2773
  {
2774
  "slug": "js-express",
2775
  "name": "JS EXPRESS",
@@ -3451,6 +3505,12 @@
3451
  "other_name": "Новая Почта",
3452
  "required_fields": []
3453
  },
 
 
 
 
 
 
3454
  {
3455
  "slug": "nova-poshtaint",
3456
  "name": "Nova Poshta (International)",
@@ -3481,6 +3541,12 @@
3481
  "other_name": "",
3482
  "required_fields": []
3483
  },
 
 
 
 
 
 
3484
  {
3485
  "slug": "oca-ar",
3486
  "name": "OCA Argentina",
@@ -3511,6 +3577,12 @@
3511
  "other_name": "ODFL",
3512
  "required_fields": []
3513
  },
 
 
 
 
 
 
3514
  {
3515
  "slug": "omniparcel",
3516
  "name": "Omni Parcel",
@@ -3591,6 +3663,14 @@
3591
  "other_name": "",
3592
  "required_fields": []
3593
  },
 
 
 
 
 
 
 
 
3594
  {
3595
  "slug": "palletways",
3596
  "name": "Palletways",
@@ -3621,9 +3701,7 @@
3621
  "slug": "panther-order-number",
3622
  "name": "Panther Order Number",
3623
  "other_name": "Panther Group UK",
3624
- "required_fields": [
3625
- "tracking_postal_code"
3626
- ]
3627
  },
3628
  {
3629
  "slug": "panther-reference",
@@ -3703,6 +3781,12 @@
3703
  "other_name": "ParcelPost",
3704
  "required_fields": []
3705
  },
 
 
 
 
 
 
3706
  {
3707
  "slug": "parknparcel",
3708
  "name": "Park N Parcel",
@@ -3715,6 +3799,12 @@
3715
  "other_name": null,
3716
  "required_fields": []
3717
  },
 
 
 
 
 
 
3718
  {
3719
  "slug": "pcfcorp",
3720
  "name": "PCF Final Mile",
@@ -3733,6 +3823,12 @@
3733
  "other_name": null,
3734
  "required_fields": []
3735
  },
 
 
 
 
 
 
3736
  {
3737
  "slug": "pickup",
3738
  "name": "Pickupp",
@@ -3795,6 +3891,12 @@
3795
  "tracking_postal_code"
3796
  ]
3797
  },
 
 
 
 
 
 
3798
  {
3799
  "slug": "poczta-polska",
3800
  "name": "Poczta Polska",
@@ -3849,6 +3951,12 @@
3849
  "other_name": "Romania Post",
3850
  "required_fields": []
3851
  },
 
 
 
 
 
 
3852
  {
3853
  "slug": "poste-italiane",
3854
  "name": "Poste Italiane",
@@ -4096,6 +4204,12 @@
4096
  "other_name": null,
4097
  "required_fields": []
4098
  },
 
 
 
 
 
 
4099
  {
4100
  "slug": "royalshipments",
4101
  "name": "RoyalShipments",
@@ -4128,8 +4242,8 @@
4128
  },
4129
  {
4130
  "slug": "rrdonnelley",
4131
- "name": "RRD International Logistics U.S.A",
4132
- "other_name": "RRD",
4133
  "required_fields": []
4134
  },
4135
  {
@@ -4258,12 +4372,6 @@
4258
  "other_name": "順豊快遞, SF",
4259
  "required_fields": []
4260
  },
4261
- {
4262
- "slug": "sf-express-webhook",
4263
- "name": "SF Express (Webhook)",
4264
- "other_name": "顺丰速运 (丰桥路由状态推送)",
4265
- "required_fields": []
4266
- },
4267
  {
4268
  "slug": "sfb2c",
4269
  "name": "SF International",
@@ -4342,6 +4450,12 @@
4342
  "other_name": "",
4343
  "required_fields": []
4344
  },
 
 
 
 
 
 
4345
  {
4346
  "slug": "shreenandancourier",
4347
  "name": "SHREE NANDAN COURIER",
@@ -4840,6 +4954,12 @@
4840
  "other_name": "TNT Express FR",
4841
  "required_fields": []
4842
  },
 
 
 
 
 
 
4843
  {
4844
  "slug": "tnt-it",
4845
  "name": "TNT Italy",
@@ -5080,6 +5200,18 @@
5080
  "other_name": "USPS IV",
5081
  "required_fields": []
5082
  },
 
 
 
 
 
 
 
 
 
 
 
 
5083
  {
5084
  "slug": "via-express",
5085
  "name": "Viaxpress",
@@ -5226,6 +5358,12 @@
5226
  "other_name": "",
5227
  "required_fields": []
5228
  },
 
 
 
 
 
 
5229
  {
5230
  "slug": "xde-webhook",
5231
  "name": "Ximex Delivery Express",
@@ -5248,12 +5386,6 @@
5248
  "tracking_postal_code"
5249
  ]
5250
  },
5251
- {
5252
- "slug": "xend",
5253
- "name": "Xend Express",
5254
- "other_name": "Xend Business Solutions",
5255
- "required_fields": []
5256
- },
5257
  {
5258
  "slug": "xl-express",
5259
  "name": "XL Express",
@@ -5334,6 +5466,12 @@
5334
  "tracking_postal_code"
5335
  ]
5336
  },
 
 
 
 
 
 
5337
  {
5338
  "slug": "yodel-international",
5339
  "name": "Yodel International",
1175
  "name": "DB Schenker B2B",
1176
  "other_name": null,
1177
  "required_fields": [
1178
+ "tracking_account_number"
1179
  ]
1180
  },
1181
  {
1312
  "other_name": "DHL España",
1313
  "required_fields": []
1314
  },
1315
+ {
1316
+ "slug": "dhl-freight",
1317
+ "name": "DHL Freight",
1318
+ "other_name": null,
1319
+ "required_fields": []
1320
+ },
1321
  {
1322
  "slug": "dhl-germany",
1323
  "name": "Deutsche Post DHL",
1618
  "other_name": "",
1619
  "required_fields": []
1620
  },
1621
+ {
1622
+ "slug": "dsv-reference",
1623
+ "name": "DSV Futurewave",
1624
+ "other_name": null,
1625
+ "required_fields": []
1626
+ },
1627
  {
1628
  "slug": "dtdc",
1629
  "name": "DTDC India",
1708
  },
1709
  {
1710
  "slug": "ecexpress",
1711
+ "name": "ECexpress",
1712
+ "other_name": "ECexpress (Shanghai)Co.,Ltd",
1713
  "required_fields": []
1714
  },
1715
  {
1836
  "other_name": "Yong Seoung",
1837
  "required_fields": []
1838
  },
1839
+ {
1840
+ "slug": "epostglobal",
1841
+ "name": "ePost Global",
1842
+ "other_name": null,
1843
+ "required_fields": []
1844
+ },
1845
  {
1846
  "slug": "equick-cn",
1847
  "name": "Equick China",
2128
  "other_name": null,
2129
  "required_fields": []
2130
  },
2131
+ {
2132
+ "slug": "gac-webhook",
2133
+ "name": "GAC",
2134
+ "other_name": null,
2135
+ "required_fields": []
2136
+ },
2137
  {
2138
  "slug": "gangbao",
2139
  "name": "GANGBAO Supplychain",
2270
  "other_name": "",
2271
  "required_fields": []
2272
  },
 
 
 
 
 
 
2273
  {
2274
  "slug": "gls-italy",
2275
  "name": "GLS Italy",
2306
  "slug": "gls-spain",
2307
  "name": "GLS Spain",
2308
  "other_name": "",
2309
+ "required_fields": []
 
 
2310
  },
2311
  {
2312
  "slug": "gofly",
2326
  "other_name": "Javas",
2327
  "required_fields": []
2328
  },
2329
+ {
2330
+ "slug": "gojek-webhook",
2331
+ "name": "Gojek",
2332
+ "other_name": null,
2333
+ "required_fields": []
2334
+ },
2335
  {
2336
  "slug": "grab-webhook",
2337
  "name": "Grab",
2344
  "other_name": "Greyhound Package Express",
2345
  "required_fields": []
2346
  },
2347
+ {
2348
+ "slug": "grupoampm",
2349
+ "name": "Grupo ampm",
2350
+ "other_name": null,
2351
+ "required_fields": []
2352
+ },
2353
  {
2354
  "slug": "gsi-express",
2355
  "name": "GSI EXPRESS",
2362
  "other_name": "GSO Freight",
2363
  "required_fields": []
2364
  },
2365
+ {
2366
+ "slug": "gw-world",
2367
+ "name": "Gebrüder Weiss",
2368
+ "other_name": null,
2369
+ "required_fields": []
2370
+ },
2371
  {
2372
  "slug": "hanjin",
2373
  "name": "HanJin",
2374
  "other_name": null,
2375
  "required_fields": []
2376
  },
2377
+ {
2378
+ "slug": "happy2thepoint",
2379
+ "name": "Happy 2ThePoint",
2380
+ "other_name": null,
2381
+ "required_fields": [
2382
+ "tracking_postal_code"
2383
+ ]
2384
+ },
2385
  {
2386
  "slug": "hct-logistics",
2387
  "name": "HCT LOGISTICS CO.LTD.",
2758
  "other_name": "",
2759
  "required_fields": []
2760
  },
2761
+ {
2762
+ "slug": "jbhunt",
2763
+ "name": "JB Hunt",
2764
+ "other_name": null,
2765
+ "required_fields": []
2766
+ },
2767
  {
2768
  "slug": "jcex",
2769
  "name": "JCEX",
2818
  "other_name": "",
2819
  "required_fields": []
2820
  },
2821
+ {
2822
+ "slug": "joyingbox",
2823
+ "name": "Joying Box",
2824
+ "other_name": null,
2825
+ "required_fields": []
2826
+ },
2827
  {
2828
  "slug": "js-express",
2829
  "name": "JS EXPRESS",
3505
  "other_name": "Новая Почта",
3506
  "required_fields": []
3507
  },
3508
+ {
3509
+ "slug": "nova-poshta-api",
3510
+ "name": "Nova Poshta API",
3511
+ "other_name": null,
3512
+ "required_fields": []
3513
+ },
3514
  {
3515
  "slug": "nova-poshtaint",
3516
  "name": "Nova Poshta (International)",
3541
  "other_name": "",
3542
  "required_fields": []
3543
  },
3544
+ {
3545
+ "slug": "ntlogistics-vn",
3546
+ "name": "Nhat Tin Logistics",
3547
+ "other_name": null,
3548
+ "required_fields": []
3549
+ },
3550
  {
3551
  "slug": "oca-ar",
3552
  "name": "OCA Argentina",
3577
  "other_name": "ODFL",
3578
  "required_fields": []
3579
  },
3580
+ {
3581
+ "slug": "olistpax",
3582
+ "name": "Olist Pax",
3583
+ "other_name": null,
3584
+ "required_fields": []
3585
+ },
3586
  {
3587
  "slug": "omniparcel",
3588
  "name": "Omni Parcel",
3663
  "other_name": "",
3664
  "required_fields": []
3665
  },
3666
+ {
3667
+ "slug": "pallet-network",
3668
+ "name": "The Pallet Network",
3669
+ "other_name": null,
3670
+ "required_fields": [
3671
+ "tracking_postal_code"
3672
+ ]
3673
+ },
3674
  {
3675
  "slug": "palletways",
3676
  "name": "Palletways",
3701
  "slug": "panther-order-number",
3702
  "name": "Panther Order Number",
3703
  "other_name": "Panther Group UK",
3704
+ "required_fields": []
 
 
3705
  },
3706
  {
3707
  "slug": "panther-reference",
3781
  "other_name": "ParcelPost",
3782
  "required_fields": []
3783
  },
3784
+ {
3785
+ "slug": "parceltopost",
3786
+ "name": "Parcel To Post",
3787
+ "other_name": null,
3788
+ "required_fields": []
3789
+ },
3790
  {
3791
  "slug": "parknparcel",
3792
  "name": "Park N Parcel",
3799
  "other_name": null,
3800
  "required_fields": []
3801
  },
3802
+ {
3803
+ "slug": "pb-uspsflats-ftp",
3804
+ "name": "USPS Flats (Pitney Bowes)",
3805
+ "other_name": null,
3806
+ "required_fields": []
3807
+ },
3808
  {
3809
  "slug": "pcfcorp",
3810
  "name": "PCF Final Mile",
3823
  "other_name": null,
3824
  "required_fields": []
3825
  },
3826
+ {
3827
+ "slug": "pickrr",
3828
+ "name": "Pickrr",
3829
+ "other_name": null,
3830
+ "required_fields": []
3831
+ },
3832
  {
3833
  "slug": "pickup",
3834
  "name": "Pickupp",
3891
  "tracking_postal_code"
3892
  ]
3893
  },
3894
+ {
3895
+ "slug": "plusuk-webhook",
3896
+ "name": "Plus UK Logistics",
3897
+ "other_name": null,
3898
+ "required_fields": []
3899
+ },
3900
  {
3901
  "slug": "poczta-polska",
3902
  "name": "Poczta Polska",
3951
  "other_name": "Romania Post",
3952
  "required_fields": []
3953
  },
3954
+ {
3955
+ "slug": "postaplus",
3956
+ "name": "Posta Plus",
3957
+ "other_name": "PostaPlus",
3958
+ "required_fields": []
3959
+ },
3960
  {
3961
  "slug": "poste-italiane",
3962
  "name": "Poste Italiane",
4204
  "other_name": null,
4205
  "required_fields": []
4206
  },
4207
+ {
4208
+ "slug": "royal-mail-ftp",
4209
+ "name": "Royal Mail",
4210
+ "other_name": null,
4211
+ "required_fields": []
4212
+ },
4213
  {
4214
  "slug": "royalshipments",
4215
  "name": "RoyalShipments",
4242
  },
4243
  {
4244
  "slug": "rrdonnelley",
4245
+ "name": "ePost Global",
4246
+ "other_name": null,
4247
  "required_fields": []
4248
  },
4249
  {
4372
  "other_name": "順豊快遞, SF",
4373
  "required_fields": []
4374
  },
 
 
 
 
 
 
4375
  {
4376
  "slug": "sfb2c",
4377
  "name": "SF International",
4450
  "other_name": "",
4451
  "required_fields": []
4452
  },
4453
+ {
4454
+ "slug": "shreeanjanicourier",
4455
+ "name": "Shree Anjani Courier",
4456
+ "other_name": null,
4457
+ "required_fields": []
4458
+ },
4459
  {
4460
  "slug": "shreenandancourier",
4461
  "name": "SHREE NANDAN COURIER",
4954
  "other_name": "TNT Express FR",
4955
  "required_fields": []
4956
  },
4957
+ {
4958
+ "slug": "tnt-fr-reference",
4959
+ "name": "TNT France Reference",
4960
+ "other_name": null,
4961
+ "required_fields": []
4962
+ },
4963
  {
4964
  "slug": "tnt-it",
4965
  "name": "TNT Italy",
5200
  "other_name": "USPS IV",
5201
  "required_fields": []
5202
  },
5203
+ {
5204
+ "slug": "vamox",
5205
+ "name": "VAMOX",
5206
+ "other_name": null,
5207
+ "required_fields": []
5208
+ },
5209
+ {
5210
+ "slug": "venipak",
5211
+ "name": "Venipak",
5212
+ "other_name": null,
5213
+ "required_fields": []
5214
+ },
5215
  {
5216
  "slug": "via-express",
5217
  "name": "Viaxpress",
5358
  "other_name": "",
5359
  "required_fields": []
5360
  },
5361
+ {
5362
+ "slug": "wyngs-my",
5363
+ "name": "Wyngs",
5364
+ "other_name": null,
5365
+ "required_fields": []
5366
+ },
5367
  {
5368
  "slug": "xde-webhook",
5369
  "name": "Ximex Delivery Express",
5386
  "tracking_postal_code"
5387
  ]
5388
  },
 
 
 
 
 
 
5389
  {
5390
  "slug": "xl-express",
5391
  "name": "XL Express",
5466
  "tracking_postal_code"
5467
  ]
5468
  },
5469
+ {
5470
+ "slug": "yodel-api",
5471
+ "name": "Yodel API",
5472
+ "other_name": null,
5473
+ "required_fields": []
5474
+ },
5475
  {
5476
  "slug": "yodel-international",
5477
  "name": "Yodel International",
includes/class-aftership-actions.php CHANGED
@@ -610,9 +610,13 @@ class AfterShip_Actions {
610
  public function save_tracking_items( $order_id, $tracking_items ) {
611
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
612
  update_post_meta( $order_id, '_aftership_tracking_items', $tracking_items );
 
 
613
  } else {
614
  $order = new WC_Order( $order_id );
615
  $order->update_meta_data( '_aftership_tracking_items', $tracking_items );
 
 
616
  $order->save_meta_data();
617
  }
618
  }
610
  public function save_tracking_items( $order_id, $tracking_items ) {
611
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
612
  update_post_meta( $order_id, '_aftership_tracking_items', $tracking_items );
613
+ update_post_meta( $order_id, '_aftership_tracking_number', $tracking_items[0]['tracking_number'] );
614
+ update_post_meta( $order_id, '_aftership_tracking_provider_name', $tracking_items[0]['slug'] );
615
  } else {
616
  $order = new WC_Order( $order_id );
617
  $order->update_meta_data( '_aftership_tracking_items', $tracking_items );
618
+ $order->update_meta_data( '_aftership_tracking_number', $tracking_items[0]['tracking_number'] );
619
+ $order->update_meta_data( '_aftership_tracking_provider_name', $tracking_items[0]['slug'] );
620
  $order->save_meta_data();
621
  }
622
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.aftership.com/
4
  Tags: woocommerce shipping,woocommerce tracking,shipment tracking,order tracking, woocommerce,track order,dhl,ups,usps,fedex,shipping,tracking,order status,carrier,courier,delivery
5
  Requires at least: 2.9
6
  Tested up to: 5.7
7
- Stable tag: 1.12.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -129,6 +129,10 @@ Tailor a dynamic branded tracking page. Upload promotional banner, logo, and fav
129
 
130
  == Changelog ==
131
 
 
 
 
 
132
  = 1.12.13 =
133
  * Update Readme.
134
 
4
  Tags: woocommerce shipping,woocommerce tracking,shipment tracking,order tracking, woocommerce,track order,dhl,ups,usps,fedex,shipping,tracking,order status,carrier,courier,delivery
5
  Requires at least: 2.9
6
  Tested up to: 5.7
7
+ Stable tag: 1.12.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
129
 
130
  == Changelog ==
131
 
132
+ = 1.12.14 =
133
+ * Update Courier list.
134
+ * Add _aftership_tracking_number for Compatible
135
+
136
  = 1.12.13 =
137
  * Update Readme.
138