Skip to content

Instantly share code, notes, and snippets.

@ChromeOrange
Created March 6, 2015 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChromeOrange/161978603b316fbbb195 to your computer and use it in GitHub Desktop.
Save ChromeOrange/161978603b316fbbb195 to your computer and use it in GitHub Desktop.
Get the XML for WooCommerce FedEx shipping
if ( $this->debug ) {
echo "REQUEST:\n" .'<pre>' . htmlentities( str_replace( "><", ">\r\n<", $client->__getLastRequest()) ). '</pre>' . "\n";
echo "RESPONSE:\n" .'<pre>' . htmlentities( str_replace( "><", ">\r\n<", $client->__getLastResponse()) ). '</pre>' . "\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment