FreshFinance is
licenced under the Consumer Credit Act (1974) No. 581255
Data Protection Act 1998: Z9190671
*/
$wgOrderValue = '1';# total order value in pounds sterling (please do not include currency symvbol)
$wgOrderReference = rawurlencode($emailadd); #Emailadd is accessable from the URL - changed in application.htm
/* */
if(array_key_exists('eventid',$_GET) and is_numeric($_GET['eventid']))$wgEventID=$_GET['eventid'];
else $wgEventID= 610; # this identify's the commission type (in account under Program Setup (commission types))
/* */
$wgComment= ''; #optional field
$wgMultiple=1;
$wgItems= rawurlencode('');
/* (optional) should contain pipe separated list of shopping basket items. Fields for each item are seperated by double colon.
First field is commission type , second field is price of item, third field (optional) is name of item, fourth field (optional) is product code/id. Example for two items; items=1::54.99::Harry%20Potter%20dvd::hpdvd93876|5::2.99::toothbrush::tb287 */
$wgCustomerID= '';# please do not use without contacting us first
$wgProductID= '';# please do not use without contacting us first
/* */
/* */
$wgSLang = 'php';# string, used to identify the programming language of your online systems. Needed because url_encoding differs between platforms.
$wgLang = 'en_GB';# string, used to identify the human language of the transaction
$wgPin = 3377;# pin number provided by webgains (in account under Program Setup (program settings -> technical setup))
$wgProgramID = 350; # int, used to identify you to webgains systems
/* */
/* */
$wgVersion = '1.1';
$wgSubDomain="track";
$wgCheckString ="wgver=$wgVersion&wgsubdomain=$wgSubDomain&wglang=$wgLang&wgslang=$wgSLang&wgprogramid=$wgProgramID&wgeventid=$wgEventID&wgvalue=$wgOrderValue&wgorderreference=$wgOrderReference&wgcomment=$wgComment&wgmultiple=$wgMultiple&wgitems=$wgItems&wgcustomerid=$wgCustomerID&wgproductid=$wgProductID";
$wgCheckSum=md5($wgPin.$wgCheckString); # make checksum
$wgQueryString = $wgCheckString."&wgchecksum=$wgCheckSum";
$wgUri = '://'.$wgSubDomain.".webgains.com/transaction.html?".$wgQueryString;
/* */
?>