title: Laravel Omnipay-Mollie error
body: <p>Im trying to make a payment system on my website with <a href="https://github.com/thephpleague/omnipay-mollie/" rel="nofollow">Onmipay-Mollie</a> and <a href="https://github.com/barryvdh/laravel-omnipay" rel="nofollow">Barryvdh-Laravel-Omnipay</a> </p>
  
  <p>When i want to make a 'payment', and submit the form used to make a payment. I'm getting an error: </p>
  
  <pre><code>Omnipay \ Common \ Exception \ RuntimeException
  
  This response does not support redirection.
  </code></pre>
  
  <p>My Routes file:</p>
  
  <pre><code>Route::get('mollietest', ['uses'=&gt;'PurchaseController@index','as'=&gt;'purchase.index']);
  Route::get('paymenturl', ['uses'=&gt;'PurchaseController@create','as'=&gt;'purchase.create']);
  Route::post('paymenturl', ['uses'=&gt;'PurchaseController@store','as'=&gt;'purchase.store']);
  Route::get('checkout', ['uses'=&gt;'PurchaseController@show','as'=&gt;'purchase.show']);
  </code></pre>
  
  <p>And my PurchaseController:</p>
  
  <pre><code>public function index()
      {
          return View::make('mollie');
      }
  
  public function create()
  {
      // get list of issuers
      $gateway = Omnipay::create('Mollie');
      $gateway-&gt;setApiKey(mytestapi);
  
      $payment = $gateway-&gt;fetchPaymentMethods()-&gt;send();
      if($payment-&gt;isSuccessful()){
          $pay = $payment-&gt;getPaymentMethods();
      }
  
  
      $henk = $gateway-&gt;fetchIssuers()-&gt;send();
      if($henk-&gt;isSuccessful()){
          $issuers = $henk-&gt;getIssuers();
      }
  
      return View::make('gewoonbetalen')
          -&gt;with(['issuers'=&gt;$issuers,'pay'=&gt;$pay]);
  }
  
  public function store()
  {
      // make payment
      $gateway = Omnipay::create('Mollie');
      $gateway-&gt;setApiKey(mytestapi);
  
      $order_id = time();
      $params = array(
                      'amount'=&gt;'10.00',
                      'description'=&gt; time(),
                      'method'=&gt;Input::get('paymentmethod'),
                      'returnUrl'=&gt;URL::route('purchase.show'),
                      'redirectUrl'=&gt;URL::route('purchase.show'),
                      'metadata'=&gt; array(
                                      'order_id' =&gt; $order_id,
                                  ),
                      'issuer'=&gt;Input::get('issuer'),
                      );
      $response = $gateway-&gt;purchase($params)-&gt;send();
  
      Log::error('blablalllll');
  
      if($response-&gt;isRedirect()){
           $response-&gt;redirect(); 
      } elseif($reponse-&gt;isPending()) {
          return "Pending, Reference: ". $response-&gt;getTransactionReference();
      } else {
          return "Error " .$response-&gt;getCode() . ': ' .$response-&gt;getMessage();
      }
  }
  
  public function show($id)
  {
      $gateway = Omnipay::create('Mollie');
      $gateway-&gt;setApiKey(mytestapi);
      $response = $gateway-&gt;completePurchase()-&gt;send();
  
      $data = $response-&gt;getData();
  
      print_r($data);
  
  }
  </code></pre>
  
  <p>paymenturl view:</p>
  
  <pre><code>{{Form::open(array('action'=&gt;'purchase.store','method'=&gt;'POST'))}}
  
      &lt;select name="paymentmethod"&gt;
          @foreach($pay as $payment)
              &lt;option value="{{$payment-&gt;getId() }}"&gt;{{$payment-&gt;getName()}}&lt;/option&gt;
          @endforeach
      &lt;/select&gt;
  
      &lt;select name="issuer"&gt;
          @foreach($issuers as $issuer)
          &lt;option value="{{ $issuer-&gt;getId() }}" name="issuer"&gt;{{$issuer-&gt;getName();}}&lt;/option&gt;
          @endforeach
          &lt;option value="1"&gt;of wat anders&lt;/option&gt;
      &lt;/select&gt;
  
      {{Form::submit()}}
  {{Form::close()}}
  </code></pre>
  
  <p>Is there anything missing or whatever? i've been busy with this all weekend but with no success. Is there anyone who can tell me what is wrong? </p>
  
  <p><strong>FYI: I am doing this on my localhost. Don't know if this is any problem (shouldn't be)</strong></p>