title: Paypal's IPN Simulator using Laravel 5
body: <p>I'm about to go mental with this problem, I'm implementing an IPN system in my app and started doing tests now using Paypal's IPN Simulator.</p>
  
  <p>When I try to send an IPN simulation, it just gives the following error:</p>
  
  <blockquote>
    <p>We're sorry, but there's an HTTP error. Please try again.</p>
  </blockquote>
  
  <p>First thought - Paypal's service was down - Tested wrong since if I create a blank page and send an IPN message to <code>http://myDNS.com/blankpage.php</code> it is able to send it.</p>
  
  <p>Second thought - Problem with routes - which I think it's not the problem either:</p>
  
  <p>Here's my IPN Listener at the <code>PurchaseController.php</code>:</p>
  
  <pre><code>public function completed()
  {
      //FAHIM's Paypal IPN Listener
  
      $ipn = new PaypalIPNListener();
      $ipn-&gt;use_sandbox = true;
  
      $verified = $ipn-&gt;processIpn();
  
      $report = $ipn-&gt;getTextReport();
  
      Log::info("-----new payment-----");
  
      Log::info($report);
  
      if ($verified) {
          if($_POST['address_status'] == 'confirmed'){
              //sucess
          }
      }
  }
  </code></pre>
  
  <p>In <code>routes.php</code> :</p>
  
  <pre><code>Route::post('purchase/completed/', array('as' =&gt; 'purchase.completed', 'uses' =&gt; 'PurchaseController@completed'));
  </code></pre>
  
  <p>Is there any known problems associated with IPN Simulator and Laravel? </p>
  
  <p>Thank you in advance.</p>