shadimanna / dhl-logistic-services-for-woocommerce

6 stars 9 forks source link

Fix myaccount issue - 403 response #220

Closed Abdalsalaam closed 3 months ago

Abdalsalaam commented 3 months ago

i found out that adding 'user-agent' to the WP_API_Driver's send function will fix it, I think DHL block requests that comes with default WordPress user agent (tested by postman and blocked) maybe they blocked WordPress agent or they don't accept ";" on it (I also tested it and found that when i remove it it works!)