Item Silent Post (itemsilentpost)|
Itemsilentpost will send the order information for your products to a URL of your choosing. This information can then be used to update an inventory or shipping database, or trigger events such as Customer Emails, etc. Information is sent via the "Post" method.
Item Silent Post must be entered manually into the HTML of each Add to Cart button that you want able to use this feature. Below is an example add button using a test URL in the itemsilentpost field:
<form method="post" action="https://www.designcart.net/cgi-bin/cart.cgi">
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2" align="center">
<input type="hidden" name="VAR1Quantity" value="1" />
<input type="hidden" name="VAR1000" value="|" />
<input type="hidden" name="AddItem1" value="demo|Test VAR1000 50|VAR1Quantity|1||||||http://www.YOURURL.com/SCRIPT|||" />
<input type="submit" value="Add To Cart" /></td></tr>
You will need to replace the test URL with the actual URL of the script you have written on your server. You will also need to replace the Username demo with your account Username.
Please refer to Field 11: itemsilentpost (optional) for a list of variables that are passed to your script.
Test your script by pasting the following URL into your browser's navigation box (Each line must be copied in separately and appended to the last line):
Note: You will need to make sure that you replace "www.YOURURL.com/SCRIPT" with the actual URL for your script. Also, make sure that you do not have any spaces in the URL when you paste it into the address bar of your browser.
Note: ItemSilentPost can only to connect on port 80 or port 443. Please make sure your developers use these ports for communication.