Skip to content

Instantly share code, notes, and snippets.

@dbelling
Created May 30, 2017 20:22
Show Gist options
  • Save dbelling/7b121d080397aee13793f08c4fa11f66 to your computer and use it in GitHub Desktop.
Save dbelling/7b121d080397aee13793f08c4fa11f66 to your computer and use it in GitHub Desktop.
Advanced API SOAP request - 3Dcart
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">
<soap:Body>
<runQuery xmlns=\"http://3dcart.com/\">
<storeUrl>#{@secure_url}</storeUrl>
<userKey>#{@user_key}</userKey>
<sqlStatement>select input_value from payment_fields where orderid=#{order_id}</sqlStatement>
<callBackURL></callBackURL>
</runQuery>
</soap:Body>
</soap:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment