Forums / Addon Shipping Modules / Shipstation 409 error

Shipstation 409 error

Views: 2,438

Results 1 to 6 of 6
21 Aug 2025, 3:58 PM
#1
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Shipstation 409 error

redsautorehab.com
zc 2.0
php 8.1

I have been getting a 409 error from shipstation for a while, and I can normally hit refresh, but now it's not working at all. I contacted them, and they claim it's an issue with either the server, or zencart. I am running out of things to try to get it to work.

Running this command, outputs all of the orders for that timeframe: https://redsautorehab.com/shipstation_zc.php?SS-UserName=**********&SS-Password=********&action=export&start_date=08/02/2025%2005:30&end_date=08/20/2025%2022:53

No clue where to check next. 409 error isn't very well documented.

21 Aug 2025, 4:29 PM
#3
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipstation 409 error

Yes, I updated to the newest version, and am still getting the same error.

22 Aug 2025, 7:37 PM
#4
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipstation 409 error

No clue what is going on, but first they blame the issue on zen cart, or my host, but they claim that it's fixed now, and it is. They claim they did a deep refresh on their end, which apparently resolved the issue. I have been having issues on and off with shipstation for years.

28 Aug 2025, 12:58 AM
#5
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipstation 409 error

It is back to setting the 409 error, support has no clue why. I just checked the log folder, and since Friday, there have been two files stored, having to do with shipstation. I have the latest version of shipstation.php installed. Any insight would be greatly appreciated.

[27-Aug-2025 18:40:18 America/Boise] Request URI: /shipstation_zc.php?SS-UserName=**********&SS-Password=********&action=export&start_date=08/02/2025%2005:30&end_date=08/20/2025%2022:53, IP address: 66.249.83.135, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /home1/redsauto/public_html/includes/classes/class.zcPassword.php(58): explode()
#2 /home1/redsauto/public_html/includes/classes/class.zcPassword.php(77): zcPassword->detectPasswordType()
#3 /home1/redsauto/public_html/includes/functions/password_funcs.php(15): zcPassword->validatePassword()
#4 /home1/redsauto/public_html/shipstation_zc.php(321): zen_validate_password()
#5 /home1/redsauto/public_html/shipstation_zc.php(56): ShipStationListenerForZenCart->userAuthentication()
#6 /home1/redsauto/public_html/shipstation_zc.php(31): ShipStationListenerForZenCart->__construct()
--> PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home1/redsauto/public_html/includes/classes/class.zcPassword.php on line 58.

[27-Aug-2025 18:40:18 America/Boise] Request URI: /shipstation_zc.php?SS-UserName=**********&SS-Password=********&action=export&start_date=08/02/2025%2005:30&end_date=08/20/2025%2022:53, IP address: 66.249.83.135, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /home1/redsauto/public_html/includes/classes/class.zcPassword.php(82): password_verify()
#2 /home1/redsauto/public_html/includes/functions/password_funcs.php(15): zcPassword->validatePassword()
#3 /home1/redsauto/public_html/shipstation_zc.php(321): zen_validate_password()
#4 /home1/redsauto/public_html/shipstation_zc.php(56): ShipStationListenerForZenCart->userAuthentication()
#5 /home1/redsauto/public_html/shipstation_zc.php(31): ShipStationListenerForZenCart->__construct()
--> PHP Deprecated: password_verify(): Passing null to parameter #2 ($hash) of type string is deprecated in /home1/redsauto/public_html/includes/classes/class.zcPassword.php on line 82.
[27-Aug-2025 18:40:18 America/Boise] Request URI: /shipstation_zc.php?SS-UserName=**********&SS-Password=********&action=export&start_date=08/02/2025%2005:30&end_date=08/20/2025%2022:53, IP address: 66.249.83.135, Language id 1
#0 /home1/redsauto/public_html/shipstation_zc.php(321): zen_debug_error_handler()
#1 /home1/redsauto/public_html/shipstation_zc.php(56): ShipStationListenerForZenCart->userAuthentication()
#2 /home1/redsauto/public_html/shipstation_zc.php(31): ShipStationListenerForZenCart->__construct()
--> PHP Warning: Undefined array key "admin_pass" in /home1/redsauto/public_html/shipstation_zc.php on line 321.
30 Sep 2025, 5:21 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Shipstation 409 error

vanhorn_s:

It is back to setting the 409 error, support has no clue why. I just checked the log folder, and since Friday, there have been two files stored, having to do with shipstation. I have the latest version of shipstation.php installed. Any insight would be greatly appreciated.

[27-Aug-2025 18:40:18 America/Boise] Request URI: /shipstation_zc.php?SS-UserName=**********&SS-Password=********&action=export&start_date=08/02/2025%2005:30&end_date=08/20/2025%2022:53, IP address: 66.249.83.135, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /home1/redsauto/public_html/includes/classes/class.zcPassword.php(58): explode()
#2 /home1/redsauto/public_html/includes/classes/class.zcPassword.php(77): zcPassword->detectPasswordType()
#3 /home1/redsauto/public_html/includes/functions/password_funcs.php(15): zcPassword->validatePassword()
#4 /home1/redsauto/public_html/shipstation_zc.php(321): zen_validate_password()
#5 /home1/redsauto/public_html/shipstation_zc.php(56): ShipStationListenerForZenCart->userAuthentication()
#6 /home1/redsauto/public_html/shipstation_zc.php(31): ShipStationListenerForZenCart->__construct()
--> PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home1/redsauto/public_html/includes/classes/class.zcPassword.php on line 58.

[27-Aug-2025 18:40:18 America/Boise] Request URI: /shipstation_zc.php?SS-UserName=**********&SS-Password=********&action=export&start_date=08/02/2025%2005:30&end_date=08/20/2025%2022:53, IP address: 66.249.83.135, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /home1/redsauto/public_html/includes/classes/class.zcPassword.php(82): password_verify()
#2 /home1/redsauto/public_html/includes/functions/password_funcs.php(15): zcPassword->validatePassword()
#3 /home1/redsauto/public_html/shipstation_zc.php(321): zen_validate_password()
#4 /home1/redsauto/public_html/shipstation_zc.php(56): ShipStationListenerForZenCart->userAuthentication()
#5 /home1/redsauto/public_html/shipstation_zc.php(31): ShipStationListenerForZenCart->__construct()
--> PHP Deprecated: password_verify(): Passing null to parameter #2 ($hash) of type string is deprecated in /home1/redsauto/public_html/includes/classes/class.zcPassword.php on line 82.

> ```
[27-Aug-2025 18:40:18 America/Boise] Request URI: /shipstation_zc.php?SS-UserName=**********&SS-Password=********&action=export&start_date=08/02/2025%2005:30&end_date=08/20/2025%2022:53, IP address: 66.249.83.135, Language id 1
#0 /home1/redsauto/public_html/shipstation_zc.php(321): zen_debug_error_handler()
#1 /home1/redsauto/public_html/shipstation_zc.php(56): ShipStationListenerForZenCart->userAuthentication()
#2 /home1/redsauto/public_html/shipstation_zc.php(31): ShipStationListenerForZenCart->__construct()
--> PHP Warning: Undefined array key "admin_pass" in /home1/redsauto/public_html/shipstation_zc.php on line 321.

Those messages imply that the Admin Username ("SS-UserName" parameter in the URL) doesn't match an existing Admin user username configured in your Admin. In those cases it should have been sending a 401.

That said, this specific log shouldn't happen, so I've posted v2.1 which avoids triggering the log.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.