You will need the following details:
In your QuickOrder Payment Settings for Secure Trading, enter the following:
First, edit the form.html file using Wordpad, and look for some lines like this:
<INPUT TYPE=hidden NAME="requiredfields" VALUE="$requiredfields"> <INPUT TYPE=hidden NAME="merchant" VALUE="$merchant"> <INPUT TYPE=hidden NAME="amount" VALUE="$amount"> <INPUT TYPE=hidden NAME="orderref" VALUE="$orderref"> <INPUT TYPE=hidden NAME="orderinfo" VALUE="$orderinfo">
Make sure that block includes all the following lines:
<INPUT TYPE=hidden NAME="requiredfields" VALUE="$requiredfields"> <INPUT TYPE=hidden NAME="merchant" VALUE="$merchant"> <INPUT TYPE=hidden NAME="amount" VALUE="$amount"> <INPUT TYPE=hidden NAME="orderref" VALUE="$orderref"> <INPUT TYPE=hidden NAME="orderinfo" VALUE="$orderinfo"> <INPUT TYPE=hidden NAME="merchantemail" VALUE="$merchantemail"> <INPUT TYPE=hidden NAME="currency" VALUE="$currency"> <INPUT TYPE=hidden NAME="settlementday" VALUE="$settlementday"> <INPUT TYPE=hidden NAME="customeremail" VALUE="$customeremail"> <INPUT TYPE=hidden NAME="callbackurl" VALUE="$callbackurl"> <INPUT TYPE=hidden NAME="failureurl" VALUE="$failureurl"> <INPUT TYPE=hidden NAME="selsite" VALUE="$selsite"> <INPUT TYPE=hidden NAME="seltpl" VALUE="$seltpl"> <INPUT TYPE=hidden NAME="selorder" VALUE="$selorder"> <INPUT TYPE=hidden NAME="seluser" VALUE="$seluser">
Save that file. Now open the file callback.txt, also in Wordpad. Each Callback Number is in a block of 4 lines, like this:
method1 POST url1 http://www.my-website.co.uk/callback-page.php fields1 orderref, formattedamount, timestamp, streference, stauthcode, iduser, amount pipe1 yes method2 POST url2 http://www.my-other-website.co.uk/some-other-page.php fields2 orderref, formattedamount, timestamp, streference, stauthcode, iduser, amount pipe2 yes
We need to add the following lines for your QuickOrder site (where XXX is your chosen Callback Number, and WEBSITE is your QuickOrder website URL):
methodXXX POST urlXXX http://WEBSITE/callback.html fieldsXXX seluser, selsite, selorder, seltpl, orderref, inputamount, timestamp, stauthcode, stresult, streference, stconfidence, securitymessage pipeXXX yes
Please use a single press of the 'Tab' key to separate the headings and the data (eg. press TAB between “methodXXX” and “POST”)
Now you need to copy your updated callback.txt file over the callback-f.txt file (note: if you are using a non-QuickOrder system on your Secure Trading account, check with the system's suppliers that this is acceptable).
Finally, you are ready to upload the 3 files you have changed - form.html, callback.txt and callback-f.txt - upload them using the steps above.