I am using the php test script found here.https://wiki.foxycart.com/integration/foxycart/test_xml_post
Running the PHP script will post the data to my nodejs application. However, I am having trouble decrypting the FoxyData being sent.
I believe the issue I am having is trying to reverse the urlencode that is done in the PHP.
decodeURIComponent(foxyData) will result in URI malformed.
I believe that decodeURIComponent in nodejs expects the output to be an ascii string.