title: Having issue to store stripe payment details in Laravel 5.1
body: <p>I am integrating Stripe payment in Laravel 5.1 for the first time and I am referring this tutorial <a href="http://felicianoprochera.com/simple-payments-with-stripe-and-laravel/" rel="nofollow noreferrer">Simple Payments with Stripe and Laravel</a> and completed all the steps. </p>
  
  <p>After payment, I am getting this error:</p>
  
  <p><a href="https://i.stack.imgur.com/StSFw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/StSFw.jpg" alt="enter image description here"></a></p>
  
  <p>In stripe logs, its show me the payment done successfully.</p>
  
  <p>I am getting this error in this function:</p>
  
  <pre><code>public function createStripeCustomer($token)
  {
      \Stripe\Stripe::setApiKey(env('STRIPE_SECRET'));
  
      $customer = \Stripe\Customer::create(array(
          "description" =&gt; Auth::user()-&gt;email, &lt;-- Error at this line
          "source" =&gt; $token
      ));
  
      //Auth::user()-&gt;stripe_id = $customer-&gt;id;
      Auth::user()-&gt;save();
  
      return $customer;
  }
  </code></pre>
  
  <p>I have created bellow schema for the user but don't understand which details need to store:</p>
  
  <pre><code>Schema::table('users', function ($table) {
      $table-&gt;string('stripe_id')-&gt;nullable();
      $table-&gt;string('card_brand')-&gt;nullable();
      $table-&gt;string('card_last_four')-&gt;nullable();
      $table-&gt;timestamp('trial_ends_at')-&gt;nullable();
  });
  </code></pre>