title: Using Payment-Element in Stripe and Laravel
body: <p>We have everything working in Laravel using Stripes card-element. We want to start using the new payment-element. We are currently using the setup intent.</p>
  <p>Following the guide: <a href="https://stripe.com/docs/payments/payment-element/migration" rel="nofollow noreferrer">https://stripe.com/docs/payments/payment-element/migration</a></p>
  <p>Stripe says to add payment methods like so:</p>
  <pre><code>$intent = \Stripe\SetupIntent::create([
    'customer' =&gt; $customer-&gt;id,
    'payment_method_types' =&gt; ['card', 'bancontact', 'ideal'],
  ]);
  </code></pre>
  <p>In Laravel we currently have it setup like so:</p>
  <pre><code>return view('payment.payment')-&gt;with([
      'services' =&gt; $services,
      'intent' =&gt; $user-&gt;createSetupIntent()
  ]);
  </code></pre>
  <p>How do we pass payment_method_types to the Laravel cashier's createSetupIntent() method?</p>