title: Laravel with Stripe returns "No such plan: 1 error"
body: <p>I am using Laravel for payment gateway. For payment gateway I use Stripe. When I run this code it will show me:</p>
  
  <blockquote>
    <p>No such plan: 1 error</p>
  </blockquote>
  
  <p><strong>Controller:</strong></p>
  
  <pre><code>public function create(Request $request, Plan $plan)
      {
          if($request-&gt;user()-&gt;subscribedToPlan($plan-&gt;stripe_plan, 'main')) {
              return redirect()-&gt;route('home')-&gt;with('success', 'You have already subscribed the plan');
          }
          $plan = Plan::findOrFail($request-&gt;get('plan'));
          $stripeToken = $request-&gt;stripeToken;
          $user = $request-&gt;user();
          $stripeplan = $request-&gt;stripe_plan;
          $planid = $request-&gt;plan;
  
          $user-&gt;newSubscription($stripeplan, $planid)-&gt;create($stripeToken, [ ]);
  
          return redirect()-&gt;route('home')-&gt;with('success', 'Your plan subscribed successfully');
      }
  </code></pre>