title: How can i get token number from notify url in Laravel?
body: <p>I am using citruspay Payment gateway in my project, when return url hit the page </p>
  
  <p>than  TokenMismatchException in VerifyCsrfToken.php line 53: error show.</p>
  
  <p>How can i match token .</p>
  
  <p>route.php</p>
  
  <pre><code>Route::POST('ideas/paymentResponse',function(){
      return View::make('ideas.paymentDone');
  });
  </code></pre>
  
  <p>payment.php</p>
  
  <pre><code> &lt;form  method="post" action="https://sandbox.citruspay.com/qwer"&gt;
  
           &lt;input type="hidden" id="merchantTxnId" name="merchantTxnId" value="&lt;?php echo $merchantTxnId; ?&gt;" /&gt;
  
           &lt;input type="hidden" id="orderAmount" name="orderAmount" value="&lt;?php echo $orderAmount; ?&gt;" /&gt;
            &lt;input type="hidden" name="_token" id="_token" value="{{ csrf_token() }}"&gt;
  
           &lt;input type="hidden" id="currency" name="currency" value="&lt;?php $currency ?&gt;" /&gt;
           &lt;input type="hidden" name="returnUrl" value="http://local.ideabazaar.com/ideas/paymentResponse" /&gt;
           &lt;input type="hidden" id="notifyUrl" name="notifyUrl" value="http://local.ideabazaar.com/ideas/paidNotify" /&gt;
           &lt;input type="hidden" id="secSignature" name="secSignature" value="&lt;?php echo $securitySignature ?&gt;" /&gt;
           &lt;input type="Submit" class="redBtn" value="Pay Now"/&gt;
  </code></pre>
  
  <p>paymentResponse.php</p>
  
  <pre><code>@extends('layouts.home')
  @section('content')
  
     &lt;?php
      set_include_path('../lib'.PATH_SEPARATOR.get_include_path());
      //Replace this with your secret key from the citrus panel
      $secret_key = "***************";
  {{ csrf_token() }}
      $data = "";
      $flag = "true";
      if(isset($_POST['TxId'])) {
          $txnid = $_POST['TxId'];
          $data .= $txnid;
      }
       if(isset($_POST['TxStatus'])) {
          $txnstatus = $_POST['TxStatus'];
          $data .= $txnstatus;
       }
       if(isset($_POST['amount'])) {
          $amount = $_POST['amount'];
          $data .= $amount;
       }
       if(isset($_POST['pgTxnNo'])) {
          $pgtxnno = $_POST['pgTxnNo'];
          $data .= $pgtxnno;
       }
       if(isset($_POST['issuerRefNo'])) {
          $issuerrefno = $_POST['issuerRefNo'];
          $data .= $issuerrefno;
       }
       if(isset($_POST['authIdCode'])) {
          $authidcode = $_POST['authIdCode'];
          $data .= $authidcode;
       }
       if(isset($_POST['firstName'])) {
          $firstName = $_POST['firstName'];
          $data .= $firstName;
       }
       if(isset($_POST['lastName'])) {
          $lastName = $_POST['lastName'];
          $data .= $lastName;
       }
       if(isset($_POST['pgRespCode'])) {
          $pgrespcode = $_POST['pgRespCode'];
          $data .= $pgrespcode;
       }
       if(isset($_POST['addressZip'])) {
          $pincode = $_POST['addressZip'];
          $data .= $pincode;
       }
       if(isset($_POST['signature'])) {
          $signature = $_POST['signature'];
       }
  
           $respSignature = hash_hmac('sha1', $data, $secret_key);
       if($signature != "" &amp;&amp; strcmp($signature, $respSignature) != 0) {
          $flag = "false";
       }
      ?&gt;
      &lt;html&gt;
      &lt;head&gt;
          &lt;meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;?php 
          if ($flag == "true") {  
          ?&gt;
          Your Unique Transaction/Order Id : &lt;?php echo $txnid ?&gt;
          Transaction Status : &lt;?php echo $txnstatus ?&gt;
          &lt;?php } else { ?&gt;
          Citrus Response Signature and Our (Merchant) Signature Mis-Mactch 
          &lt;?php } ?&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  
  @stop
  </code></pre>
  
  <p>Please help</p>