What happens when we don't return "foxy to XML feed?

a9ka9k Member
in Bugs & Feature Requests edited October 2009
I ask because for the first time since we went live, we did that at 2009-10-07 18:25:03 UT.
We sent back "Email domain name appears to be incorrect", http status 200.
The XML data was never sent again.
Note we didn't send "foxy", we sent 60 chars.
So what does foxycart do when it doesn't get "foxy" back?
Should I have returned a different HTTP status?
It was a temporary error - DNS timeout problem.
Comments
  • lukeluke FoxyCart Team
    Hey a9k. We'll be improving the API in the future so we can ask for all the "unfed" transactions, but in the current version if will not be marked as "fed" so you'd have to pull them manually via the API.
  • brettbrett FoxyCart Team
    A bit of background:
    In previous versions, unfed transactions were "re-fed" a number of times until we gave up or you responded "foxy". With 051, the datafeed is instant, but unfed transactions are not re-fed if the initial feed fails.

    There are a few improvements to the API we need to make in order to make this a bit more sensical, like being able to pull multiple transactions (by date range, for example), and the ability to request unfed transactions.

    Also, we have thought about moving from the "foxy" for success to a more standard response of 200. So if you return 200, we mark it as fed. If you don't, we mark it as unfed. This is more in line with what other systems tend to do, and it's on our radar.
Sign In or Register to comment.