Is ShipStation allowing nopCommerce as one of their platforms to connect to?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 года назад
Thanks for the info.  I did try the ngrok but probably did not set it up correctly?  At least I am getting a different error now, "Request failed with status code 401"

My "understanding" is that you would replace the web hook with ?:
    http://84ef-75-108-19-10.ngrok.io/Plugins/ShipStation/Webhook
As ngrok shows:
  Forwarding                    http://84ef-75-108-19-10.ngrok.io -> http://localhost:5000
When I test out "http://84ef-75-108-19-10.ngrok.io" it does open my localhost web page.

ngrok reports Ok and various tests but fails on the webhook
GET /Plugins/ShipStation/Webhook                                                    500 Internal Server Error

When I try "http://localhost:5000/Plugins/ShipStation/Webhook" locally I get:
    We're sorry, an internal error occurred.
   Our supporting staff has been notified of this error and will address the issue shortly.
2 года назад
Yes it needs some parametetrs in the URL - it should display a better error :(

Anyway try https://yourwebsite/Plugins/ShipStation/Webhook?SS-UserName=Test&SS-Password=1234action=export
This might not return anything but it should call the Webhook routine

See the documetnation
https://help.shipstation.com/hc/en-us/articles/360025856192-Custom-Store-Development-Guide#get-call-0-4
GET Endpoint URL
ShipStation will use the following URL format when requesting order information from the Web Endpoint you build:
[Your Web Endpoint]?action=export&start_date=[Start Date]&end_date=[End Date]&page=1
2 года назад
Thanks for the info but the base webhook URL should still be
     https://yourwebsite/Plugins/ShipStation/Webhook
The parameters are what nopCommerce should be sending, right?
I would assume that the test connection button is still just looking for the base webhook URL?
I am guessing that you are suggesting adding the parameters to test out the nopCommerce side of things?

Again, thanks for your support.
2 года назад
NopWoody wrote:
The parameters are what nopCommerce should be sending, right?

No the parameters are added to the Webhook url by Shipstation and this is sent to nopCommerce

NopWoody wrote:
I would assume that the test connection button is still just looking for the base webhook URL?

No as above – I guess it is https://yourwebsite/Plugins/ShipStation/Webhook?SS-UserName=Test&SS-Password=1234action=export
but I don’t know for sure (need a monitor or an information log to confirm)

NopWoody wrote:
I am guessing that you are suggesting adding the parameters to test out the nopCommerce side of things?

Yes, if you are still trying to work out why you can’t get a connection then you can at least test the webhook works. Using this method I worked out v1.13 had an error and v1.16 worked.

I don’t know but I an guessing that in production Shipstation will change the dates so it does not read every order each time it updates the data. So it will start with no dates then after it reads the set of orders it then store the greatest order created date and then each time after it sends the new start dates and only reads orders creates since that date
2 года назад
NopWoody wrote:
...
ngrok reports Ok and various tests but fails on the webhook
GET /Plugins/ShipStation/Webhook                                                    500 Internal Server Error
...

Do the test again, and if 500 error, then check the System > Log for errors.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.