title: How do I update the customers default payment method in Stripe after creating a paymentIntent?
body: <p>I am trying to setup a subscription for a connect account. My flow is create the customer:</p>
  <pre><code>    $customer = \Stripe\Customer::create([
          'description' =&gt; &quot;Product&quot;,
      ], ['stripe_account' =&gt; $configuration['StripeKey']]);
  </code></pre>
  <p>Then I create the PaymentIntent:</p>
  <pre><code>    $intent = \Stripe\PaymentIntent::create([
        'amount' =&gt; $price,
        'currency' =&gt; $configuration['Currency'],
        'customer' =&gt; $customer-&gt;id,
      ], ['stripe_account' =&gt; $configuration['StripeKey']]);
  </code></pre>
  <p>The customer enters their card details and the card is successfully applied to the customer.
  However I need to set the card as default in order to create a subscription for the customer but when retrieving the paymentIntent with:</p>
  <pre><code> $pm = \Stripe\PaymentIntent::retrieve($_POST['payment_intent'], ['stripe_account' =&gt;  $configuration['StripeKey']]);
  </code></pre>
  <p>The payment_method shows as null despite there being a payment method in the dashboard.</p>
  <p>Where am I going wrong here?</p>