Hello,
I’ve checked DPD pickup points (France) for duplicates and didn’t find any.
- Every
#wc_shipping_dpd_parcels_terminal option
has unique value.
- Cron jobs are running every minute, WordPress virtual cron is disabled.
- There are no 500 error responses for /wp-cron.php?doing_wp_cron request in apache access log.
- There are no errors in PHP logs.
- There are no fatal errors in WooCommerce logs.
There are exactly 14259 option elements inside DPD pickup point selector, and also 14259 unique option values.
I got this numbers by running this code on checkout page in browser console when DPD pickup points are selected. Country field needs to be set to France.
var values = jQuery('#wc_shipping_dpd_parcels_terminal').find('option').map(function() { return jQuery(this).val(); }).toArray()
console.log('Total values:', values.length)
var uniques = values.filter(function(value, i) {
return values.indexOf(value) === i;
})
console.log('Total unique values:', uniques.length)
Also, I’ve checked number of pickup points returned by DPD API.
I’ve got 14267 pickup points by sending a POST request to this endpoint:
https://integration.dpd.lv/ws-mapper-rest/parcelShopSearch_?username=$username&password=$password&country=FR&fetchGsPUDOpoint=1&retrieveOpeningHours=0
I guess the problem is not related to our system. Pickup points are not stacking.
Best Regards
-
This reply was modified 3 years, 5 months ago by
fakemeta.
-
This reply was modified 3 years, 5 months ago by
fakemeta.
-
This reply was modified 3 years, 5 months ago by
Yui.