title: Stripe creating Checkout session throws error ( Stripe\Exception\InvalidRequestException Invalid array )
body: <p>I've been trying to create a checkout session for a payment which should be directed in connected account.
  whenever I'm trying to create a session using the code below I get <code>InvalidRequestException</code> saying <code>Invalid array</code></p>
  <p>Here's my code below,<br/></p>
  <pre><code>    \Stripe\Stripe::setApiKey(env('STRIPE_SECRET'));
      
      $stripe = new \Stripe\StripeClient(env('STRIPE_SECRET'));
  
      $session = \Stripe\Checkout\Session::create([       
        'payment_method_types' =&gt; ['card'],
        'line_items' =&gt; [
          'price_data' =&gt; [
                'unit_amount' =&gt; 25000,
                'currency' =&gt; 'usd',
                'product_data' =&gt; ['name' =&gt; 'Product8', 'active' =&gt; true],
              ],
          'quantity' =&gt; 2,
        ],
        'mode' =&gt; 'payment',
        'success_url' =&gt; 'http://devweb.drivinggradebook.com/',
        'cancel_url' =&gt; 'https://www.drivinggradebook.com/',
        'payment_intent_data' =&gt; [
          'application_fee_amount' =&gt; 10,
        ],
      ], ['stripe_account' =&gt; 'acct_1L7ugjSJzLhcy6eF']);
  </code></pre>
  <p>Please help me out with it,
  Thanks</p>