Author Topic: IMPORTANT - IMPORTANT (NEW PAYMENT METHOD,TURKEY)  (Read 4070 times)

kubishim

  • Beginner
  • *
  • Posts: 4
IMPORTANT - IMPORTANT (NEW PAYMENT METHOD,TURKEY)
« on: May 22, 2009, 22:03:03 pm »
hello,

I bought 3Dsecure system from Garanti Bank (Turkish Bank) in Turkey. and I made integrated to my joomla site. I use virtuemart in my site. bank gave documents, below me as I did in:

My Store / Payment Methods, select the Add

Active box

Payment Form name: Garanti Bank, as Secured Payment Type

Code: GG Type

Payment method type: Just select the address

Code:

<html>
<head>
<title>3D OOS PAY</title>
<meta http-equiv="Content-Language" content="tr">

  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9">

  <meta http-equiv="Pragma" content="no-cache">

  <meta http-equiv="Expires" content="now">
 
 

</head>

<body>

<?php



$clientId = "xxxxxxxx";      //Banka tarafindan magazaya verilen isyeri numarasi
$amount = "";             //tutar
$oid = "";                    //Siparis numarasi
$okUrl = "http://www.localhost.com/3DOOSPAYOdeme.php";      //Islem basariliysa dönülecek isyeri sayfasi  (3D isleminin ve ödeme isleminin sonucu)
$failUrl = "http://www.localhost.com/3DOOSPAYOdeme.php";    //Islem basarisizsa dönülecek isyeri sayfasi  (3D isleminin ve ödeme isleminin sonucu)
$rnd = microtime();                                     //Tarih ve zaman gibi sürekli degisen bir deger güvenlik amaçli kullaniliyor

$taksit = "";                 //Taksit sayisi
$islemtipi="Auth";               //Islem tipi
$storekey = "storekey";               //Isyeri anahtari

$hashstr = $clientId . $oid . $amount . $okUrl . $failUrl . $islemtipi . $taksit . $rnd . $storekey; //güvenlik amaçli hashli deger



$hash = base64_encode(pack('H*',sha1($hashstr)));

?>

<center>
            <form method="post" action="https://ccpos.garanti.com.tr/servlet/gar3Dgate">
                <input type="hidden" name="clientid" value="<?php echo $clientId?>">
                <input type="hidden" name="amount" value="<?php echo $amount?>">

                <input type="hidden" name="oid" value="<?php echo $oid?>">
                <input type="hidden" name="okUrl" value="<?php echo $okUrl?>" >
                <input type="hidden" name="failUrl" value="<?php echo $failUrl?>" >
                <input type="hidden" name="islemtipi" value="<?php echo $islemtipi?>" >
                <input type="hidden" name="taksit" value="<?php echo $taksit?>">
                <input type="hidden" name="rnd" value="<?php echo $rnd?>" >
                <input type="hidden" name="hash" value="<?php echo $hash?>" >
   
                <input type="hidden" name="storetype" value="3d_oos_pay" >
   
                <input type="hidden" name="refreshtime" value="10" >
     
                <input type="hidden" name="lang" value="tr">
                <input type="hidden" name="firmaadi" value="firmanız-ltd.şti">
   
                <input type="hidden" name="Fismi" value="is">
                <input type="hidden" name="faturaFirma" value="faturaFirma">
                <input type="hidden" name="Fadres" value="XXX">
                <input type="hidden" name="Fadres2" value="XXX">
                <input type="hidden" name="Fil" value="XXX">

                <input type="hidden" name="Filce" value="XXX">
                <input type="hidden" name="Fpostakodu" value="postakod93013">
                <input type="hidden" name="tel" value="XXX">
                <input type="hidden" name="fulkekod" value="tr">

                <input type="hidden" name="nakliyeFirma" value="na fi">
                <input type="hidden" name="tismi" value="XXX">
                <input type="hidden" name="tadres" value="XXX">
                <input type="hidden" name="tadres2" value="XXX">

                <input type="hidden" name="til" value="XXX">
                <input type="hidden" name="tilce" value="XXX">
                <input type="hidden" name="tpostakodu" value="ttt postakod93013">
                <input type="hidden" name="tulkekod" value="usa">
   
                <input type="hidden" name="itemnumber1" value="a1">
                <input type="hidden" name="productcode1" value="a2">
                <input type="hidden" name="qty1" value="3">
                <input type="hidden" name="desc1" value="a4 desc">
                <input type="hidden" name="id1" value="a5">

                <input type="hidden" name="price1" value="6.25">
                <input type="hidden" name="total1" value="7.50">
               
                <input type="submit" value="Devam" />
               
            </form>

               
               
           
        </center>
</body>
</html>

and the bank's payment page when integrating this code can enter.    
php file, but the amount of the bank a price sheet is written. Click to add to cart in our store, we can not call for that amount.    
In the field labeled amount of the said banks with SQL you need to take the amount in cart. please help me how can I take the amount in add to cart?
 >:( ???

kubishim

  • Beginner
  • *
  • Posts: 4
Re: IMPORTANT - IMPORTANT (NEW PAYMENT METHOD,TURKEY)
« Reply #1 on: May 23, 2009, 02:38:33 am »
why dont anybody write? please help me :(

aravot

  • Peter
  • Moderator
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: IMPORTANT - IMPORTANT (NEW PAYMENT METHOD,TURKEY)
« Reply #2 on: May 28, 2009, 19:29:34 pm »
Not familiar, with payment method you might need to higher a developer to code it for you.

ruudjonk

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 106
Re: IMPORTANT - IMPORTANT (NEW PAYMENT METHOD,TURKEY)
« Reply #3 on: August 04, 2009, 13:59:11 pm »
If you want you can e-mail me all the documentations of garanti bank and all the code and files you have now. I could take a look at it then.

Please explain me the problems a little better.

You can e-mail me at info AT ideal-module.nl

I think i can create a payment component for garanti bank.

secursystem

  • Beginner
  • *
  • Posts: 2
Re: IMPORTANT - IMPORTANT (NEW PAYMENT METHOD,TURKEY)
« Reply #4 on: November 19, 2011, 15:23:27 pm »
Hi, I'm forum newbye.

I need to install Garanti Virtual Pos in my website (joomla1.5.23+virtuemart1.1.8) can you explain me how? I asked info to bank but they gived me only this link: http://www.garantipos.com.tr/mailing/GVP.zip   without any other information.

    Luca