Forums / Addon Shipping Modules / Shipstation not connecting

Shipstation not connecting

Views: 2,971

Results 1 to 8 of 8
13 May 2021, 8:25 PM
#1
coastalpond avatar

coastalpond

New Zenner

Join Date:
Feb 2021
Location:
Georgia
Posts:
11
Plugin Contributions:
0

Shipstation not connecting

Hello, I'm new to zencart. don't know programing, so please bear with me. I'm using zen ver 1.5.7 and installed the shipstation mod straight from both zen and from Shipstation and followed the direction to a T and still can not get it to work. I keep getting this error when I click on the test connection in Shipstation. I created a logon just for shipstation even.

Store Configuration
We received an error testing the Zen Cart store: The remote server returned an error: (404) Not Found.

Yes I have put the shipstation_zc.php in the root. Have not made any mod changes

Thanks for your help, I know somebody has run into this before. sooo

13 May 2021, 9:53 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Shipstation not connecting

Inside ShipStation website's settings, you provide the URL to your store's shipstation_zc.php file. Does that actually match where you put the file?

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

13 May 2021, 11:40 PM
#3
coastalpond avatar

coastalpond

New Zenner

Join Date:
Feb 2021
Location:
Georgia
Posts:
11
Plugin Contributions:
0

Re: Shipstation not connecting

DrByte:

Inside ShipStation website's settings, you provide the URL to your store's shipstation_zc.php file. Does that actually match where you put the file?

Yes I have used both the one on Zencart and the one supplied by Shipstation. Same results everytime. The file has been placed in the root folder.

13 May 2021, 11:52 PM
#4
coastalpond avatar

coastalpond

New Zenner

Join Date:
Feb 2021
Location:
Georgia
Posts:
11
Plugin Contributions:
0

Re: Shipstation not connecting

DrByte:

Inside ShipStation website's settings, you provide the URL to your store's shipstation_zc.php file. Does that actually match where you put the file?

Yes I have used both the one on Zencart and the one supplied by Shipstation. Same results everytime. The file was placed in the root folder. When I try to go they by inputting into the address bar of web browser,

http://www.mydomainname.com/shipstation_zc.php. I get this

404 Not Found
Please forward this error screen to www.mydomainname.com's WebMaster.
The server cannot find the requested page:

so I thought mmm. I then place the file in the public_HTML root but that didn't work either. I got

This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.

When I went back to Shipstation to "test connection".

I got

Store Configuration
We received an error testing the Zen Cart store: The remote server returned an error: (404) Not Found.
soo place the file back at the main root.

14 May 2021, 6:15 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Shipstation not connecting

The "root" folder of your store would be the same place where ipn_main_handler.php is found.
Is that the directory you've put it in?

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

14 May 2021, 2:42 PM
#6
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Shipstation not connecting

I use the sister company Shipworks.

The plugin folder structure is different than ShipStation, but just in case the Shipworks folder structure is how ShipStation should be, note that for Shipworks, the main .php file is dropped in the admin folder like so:

public_html / admin / shipworks.php

That said, if you were to drop it in as public_html / shipstation.php and troubleshoot from there, I think you would have much more success than dropping it in one folder above that.

14 May 2021, 3:17 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,853
Plugin Contributions:
18

Re: Shipstation not connecting

One site we host has a problem with shipworks and PHP 7.4 but, on point....

I think your problem might partially be that your site is not fully secure and whether or not you have any 301 directs in place that go to links not covered by your SSL.

Secure the entire site, make links match your SSL (it uses the www.) and make sure their are no redirects sending you from www to non-www.

On the road currently or I would give more info but, lots of pertinent stuff in the docs. Start at https://docs.zen-cart.com/user/installing/enable_ssl/

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

14 May 2021, 6:43 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Shipstation not connecting

As long as the file is placed in the same directory as your ipn_main_handler.php (that folder also contains ajax.php, nddbc.html, vbv_learn_more.html),
then telling ShipStation's setup to use https://www.your_store_domain.com/shipstation_zc.php should be fine.

And, visiting https://www.your_store_domain.com/shipstation_zc.php in your browser should not give you a 404 error. (It might give a blank page, but that would be normal, because the file isn't designed to be used/read/accessed by your browser.)

Of course, if your store doesn't use the "www." prefix, then exclude that. I only included it above for explanatory purposes.

Also, I just updated the plugin to incorporate some fixes for compatibility with Zen Cart v1.5.7:
https://www.zen-cart.com/downloads.php?do=file&id=1324

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