title: Configuring Omnipay-stripe to work with PCI SCA using Laravel
body: <p>I'm following the example on <a href="https://github.com/thephpleague/omnipay-stripe" rel="nofollow noreferrer">Stripe Payment Intents</a> to enable PCI SCA card processing, but receive the following error:</p>
  <p><code>dev.ERROR: Call to undefined method Omnipay\Stripe\Message\Response::getPaymentIntentReference()</code></p>
  <p>The code section is copied from the example:</p>
  <pre><code>$response = $gateway-&gt;authorize($purchaseVals)-&gt;send();
  
  $paymentIntentReference = $response-&gt;getPaymentIntentReference();
  
  $response = $gateway-&gt;confirm([
                                  'paymentIntentReference' =&gt; $paymentIntentReference,
                                  'returnUrl' =&gt; $completePaymentUrl,
                                ])-&gt;send();
  </code></pre>
  <p>Does anyone have a clue as to what I'm doing wrong?</p>
  <p>Edit: Versions!</p>
  <ul>
  <li>Laravel Framework 5.8.38</li>
  <li>phpleague/omnipay-stripe 3.1.0</li>
  </ul>