• 31-12-2013, 18:08:58
    #1
    Merhaba arkadaşlar, bir sistemim için vakıfbank 3d sanal pos entegre etmem lazım daha önce bir çok kez entegre etmiş olmama ragmen bugün garip bir şekilde hata alıyorum.

    Kullandığım yöntem CURL POSTFIELDS
     $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL,$adres); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,2); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); 
    curl_setopt($ch, CURLOPT_TIMEOUT, 30); 
    curl_setopt($ch, CURLOPT_POSTFIELD, $adres1); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    $GeriDonus=curl_exec ($ch); 
    echo "<h1> $GeriDonus </h1><br>";
    curl_close ($ch);
    Dönen Hata ise;
    Server Error in '/Get724' Application.
    
    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
    
    Source Error: 
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    
    Stack Trace: 
    
    
    [NullReferenceException: Object reference not set to an instance of an object.]
       Parametre.GetWebParameters(HttpRequest request) +771
       _Default.Page_Load(Object sender, EventArgs e) +916
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    
    Version Information: Microsoft .NET Framework Version:2.0.50727.3649; ASP.NET Version:2.0.50727.3634
    $adres değişkenim

    $adres="https://get724.vakifbank.com.tr/Get724/get724uye.aspx";
    $adres1 değişkenim ise;

     
    $adres1=array('uyeno' => '$uyeno', 'kkno' => '$kkno','gectar' => '1501','tutar' => '000000000010',
    'dcins' => '949','sipbil' => 'sipbil0710','sesbil' => 'sesbil0713','burl' => 'basariliyagit.php','hurl' => 'hataliyagit.php',
    'zaman' => '$zaman','ozet' => '$hash');
    $hash değişkenim;

    $deger="$uyeno$kartno"."1507000000000010949sipbil0710sesbil0710basarili.phphatali.php".$zaman."".$xcip;
    $hash=sha1($deger);
    Yardımcı olabilirseniz çok sevinirim.
  • 31-12-2013, 18:29:45
    #2
    Üyeliği durduruldu
    bankaya bildirilen ip adresi doğrumu
  • 01-01-2014, 19:20:44
    #3
    BHCoder adlı üyeden alıntı: mesajı görüntüle
    bankaya bildirilen ip adresi doğrumu
    evet bankaya bildirilen ip adresi doğrudur.