Hello,

The URL to the XML page (site.com/shipstation/api-endpoint) is returning this error:
"Error: Invalid action, or no action defined"

Any ideas what to do?

Thanks,
Nimi

Comments

szczesuil’s picture

You need to make sure that the store set up on the shipstation side uses the credentials you've used in your drupal setup. This error means that you haven't successfully made the connection. On the shipstation side create a new store in your marketplace as the user use the same ShipStation Username and Password that you created on the Drupal side, then test the connection.

nimi’s picture

When you say "create a new store in your marketplace", do you mean that in my Shipstation account I should go to:
Settings > Selling Channels > Connect a store or marketplace

The only option have there is to select "Custom Store", but then I they ask for a "URL to Custom XML Page".

If I insert the link "http://DrupalStore.com/shipstation/api-endpoint" I get the error:
"We received an error testing the Custom store: An error was encountered while attempting to test the connection"

Could you please describe the correct process I should follow to link my drupal shop to Shipstation?

Thanks,
Nimi

nimi’s picture

Anyone?

nimi’s picture

Would really appreciate some guidance here... Where is the XML page that's supposed to connect with Shipstation.com?

Nimi

szczesuil’s picture

Hi. It is explained on page 3 of the SHIPSTATION CUSTOM STORE DEVELOPMENT GUIDE.

To connect your store to ShipStation, fill in the "URL to custom XML page" field in the Custom Store Setup dialog with the following URL: http://www.yourstore.com/shipstation/api-endpoint

Shipstation will tack on an action when it makes a request, e.g., https://www.yourstore.com/shipstationxml.php?action=export&start_date=01...
28&end_date=01%2f23%2f2012+17%3a33&page=1

For orders to display there must be orders made within the date range specified in the action. If you connect via Shipstation and it cannot pull your orders because they were made prior to the start date they send, just email them and give them the date ranges of the orders you still need pulled and they'll take care of it.

I hope this helps.

jim.m’s picture

Status: Active » Postponed (maintainer needs more info)
iwhitcomb’s picture

Version: » 7.x-1.0
Status: Postponed (maintainer needs more info) » Needs work

I'm having a similar issue.

Every time I fill in my custom store information inside ShipStation and test the connection it returns an error. "We received an error testing the Custom store: Error: You must enter a username and password." I've made doubly sure that I'm using the correct credentials as entered on the module configuration page.

iwhitcomb’s picture

There is a fatal error when ShipStation is attempting to connect.

I'm getting a "The website encountered an unexpected error. Please try again later." when visiting the following URL...

http://www.example.com/shipstation/api-endpoint?SS-UserName=foo&SS-Passw...

andyg5000’s picture

Version: 7.x-1.0 » 7.x-1.x-dev

@iwhitcomb

This is because the current module doesn't catch entity metadata wrapper exceptions. Can you test #2769481: Clean up commerce_shipstation_export_orders() to see if it fixes your issue?

andyg5000’s picture

Status: Needs work » Fixed

Should no longer be an issue on -dev. Rolling new release soon.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.