Hi @psorn
The Issue:
We were facing the same issue, the issue was nonce was not verifying correctly resulting in error “Bad Request”
The Fix:
In this file “wp-content/plugins/dhl-for-woocommerce/assets/js/pr-dhl.js” on line 299
Change this
var data = {
action: 'wc_shipment_dhl_gen_label',
order_id: woocommerce_admin_meta_boxes.post_id,
};
With this
var data = {
action: 'wc_shipment_dhl_gen_label',
order_id: woocommerce_admin_meta_boxes.post_id,
pr_dhl_label_nonce: $( '#pr_dhl_label_nonce' ).val()
};