GithubHelp home page GithubHelp logo

Comments (15)

ngolatka avatar ngolatka commented on May 24, 2024 1

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.

ngolatka avatar ngolatka commented on May 24, 2024

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.

mam08ixo avatar mam08ixo commented on May 24, 2024

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.

YiffyToys avatar YiffyToys commented on May 24, 2024

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.

ngolatka avatar ngolatka commented on May 24, 2024

@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.

YiffyToys avatar YiffyToys commented on May 24, 2024

from dhl-shipping-m2.

YiffyToys avatar YiffyToys commented on May 24, 2024

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.

YiffyToys avatar YiffyToys commented on May 24, 2024

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).

Screenshot_2020-11-14 New Shipment Shipments Operations Sales Magento Admin

from dhl-shipping-m2.

ngolatka avatar ngolatka commented on May 24, 2024

@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.

YiffyToys avatar YiffyToys commented on May 24, 2024

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.

ngolatka avatar ngolatka commented on May 24, 2024

@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.

YiffyToys avatar YiffyToys commented on May 24, 2024

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.

ngolatka avatar ngolatka commented on May 24, 2024

@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.

YiffyToys avatar YiffyToys commented on May 24, 2024

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.

YiffyToys avatar YiffyToys commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.