Cannot get product list to load in WP

HomeForumsInterspire & BigCommerceCannot get product list to load in WP

This topic has 2 voices, contains 16 replies, and was last updated by  Jason 82 days ago.

Viewing 2 posts - 16 through 17 (of 17 total)
Author Posts
Author Posts
November 25, 2011 at 8:04 am #3765

Brent

Any chance this issue has been resolved?

February 24, 2012 at 9:45 am #4586

Jason

I just stumbled onto this thread while trying to debug the issue described (no products returned and a “401 not authorized” response from BC).

This issue appears to be related to the release of v2 of the BC API (see: http://www.bigcommerce.com/ecommerce-blog/api-v2-beta-requests-closed-will-be-available-to-everyone-shortly/), which happened late Oct/early Nov 2011.

I didn’t have v1 API docs handy so I can’t be positive, but it appears at least the following changes occurred between v1 and v2 of the API:

* Authentication is performed via the Authentication header (v2) using base64 encoding of the username/api token rather than sending unencoded in the body of the request (v1)
* The products list request is performed via GET (v2) rather than POST (v1)
* Content type header is required (v2) so the API knows how to return the data (JSON vs XML)
* Changes in the response structure occurred between v2 and v1.

Taking into account the above, I was able to modify the plugin to authenticate and retrieve products properly, however additional changes are needed to make the plugin fully functional.

Jason
[email protected]
http://washmomedia.com

Viewing 2 posts - 16 through 17 (of 17 total)
Reply To: Cannot get product list to load in WP
Your information:






<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>