Giter Club home page Giter Club logo

Comments (7)

sjcallender avatar sjcallender commented on August 11, 2024

Are you seeing any errors logged within ShipStation and/or Craft?

from shipstation-connect.

tadward avatar tadward commented on August 11, 2024

No errors logged in Craft when looking at the logs. Nothing in ShipStation either.

from shipstation-connect.

sjcallender avatar sjcallender commented on August 11, 2024

Odd. Can you please send your composer.json + composer.lock files, a database backup from the server where this is happening, and a zip of the config/project/ folder, over to [email protected]? We can try to look into it from there.

from shipstation-connect.

johnnynotsolucky avatar johnnynotsolucky commented on August 11, 2024

@tadward can you confirm that ShipStation is definitely sending a shipnotify request to your application?

If so, are you able to you show the exact data that ShipStation sends to your application? Specifically I'd like to see the data for carrier, service and tracking_number.

Please sanitise the data so that tracking number and order number are fake, or only match orders in some test environment. Also note that ShipStation sometimes sends SS-UserName and SS-Password as query params in the request.

They generally send the data as query params:

$BASE_URL/actions/shipstationconnect/orders/process?action=shipnotify&order_number=<order #>&carrier=<carrier>&service=<service>&tracking_number=<tracking #>

If you need to, you can log each request URL and look for the shipstation logs once you've fired off a shipnotify notification from ShipStation

Craft::debug('Request URL: '. Craft::$app->request->url);

from shipstation-connect.

tadward avatar tadward commented on August 11, 2024

@johnnynotsolucky I am not sure how to confirm what ShipStation is sending and not sending.

from shipstation-connect.

tadward avatar tadward commented on August 11, 2024

This looks to be an issue with GLS and ShipStation and not the plugin. Orders are coming back to Craft and being marked as Shipped.

One last question, what is the delay when orders in SS are marked as Shipped to be pushed to Craft with the Shipped Status and tracking info updated?

from shipstation-connect.

johnnynotsolucky avatar johnnynotsolucky commented on August 11, 2024

@tadward AFAIK there isn't (much of) a delay. I think that the requests are fired as part of the flow in ShipStation. In Craft, once the request is received, the data is updated immediately.

from shipstation-connect.

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.