Transaction XML Datafeed broken?

AntonSyAntonSy Member
in Bugs & Feature Requests edited May 30
Hi,

This was working fine a few months ago, but I'm currently retesting this functionality (Using FoxyCart Store version 2.0) and it seems to be broken. The data which gets sent to my feed consumer as the value of the FoxyData parameter is the following - which apparently isn't a valid URL-encoded string (or at least, no URL-decoder knows how to decode it into printable characters). What is going wrong?

Thanks,
Anton

[Truncated version, because this forum won't allow such a long post]

%AF%C9%F0%FA%00%13%A6%27%EB%8Bi%8C%B8%EA%E6o%5Dy%9D%9D%CAk%60KS%27%C14%A1t%F8%A7r%87%09%D1%7E%83a%FD%F1%D7%DE%84%D1%14%AA%19l%D7%96%B5%BC%0FVy%ABO%5E%CB%A7%BD%D6%DB%A8%0E%0BK%9B%CA%05u%B4-%9A%C4U%25M%09%9F%99%AB%CC%A1B%C2%E8N%D1u%BB%89r%E2%DD5I%9F%09%7F4%C6g%E3.F%CB%D4koMiI+DV3v%0A%DB%9D%16%C6%05D%2B23%21%AEBBo%D0%9A%F1%90%7C%CF%2F9%28%8E%F4%B3%01%AD%88%E1k%01J%C9_%D9%3C%AC%C6%B1%8D%A6p%DD%0Ch%5E%C3%82%9Ewq%C2%B3%A6I5%D7%9B%2C%0Ee%D8o%90%3A%A92%3D%F5w%CD.%FC%1Db%1EC%BD%BB%C0%0F%14p%9B%8C5%BE%04%A1S%CB%B4%EA%E3%3D%FF%C5%02%9EP%29%5BuB%03%BABm%DAL%C5%1D%CA%F8%7CX%09%3B%D8%87%89%27%F3%AFC1OO%BA%9F%A6%03%D7l%BF%8D%BA%E9%26%1B_%5BF%E5%81%A2e%CCv%25%C3%C40%273%FCm%BAE%F4%22%BAA%C0%C3%1C%D2%96%B9h%C0Pk%16%EC%FD%E8%3D%3E%00A%B821%FD%8D%24%AC%C7%DB%949%D0%7F%3Fs%E1%EE%F3%3B%E3%40%27%8E%13%5B%25r%F0%60%F2%93%EF%2B%16%AF%FF%E2%8F%95b%B8%3B%EB%26%1Flm%F4%FC%87%8D%15%C7e%0B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FB%98%BE%E5%29kb%F3%0D%E8%7E%1CHN%94%BD%97%AE%E4.%00%EAW%AAu%40%28%BDz%3CH%A7%DBX%B7M%A1%2F%B2%1D%C2%C6%E0+%C1%CC%A3%3EKJ%F6%A0J%02%21B%03l%07%F3%26%8B%09%E6%F5D%9E%80z%2F%FA%29%D3%88%DB%9D%BC%F2%B1%A8%197%D4%84%A49%EA%E56%AB%40%A6%89%DA%FF%BF%E3+l3x%CB%98%DA%EB%C4%CD%1D%D2%C5%F5Wj%2Aq%D5%89_%A1hB%C6%F7%84fZ%81O4%29%0F%3E%BB%C7%5D%80%98D%1BS%B4T%D9%0A%0D%C6%F6%3C%60%99%92%B2%10T%F2%F6%EEc%98%98%D4%3C3%88%3A%D7%A3%A2%1C%CC%E7%25i%AE%3F%14%2F%D8Xq%1E%60%7D%90%A0%C3%BC%27%F0%93%97%9A%CC%C7%82%FBA%9E%F3%EC%21%87%C8q%D3%F7%0C%953I7%93%88%87%91%1A%09%3D%C7%E7%FDx%9D%24%8C%0EE%26M%EF%17%F9%0FQ%85%AA%B4%26%8B%CE%BB%91%2F%AC%9F%D0%FD%CDe%BB%1A%90%FE%DE%A9%ADy%A7%CD%7DR%FA%AB%DFO%99%9C%16%FA%C2%28%F6%8A%91%B0%97%93%2F%86w%3CUj%DF%B3F%00%CCj%0E2%2B%B1%09%23e%9F%23%A2A%260%D9%29%AD%25%C9%99%B0%87gA%11%90%03%C9%00%AC%E8z%93Br%0E%25%F8%08%E3ER%D3%27%B6%B3%0C%9F%17%ED%14%5D%B9%0B%F3%BE%08%F4z%AA%0E%E5%E2%02%F9%B6p%80T%CE%3D%F7%D3%98%C2%96b%28P%97%BE%E3%EC%A3%18%A5%95%EB%10%87gv%1E%C2%81%E6Q%1E%1F%ACp%E4J%D9%A2%C8%95%B01%EC%F9l0%7Fh%13%BF%92E%C9
Comments
  • fc_adamfc_adam FoxyCart Team
    @AntonSy,

    Sorry to hear you're having issues decrypting the datafeed.

    The first thing to confirm is that your store's API key/store secret still matches the key within your datafeed endpoint. You can review that value from the "advanced" settings page of your store's Foxy administration. If it used to work, but now doesn't - there's a good chance your store's key has changed at some point since you last run it, and needs to be updated in your endpoint.
  • AntonSyAntonSy Member
    edited May 31
    Hi Adam,

    The key/secret still matches. The problem is arising before the RC4-decryption step in any case; the XML is supposedly RC4-encrypted and then URL-encoded... but what's arriving to me is not apparently a valid percent-encoded string. Sure, the payload contains lots of % symbols - but no percent-decoder that I've tried is able to decode it. The ones that give any sort of clue as to what the problem is tell me simply that that the input string cannot be percent-decoded into printable characters. In my feed consumer, I'm relying on PHP's plain old urldecode() function - and it returns an empty string for the payload that we're discussing (presumably because it can't percent-decode the string).

    It did work in the past, however - though sadly I didn't keep any record of the percent-encoded payload.
  • AntonSyAntonSy Member
    edited May 31
    .
  • fc_adamfc_adam FoxyCart Team
    @AntonSy,

    I believe I can see what store this is for based on your forum email. Would it be ok if we temporary changed the store's datafeed endpoint to allow us to run some tests? If it is - if you confirm whether it'd be the live or test store you'd like us to use, we can do that.

    In terms of communicating privately - it's possible to "whisper" on the forum when replying by checking the "Whisper" checkbox and entering the forum username(s) of who you want to whisper to. Alternatively you can also email our helpdesk.
  • AntonSyAntonSy Member
    Hi Adam - I wasn't expecting you to be online (assuming you're based in the US), so I pulled my last message without realizing that you'd already replied to it. Excuse me for that!

    My apologies: I've determined that the error was at my end. The payload was getting truncated on my side. The feed is fine!

    [Thanks for letting me know about the Whisper functionality!]
  • fc_adamfc_adam FoxyCart Team
    @AntonSy,

    Oh cool - I'm glad you were able to find the cause!
    I wasn't expecting you to be online (assuming you're based in the US), so I pulled my last message without realizing that you'd already replied to it.
    No problems! I'm based in Australia so still primetime for me :smile:
Sign In or Register to comment.