shipperhq / module-shipper

Base ShipperHQ Repo
Open Software License 3.0
21 stars 20 forks source link

Incorrect Dispatch Dates #107

Closed pbaum83 closed 2 years ago

pbaum83 commented 2 years ago

We have received a lot of orders with incorrect Sunday dispatch dates using the latest magento module 20.45.5. I have contacted the shipper support team and they confirmed the correct dates were returned, but we have over 100 orders already with Sunday dispatch dates so this isn't an infrequent problem. Is this most likely related to a possible front-end bug on our end or is this an issue others are experiencing?

Sep 18, 2021 10:43:58 PM Processing Customer Not Notified Forever Companies: Package #1 Box name: SHQ_CUSTOM : 0x0x0: W=1: Value=0: SKU=1 * REMOVED 1lb; Transaction ID: SHQ_20210919_0257_ip_10_0_100_59_23696351

Sep 20, 2021 3:02:42 AM Processing Customer Not Notified Forever Companies: Package #1 Box name: SHQ_CUSTOM : 0x0x0: W=3: Value=0: SKU=1 REMOVED 1lb; SKU=1 LREBXX0021XXXWHXX0048TW014WX0800 1lb; SKU=1 * REMOVED 1lb; Transaction ID: SHQ_20210920_0801_ip_10_0_100_52_08045006

Sep 20, 2021 6:48:22 PM Processing Customer Not Notified Forever Companies: Package #1 Box name: SHQ_CUSTOM : 0x0x0: W=1: Value=0: SKU=1 * REMOVED 1lb; Transaction ID: SHQ_20210920_2346_ip_10_0_100_72_1949299

Sep 23, 2021 2:41:33 PM Quote Customer Not Notified Sales person meggener Forever Companies: Package #1 Box name: SHQ_CUSTOM : 0x0x0: W=2: Value=0: SKU=2 * REMOVED 2lb; Transaction ID: SHQ_20210923_1941_ip_10_0_100_190_57549506

From what I can see it happens to all of our payment types and I am being told the API is returning correct dates so where should I be looking where your module sets the dispatch date? Also, from a little debugging I did it seems that the front-end in checkout isn't setting the delivery dates is that correct in that a backend process happens and the dates are then pulled again and set on the order? That would rule out the potential for a JavaScript related issue and narrow it down for me.

wsadasmit commented 2 years ago

Hi @pbaum83 ,

The dispatch and delivery dates are returned on the response from ShipperHQ (as can be seen in your Magento 2 ShipperHQ Logs), and then are stored into the tables mentioned in this Integration document from our KB. If the correct details are stored to these tables but you are still seeing them display incorrectly elsewhere, we can look into why that may be. I don't think there's any unresolved issues with the Magento Order Grid display currently.

I see you have been working with support to investigate this delivery date issue, where previously we determined this was seen in the presence of unsupported payment methods, which is a known incompatibility. I'll have someone on the team reach out to continue that conversation so we can continue to investigate if you are still seeing this issue without such unsupported methods present.

pbaum83 commented 2 years ago

Thanks, yes we're seeing the issue with standard Braintree orders, these are the payment codes I've noted:

  1. braintree_paypal (I believe these to be express checkout)
  2. braintree (native Braintree card payments)
  3. affirm_gateway
  4. multipay (this is our custom payment method, is a standard checkout flow payment plugin)