title: How to get customer data from stripe prebuilt checkout
body: <p>I am trying to integrate stripe prebuilt checkout on my website. It successfully adds customers and payment on my stripe portal. What I need is to get customer details(customer id) so i can add that on mysql database table. As its prebuilt checkout form, stripe automatically adds the customer using the email provided with the transaction.  Here is my code</p>
  <pre><code>\Stripe\Stripe::setApiKey('sk_test_51J...........esLwtMQx7IXNxp00epljtC43');
  
  header('Content-Type: application/json');
  
  $YOUR_DOMAIN = 'mydomain.com';
  
  $checkout_session = \Stripe\Checkout\Session::create([
      'payment_method_types' =&gt; ['card'],
      'line_items' =&gt; [[
        'price'=&gt;&quot;price_1Jt.....vImqj&quot;,
        'quantity'=&gt;1,
      ]],
      'mode' =&gt; 'subscription',
      // 'success_url' =&gt; $YOUR_DOMAIN . '/success.html?session_id={CHECKOUT_SESSION_ID}',
      'success_url' =&gt; $YOUR_DOMAIN . '/success.php',
      'cancel_url' =&gt; $YOUR_DOMAIN . '/cancel.html',
    ]);
  </code></pre>