Comments (15)
Alright, then let's do what @mam08ixo suggested:
In the current version 1.2.0, an inconsistency occurs when the consumer selects a parcel station and then removes it again. This issue may or may not be related to the reporter's observation.
I suggest waiting for the upcoming release to see if it fixes the error.
from dhl-shipping-m2.
Hello @YiffyToys
Where exactly is that checkbox you mentioned? I can only see a button "Find Parcel Station" which leads to the map.
If I close the map without selection anything, the regular shipping address will be used.
If I select something in the map, there's still no checkbox like "Parcel station: yes/no" in the checkout.
from dhl-shipping-m2.
In the current version 1.2.0, an inconsistency occurs when the consumer selects a parcel station and then removes it again. This issue may or may not be related to the reporter's observation.
I suggest waiting for the upcoming release to see if it fixes the error.
from dhl-shipping-m2.
We do not know exactly how the user has created that order in the checkout process.
Just what details the order contained and how we could work around it.
from dhl-shipping-m2.
@YiffyToys What happens if you create a test-order like @mam08ixo described? Select a parcel station, then remove it, then place the order.
Does that provoke the same error?
from dhl-shipping-m2.
from dhl-shipping-m2.
Just for informational purposes. Another user just managed to trigger this. Workaround works flawlessly once you know what to look for.
from dhl-shipping-m2.
Looks like the same exception also happens with GENUINE Packstation delivery addresses.
DHL Recipient Street Edit
Street Name
Packstation
Street Number
XXX
Supplement
XXXXXXXXX
The interesting part is that the DHL Postnummer is missing in the postage-creations-dialog (screenshot attached).
from dhl-shipping-m2.
@YiffyToys Do you mean that you cannot create ANY shipments to DHL Packstations?
That would be strange. Also, I cannot confirm that. It works fine on my test-system.
I don't see the error Undefined index: locationType ...
in the log either.
EDIT:
Now I get what you did. You manually entered "Packstation 123" as street name and house number. I tried that as well, but still don't see the Undefined index: locationType ...
. Yes, the DHL Postnummer isn't displayed "nicely" in the shipping popup, but that shouldn't be a blocking issue.
Note that if you do it like this, you probably need to uncheck "An eine Packstation liefern" in the admin panel. Why? Because our DHL module will look for the Packstation info and DHL Postnummer in a different place, not in street name, house number and supplement.
from dhl-shipping-m2.
We have a successfull Packstation order from 2020-11-11 and the problematic one from 2020-11-13.
So it's not all Packstation cases.
We could find out that the problematic customer is a returning customer who has the Packstation as his stored delivery address since 2015.
So he likely never used the new Packstation-Picker during checkout and thus no additional data from that picker has been added.
(It may very well even be a migrated customer from Magento 1.x .)
We also played around with the broken order and it seems the key "customerPostnumber" is also missing in $locationData.
from dhl-shipping-m2.
@YiffyToys Does that mean you have exactly one customer that is affected by this problem?
IMHO, modifying the module to catch such rare cases seems a bit overkill, don't you think? Wouldn't it be easier to correct the information in the customer's account?
from dhl-shipping-m2.
No, that's just the first one where it happened for a Packstation delivery address as opposed to a regular address.
I can't find out if the other customers also used stored addresses but it is possible that this may be a cause.
from dhl-shipping-m2.
@YiffyToys Can you create a few test-customer accounts with the variations you know and check under which exact circumstances the problem occurs? That would probably help us analyzing the problem.
And let's not forget there's a new release coming soon. Might be worth a shot to check if the problems are still present after the update.
from dhl-shipping-m2.
Already working on it.
Currently testing if a stored delivery address in conjunction with Paypal express checkout may do this. But that's hard to test without making an actual payment that may get us flagged.
from dhl-shipping-m2.
Haven't been able to reproduct this for quite a while and there is a workaround.
I'll just close the issue.
from dhl-shipping-m2.
Related Issues (20)
- Shipping Label Automation send mail HOT 10
- Doesn't print "supplement" part of street address HOT 2
- Feature request: Auslieferungsnachweis HOT 4
- Shipping labels in Magento 2.4.4 do not show up in Magento when created by cronjob HOT 4
- SQL error when querying customer orders with GraphQL HOT 2
- Weird CSS errors HOT 4
- CN22 HOT 3
- Error while enable modules HOT 1
- [Future] Hyva Combat Module / Checkout HOT 2
- PSR Log ^1.1|^2|^3 HOT 2
- Remove references to Zend_Measure_Weight HOT 3
- [Future] Editable Delivery Location
- Class not found errors on Magento 2.4.6 HOT 1
- DHL module breaks 3rd party module after Update to newest version HOT 1
- Error: Valid postal code format after UPU HOT 6
- Manual insertion of a tracking number HOT 9
- uninstallation of dhl/shipping-m2 HOT 11
- Track this shipment link
- DHL Module with MSI Enabled HOT 3
- Incompatibility with Magento 2.4.7 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dhl-shipping-m2.