More Complex integrations of WorldPay within an HTML Page.
Posted in Programming, eCommerce on 16. Dec, 2009
http://www.worldpay.com/support/content.php?page=technical&sub=junior&subsub=examples#basic
Posted in Programming, eCommerce on 16. Dec, 2009
Posted in eCommerce on 16. Dec, 2009
Dowload your version of the application-top.php file located in catalog/includes.
Look for the following line:-
// define the project version
define(’PROJECT_VERSION’, ‘version-seen-here’);
Posted in Programming, eCommerce on 16. Dec, 2009
<!– The first line of code creates a form, which has the POST method and its action is to send the form to WorldPay.–>
<form action="https://select.worldpay.com/wcc/purchase" method="post"><!– Place your WorldPay Installation ID inside the quotes after value= –>
<input name="instId" type="hidden" value="Your installation ID" />
<!– Create a reference identifier for the item purchased inside the quotes after value= –>
<input name="cartId" type="hidden" value="Your ID for the product" />
<!– Place the cost of the item inside the quotes after value= –>
<input name="amount" type="hidden" value="The cost of the product " />
<!– Place the code for the purchase currency inside the quotes after value= –>
<input name="currency" type="hidden" value="currency code e.g. GBP, USD" />
<!– This line creates the WorlPay button. You can name it as you wish. –>
<input type="submit" value=" Buy This " />
</form>
Posted in Programming, eCommerce on 16. Dec, 2009
<head>
<script language="javascript">
var msg = " bla bla bla bla ";
var pos = 0;
var spacer = " … ";
var time_length = 100;
function ScrollTitle()
{
document.title = msg.substring(pos, msg.length) + spacer + msg.substring(0, pos);
pos++;
if (pos > msg.length) pos=0;
window.setTimeout("ScrollTitle()",time_length);
}
ScrollTitle();
</script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>