I want to have the paybox system. This is the html code in my message.tpl:
<!-- BEGIN ORDER_CA --> <FORM ACTION = 'http://www.myweb.fr/cgi-bin/modulev2.cgi' METHOD = post> <INPUT TYPE = hidden NAME = PBX_MODE VALUE = '1'> <!-- passage par formulaire --> <INPUT TYPE = hidden NAME = PBX_SITE VALUE = '1999888'> <INPUT TYPE = hidden NAME = PBX_RANG VALUE = '98'> <INPUT TYPE = hidden NAME = PBX_IDENTIFIANT VALUE = '3'> <INPUT TYPE= hidden NAME= PBX_TOTAL VALUE = "$Data[fCourrierPrice]"> <INPUT TYPE = hidden NAME = PBX_DEVISE VALUE = '978'> <INPUT TYPE= hidden NAME = PBX_CMD VALUE = 'Order ID $iOrder'> <INPUT TYPE = hidden NAME = PBX_PORTEUR VALUE = 'mail@free.fr'> <INPUT TYPE = hidden NAME = PBX_RETOUR VALUE = 'montant:M;ref:R;auto:A;trans:T'> <INPUT TYPE = hidden NAME = PBX_EFFECTUE VALUE = '/remerciement.php'> <INPUT TYPE = hidden NAME = PBX_REFUSE VALUE = '/refuser.php'> <INPUT TYPE = hidden NAME = PBX_ANNULE VALUE = '/anuler.php'> <p align="center"><INPUT TYPE = submit NAME = bouton_paiement VALUE = 'Paiement par Carte Bancaire'> </FORM> <!-- END ORDER_CA -->
I try to have just the '$aData['fCourierPrice']' and 'Order ID $iOrder' in my new html code for paybox (CA). How i can do to have just there variable, like paypal?
Thank you
» Quick.Cart v2.x
merci
2007-09-10 08:41
aquasyl - it should be enought to put this variables, as you wrote to this message.tpl code.
aquasyl
2007-09-10 22:43
Exscuse me , but i don't understand wath you say, this word : enought.
Must i changed the order.php code or it's not possible to have this variable on my code.
So i was do one error, it's not $aData['fCourierPrice']' i want to have , but '$aData[sSummary]', sorry.
I do this but it's no good for my file .cgi
<!-- BEGIN ORDER_CA --> <FORM ACTION = 'http://aquasyl.fr/cgi-bin/modulev2.cgi' METHOD = post> <INPUT TYPE = hidden NAME = PBX_MODE VALUE = '1'> <!-- passage par formulaire --> <INPUT TYPE = hidden NAME = PBX_SITE VALUE = '1999888'> <INPUT TYPE = hidden NAME = PBX_RANG VALUE = '99'> <INPUT TYPE = hidden NAME = PBX_IDENTIFIANT VALUE = '2'> <INPUT TYPE = hidden NAME = PBX_TOTAL VALUE = '$aData[sSummary]'> <INPUT TYPE = hidden NAME = PBX_DEVISE VALUE = '978'> <INPUT TYPE = hidden NAME = PBX_CMD VALUE = 'ma_reference_123456'> <INPUT TYPE = hidden NAME = PBX_PORTEUR VALUE = 'boutiqueaquasyl@free.fr'> <INPUT TYPE = hidden NAME = PBX_RETOUR VALUE = 'montant:M;ref:R;auto:A;trans:T'> <INPUT TYPE = hidden NAME = PBX_EFFECTUE VALUE = '/q4/remerciement.php'> <INPUT TYPE = hidden NAME = PBX_REFUSE VALUE = '/q4/refuser.php'> <INPUT TYPE = hidden NAME = PBX_ANNULE VALUE = '/q4/anuler.php'> <p align="center"><INPUT TYPE = submit NAME = bouton_paiement VALUE = 'Paiement par Carte Bancaire'> </FORM> <input type='button' value='Paiement par chèque' onclick='location.href="/q4/cheque.php"'/></p> <!-- END ORDER_CA -->
merci
2007-09-11 08:17
aquasyl - I mean that you should be able to 'see' variable $aData[fSummary] and $aData[fCourierPrice] in your code without changing in order.php.
aquasyl
2007-09-11 18:16
Ok, thanks, i think there is a probleme anywhere.
My professionnel server man, say me : maybe the register global must be to on?
Cause, now there are in off.
I don't think it is that my problem, wtih paypal, no problem, but the paypal file cgi-bin it'snt in my server, it is in the server at paypal.
Thanks
aquasyl
2007-09-11 19:53
I think i know where is my probleme. My pybox systeme need the price total in cts euros. Exemple: i have 12€ i must send 1200cts euros.
How i can do this in my code? So i need to have this : <INPUT TYPE = hidden NAME = PBX_TOTAL VALUE = '$aData[sSummary]'> but X100. thank
merci
2007-09-12 11:54
aquasyl - the code you paste above is good, so it should works. If not, send us a link to your page.
aquasyl
2007-09-15 11:16
I was contact open solution to do it. But i think, they don't understand wath i want to have.