Jump to content

Help needed with shop cart using paypal


johnyp

Recommended Posts

Hello i used a software to make web shop but the only payment method it has is their own paycompany. Now here what i want to do is send my shopping cart to paypal something that is done via a button when i press the button agree with the terms. I upload the orderterms.html as text. Please help me if you can.  :'( Thank you in advance.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns:sf lang="el" dir="LTR" >

 

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 

<title>Secure checkout terms </title>

 

<meta name="description" content="" />

<meta http-equiv="expires" content="0" />

<meta name="generator" content="ShopFactory 7 www.shopfactory.com" />

<meta name="author" content="omnia fluunt">

<meta name="rating" content="ALL" />

 

 

<script type="text/javascript">

<!--

try{var tf=parent&&typeof(parent.tf)!='undefined'&&typeof(parent.tf)!='unknown'&&parent.tf&&parent.name!='content'?parent.tf:this;}catch(e){var tf=this;}

var content=tf.content=this,s;

function isInSF(){return (typeof(window.external)!='undefined'&&window.external&&typeof(window.external.isInSF)!='undefined'?true:false);}

 

var nametag={

get:function(t){if(t!='sig'&&t!='wssig'&&!this.valid())return'';var tt='<'+t+'>',p=tf.name.indexOf(tt);if(p==-1)return'';else return tf.name.substring(p+tt.length,tf.name.indexOf('</'+t+'>'));},

add:function(t,v){if(this.valid())this.del(t);tf.name=tf.name+'<'+t+'>'+v+'</'+t+'>';},

del:function(t){tf.name=tf.name.replace(new RegExp('<'+t+'>.*?</'+t+'>'),'');},

valid:function(){var ss='<sig>'+tf.wssig+'</sig>';if(typeof(tf.wssig)!='undefined'&&this.get('sig')=='')tf.name+=ss;else if(this.get('sig')!=tf.wssig){this.del('sig');tf.name+=(tf.wssig?ss:'');return false;}return true;}

};

 

if(!isInSF()){

var hrefpart='',qs=[],lh=location.href,ls=location.search,target=lh.replace(/([^\?]*\/)?(.*?)/,'$2').replace(/[\?#].*$/,'');

if(tf==this){

var hasls=ls.length>0,isCtnts=lh.indexOf('/contents/')!=-1;

var doThis=hasls||isCtnts;

 

if(doThis){

hrefpart='../../index1.html';

qs.push('lang=el');

if(isCtnts)qs.push('target='+target);

if(hasls)qs.push(ls.substr(1));

nametag.add('sfqs',qs.join('&')+location.hash);

if(hasls)

s=hrefpart+'?'+qs.join('&')+location.hash;

else

s=hrefpart;

}

}

var hrefpart_s=(hrefpart?s:'');

}

if(tf==this)tf.load=function(){};

// -->

</script>

 

 

<style type="text/css">

@import "../styles/website.css";

 

@import "../styles/pa_paah_2.css";

 

 

@import "../styles/index1.css";

@import "../styles/index2.css";

@import "../styles/global.css";

</style>

 

 

<script type="text/javascript">

<!--

 

var d=document;function dw(s){d.write(s);}function gl(s){return d.getElementById(s);}

function isInSF(){return (typeof(window.external)!='undefined'&&window.external&&typeof(window.external.isInSF)!='undefined'?true:false);}

function ldjs(f){dw('<sc'+'ript src="'+f+'"><\/sc'+'ript>');}

if(isInSF()){var tf=this;ldjs('../sf.js');var lmd=[];ldjs('../date.js');ldjs('../lang_el.js');ldjs('../../shared_files/menu_scroller.js');}

else{try{var tf=parent&&typeof(parent.tf)!='undefined'&&typeof(parent.tf)!='unknown'&&parent.tf&&parent.name!='content'?parent.tf:this}catch(e){var tf=this;}var core=tf.core,LD=tf;

//<!--BEGIN_C78E91C8-61BA-447e-B459-F6FE529C7724-->

var LMD='39871.804861';

//<!--END_C78E91C8-61BA-447e-B459-F6FE529C7724-->

}

 

function addOnload(f){var e='onload';if(window[e] instanceof Function){var h=window[e];window[e]=function(p){h(p);f();};}else{window[e]=f;}}

 

function ld(name,sf,args){var s;if(LD)s=LD[name];if(!LD||!s)s=(sf)?sf:'';if(args){var sa=s.split('%%');s='';for(var i=0;i<sa.length;i++)if(args)s+=sa+args;else s+=sa;}return s.replace('%%','');}

 

var specialLoading=false;

 

// -->

</script>

 

<script src="../../shared_files/navdropdown.js"></script>

 

<script type="text/javascript">

<!--

 

var aMS=[],aMM=[];

 

function sfMM2(a){aMM[aMM.length]=a;}

function imgs2(){var tfu=tf.utils;if(tfu&&tfu.imgs)tfu.imgs();else setTimeout('imgs2()',50)};

addOnload(imgs2);

 

 

var pgid='D-17';

tf.load('lang.html','lang');

function linkTo(s){if(!core)setTimeout('linkTo("'+s+'")',100);else{var f=core.getParentPage(s.toUpperCase());if(f)location=(location.href.indexOf('/'+f)==-1?tf.wm.url(f,'-',true):'')+'#'+s.toLowerCase();}}if(location.hash)linkTo(location.hash.substr(1));

 

var hasProducts=false;

 

 

 

 

 

 

 

 

 

 

 

 

 

if(hrefpart_s)location.replace(hrefpart_s);

// -->

</script>

</head>

<body sf:object="LayoutMaster" class="GC41">

 

 

 

 

 

<div id="WebSite" class="GC38">

 

<div id="WebSiteHeader" class="GC39">

 

 

 

 

 

 

 

 

 

 

<div id="CompanyImageAndSiteHeading">

 

<div id="SiteHeadingContainer"><span></span><a href="index.html"><h1 id="SiteHeading" class="GC39 SiteHeading">OtiThelo είναι εδώ !!!</h1></a></div>

</div>

 

 

<!-- BEGIN: SiteSlogan -->

 

<div id="SiteSlogan" class="GC42">

<div id="SiteSlogan_inner">

<h2 id="SiteSlogan_content"><FONT style="BACKGROUND-COLOR: #ffffff"></FONT></h2>

</div>

</div>

 

<!-- END: SiteSlogan -->

  <!-- BEGIN: Search -->

 

 

<div sf:object="Search" id="Search">

 

 

 

 

<span id="searchholder"><script type="text/javascript">tf.load('load_search.html','searchholder',true);</script></span>

 

  </div>

 

    <style>input.SearchTextField{width:100px;}</style>

  <!-- END: Search -->

  <!-- BEGIN: SwitchLang -->

 

 

  <!-- END: SwitchLang -->

<!-- BEGIN: MiniCart -->

 

 

 

<div sf:object="MiniCart" id="MiniCart" class="GC2">

 

 

 

 

 

 

<span id="minicartholder"><script type="text/javascript">tf.load('load_minicart.html','minicartholder',false);</script></span>

<script>if(tf.core&&tf.core.Basket)tf.core.Basket.refreshTotal();</script>

</div>

 

<!-- END: MiniCart -->

 

 

<div style="width:980;height:80;;" id="DesignImage1" align="middle">

<object id="DSObject_DesignImage1" sf:object="LayoutObject" classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="980" height="80"><param name="movie" value="../media/AAA-980-header.swf"><param name="flashvars" value="xmlfile=../media/AAA-980-header.xml"><param name="WMode" value="transparent"><param name="menu" value="false">

<embed src="../media/AAA-980-header.swf" wmode="transparent" menu="false" width="980" height="80" name="DesignImage1" align="middle" type="application/x-shockwave-flash" flashvars="xmlfile=../media/AAA-980-header.xml"></embed>

</object>

</div>

 

 

 

 

 

 

<div sf:object="Index1" id="Index1" class="GC2">

 

 

 

 

 

 

 

 

 

 

 

<span id="index1holder"><script type="text/javascript">tf.load('load_index1.html','index1holder',true);</script></span>

 

 

 

 

<script>aMS[aMS.length]=['idx1Navigation',parseInt('584'),parseInt(''),true];</script>

 

 

 

 

</div>

 

 

</div>

 

<div id="WebSiteContent" class="GC1">

 

<div id="SideBar_L" class="GC32 EqualHeight">

 

    <div id="Container1" class="GC45">

<!-- BEGIN: SwitchCurrency -->

 

 

<div sf:object="SwitchCurrency" id="SwitchCurrency">

 

 

 

 

<span id="switchcurrencyholder"><script type="text/javascript">tf.load('load_switchcurrency.html','switchcurrencyholder',false);</script></span>

 

</div>

 

<!-- END: SwitchCurrency -->

<!-- BEGIN: Login -->

   

 

    <!-- END: Login -->

    </div>

 

 

 

<div sf:object="Index2" id="Index2" class="GC3">

 

 

 

 

 

 

 

 

 

 

 

<span id="index2holder"><script type="text/javascript">tf.load('load_index2.html','index2holder',true);</script></span>

 

 

 

 

<script>aMS[aMS.length]=['idx2Navigation',parseInt('height'),parseInt(''),true];</script>

 

 

 

 

</div>

 

 

</div>

 

<a name="contentBookmark"></a>

 

 

<div sf:object="Content" id="Content" class="GC22 ContentBody EqualHeight">

 

 

 

 

 

 

 

 

 

 

<table cellspacing="0" cellpadding="0" border="0" width="100%" >

<tr>

<td width="100%" valign="top"><div class="GC6 Breadcrumbs"><script>dw('<a href="front.html"  class="GC6 Breadcrumbs">'+ld('LD_HOME','Home ')+'</a> > <a href="'+tf.wm.url('ordertotal.html',tf.lmd['ordertotal'],1)+'"  class="GC6 Breadcrumbs">'+ld('LD_TERMSANDCONDITIONS_MESSAGE','Secure Checkout')+'</a>')</script></nobr></div></td>

</tr>

</table>

<br>

 

<center>

<div style="width:80%;">

<div sf:object="PageTitle" class="PageTitle"><script>dw(ld('LD_TERMSANDCONDITIONS_MESSAGE',''))</script></div>

</div><br>

<br>

<script>

dw('<iframe src="'+tf.wm.url('clearterms.html',tf.lmd['clearterms'],1)+'" name="GC1__ContentBody" id="terms_id" height="200px" width=80%></iframe>');

</script>

</center>

<script>

 

function resize(){

try{

var gw=gl('gwframe'),gwc=gl('Content'),gwwsc=gl('WebSiteContent'),gwws=gl('WebSite');

gwwsc.offsetParent.style.height='auto';

if (gwws.offsetHeight==0&&gwwsc.offsetHeight==gwc.offsetHeight){

gw.style.height=gwc.offsetHeight+'px';

}

else{

var cyTop=gwws.offsetTop,cyBottom=gwws.offsetHeight-cyTop-gwwsc.offsetHeight;

var ctntHeight=(d.documentElement.offsetHeight-2)-cyTop-cyBottom;

gw.style.height=(ctntHeight-gwc.offsetTop-gwws.offsetTop-gw.offsetTop)+'px';

gwc.style.height=(ctntHeight-gwc.offsetTop-gwws.offsetTop)+'px';

gwwsc.style.height=ctntHeight+'px';

}

 

}catch(e){}

}

var ping={

timer1:null,

timer2:[],

img:[],

clearTimeouts:function(){

clearTimeout(this.timer1);

for(var tt in this.timer2){clearTimeout(this.timer2[tt]);}this.timer2=[];

},

failed:function(){this.go(true);},

load:function(i,id,url){

this.img=new Image();

this.img.id=id;

this.img.src=url;

this.img.onload=function(){

ping.clearTimeouts();

core.active_servers[0]=this.src.replace(/https?:\/\/([^/]*)\/.*$/,'$1/webshop/');

}

},

go:function(all){

function id(n){return'ping'+servers[n].replace(/[^a-zA-Z0-9]/g,'');}

function url(n){return servers[n]+'?lmd='+Math.random();}

var i=0,servers='http://www.globecharge.com/images/ping.gif,http://secure11.globecharge.com/images/ping.gif,http://secure17.globecharge.com/images/ping.gif,http://secure18.globecharge.com/images/ping.gif,http://secure19.globecharge.com/images/ping.gif,http://secure20.globecharge.com/images/ping.gif'.split(',');

this.load(i,id(i),url(i));

if(all){for(i=1;i<servers.length;i++){this.timer2.push(setTimeout("ping.load("+i+",'"+id(i)+"','"+url(i)+"')",1000*i));}}

},

progress:function(show){

var pfs=gl('co');

if(show){

pfs.style.display='none';

var prg=new Image();

prg.id='pingprg';

prg.src='../media/progressbar.gif';

pfs.parentNode.appendChild(prg);

}

else{

pfs.parentNode.removeChild(gl('pingprg'));

pfs.style.display='block';

}

}

};

 

function pingGC(){

if(!tf.isSafari){

core.active_servers=[];

ping.progress(true);

ping.go(false);

ping.timer1=setTimeout('ping.failed()',4000);

}

 

post_bsk(d.forms['post_form']);

}

 

function post_bsk(pf){

if(core.active_servers.length==0&&!tf.isSafari){setTimeout('post_bsk(d.forms["'+pf.name+'"])',100);return;}

var cgis=core.active_servers;

if(!cgis||cgis.length==0)cgis=['www.globecharge.com/webshop/'];

 

pf.basket.value = tf.xml_basket;

pf.regions.value= tf.xml_regions;

 

 

pf.action='https://'+cgis[0]+'shoporder.cgi';

 

 

if(tf.isSafari)setTimeout('d.forms["'+pf.name+'"].submit()',500);

else pf.submit();

 

if(window.scrollTo)window.scrollTo(0,0);

var gwcontent=gl('Content'),gwlen=gwcontent.childNodes.length;

for(var n=0;n<gwlen;++n){

var el=gwcontent.childNodes[n];

if(el.id=='gwframe'||!el.style)continue;

el.style.display='none';

}

gl('gwframe').style.display='block';

if(tf.isSafari)gl('gwframe').style.opacity=1;// Safari 3.1.2 doesn't show text when opacity is lowered. AIT type of themes will be affected by this.

tf.mfh('WebSiteContent');

}

</script>

<br>

<div align=center>

<form name="post_form" method="POST" enctype="multipart/form-data" target="gwframe" onsubmit="pingGC(this);return false;">

 

<input type=hidden name=regions value=''>

<input type=hidden name=confirm_email value=''>

<input type=hidden name=basket value=''>

<input type=hidden name=paysystem value="">

<span id="co"><script>dw('<input type=submit sf:object="Button" class="GC25 Button" value="'+LD.LD_TERMSANDCONDITIONS_ACCEPT+'" id="chkOut">');</script></span>

</form>

</div>

<iframe id="gwframe" name="gwframe" src="about:blank" allowtransparency="true" style="display:none;background-color:transparent;opacity:0.7;-moz-opacity:0.9;" frameborder="0" width="100%" height="100%"></iframe>

 

<!--

Version tag, please don't remove

$Revision: 2447 $

$HeadURL: svn://3d3-p432/ShopFactory/branches/V7_50/bin/Templates/Special Pages/Order Terms/PAAH_2/page.html $ -->

 

</div>

 

 

<div id="FooterClearance"><span>!</span></div>

 

</div>

 

<div id="WebSiteFooter" class="GC40">

 

 

 

 

 

 

 

 

 

 

 

 

 

<div style="width:980;height:17;;" id="DesignImage2" align="middle">

<object id="DSObject_DesignImage2" sf:object="LayoutObject" classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="980" height="17"><param name="movie" value="../media/AAA-980-footer.swf"><param name="flashvars" value="xmlfile=../media/AAA-980-footer.xml"><param name="WMode" value="transparent"><param name="menu" value="false">

<embed src="../media/AAA-980-footer.swf" wmode="transparent" menu="false" width="980" height="17" name="DesignImage2" align="middle" type="application/x-shockwave-flash" flashvars="xmlfile=../media/AAA-980-footer.xml"></embed>

</object>

</div>

 

 

 

</div>

 

</div>

 

 

</body>

<script type="text/javascript">

 

tf.load('core.html','core');

 

function ams(){var tfu=tf.utils;if(tfu&&tfu.applyms)tfu.applyms();else setTimeout('ams()',50)};if(aMS.length>0)ams();

 

 

 

function navDDext(id,holder){if(!isInSF()){

var nav=gl(id+'Navigation');

if(!nav){setTimeout('navDDext("'+id+'","'+holder+'")',100);}

else{

var cn=nav.getElementsByTagName('DIV');

for(var n=0;n<cn.length;){

var cnn=cn[n];

if(cnn.style.position=='absolute'&&cnn.id!=id){tf.content.document.body.appendChild(cnn);}

else{n++;}

}

}

}}

navDDext('idx1','index1holder');

navDDext('idx2','index2holder');

 

 

 

function equalHeight(){var tfu=tf.utils;if(tfu&&!specialLoading)tfu.equaldiv();else setTimeout('equalHeight()',100);}if(!isInSF())addOnload(equalHeight);

function acs(){return function(){try{tf.extra.forceAllLang=false;tf.parent.applyColorScheme(window);}catch(e){};}}addOnload(acs());

</script>

 

</html>

<!--$Revision: 133 $

$HeadURL: svn://3d3-p432/ShopFactory/branches/V7_50/bin/Templates/Website/AAA-AA_1024 x -/parseLang/website.html $ -->

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.