title: Getting ID of an element. Laravel 5.1
body: <p>What I need to do is to get the ID of the element. </p>
  
  <pre><code>$price = $_POST['price'];
  $orderid = $_POST['id'];
  $serverId = 'localhost:8000';
  
  
  $request = WebToPay::redirectToPayment(array(
  
      'projectid'     =&gt; *****,
      'sign_password' =&gt; '************************',
      'orderid'       =&gt; $orderid,
      'amount'        =&gt; $price * 100,
      'currency'      =&gt; 'EUR',
      'country'       =&gt; 'LT',
      'accepturl'     =&gt; url().'/redirect-to-server/'.$orderid,
      'cancelurl'     =&gt; $self_url.'/cancel.php',
      'callbackurl'   =&gt; url().'/get-bank-callback',
      'test'          =&gt; 1,
  </code></pre>
  
  <p>This code above redirects me to the <code>accepturl</code> wich is fine. But how I manage to get ID of the file in the <code>accepturl</code> file ?</p>
  
  <p>As you can see in the code above I even post an ID of the element, but I don't know how to get it into the accept.php</p>
  
  <p>This is my accept.php</p>
  
  <pre><code>&lt;?php
  $id = $_GET['orderid'];
   ?&gt;
  
  
      Thank you for buying &lt;?php echo $id ?&gt;
  </code></pre>
  
  <p>And it doesn't work like that</p>