title: Stripe with PaymentIntents. Following subscription makes new charge
body: <p>I just updated my code to Stripe Payment Intents API and I want to make a subscription to a plan just after the payment.</p>
  
  <ul>
  <li>When the customer installs the app, a subscription to it is created with a trial period</li>
  <li><p>When he wants to pay for a longer period, he goes on a page in which he first select the plan he wants, then fill his customer informations (name, mail etc.).</p></li>
  <li><p>Then I make a post request to <strong>/payment_intents</strong> with these four informations:</p>
  
  <ul>
  <li><p>amount (Amount of the plan)</p></li>
  <li><p>currency</p></li>
  <li><p>payment_method_type[]</p></li>
  <li><p>customer</p></li>
  </ul></li>
  <li><p>I then send the <strong>client_secret</strong> returned by the request to my js script in order to process the payment. </p></li>
  </ul>
  
  <p>If the payment succeeds I update the subscription on POST <strong>/subscription/id</strong>
  and set <strong>trial_end=now</strong></p>
  
  <p>But on the Dashboard, I see on my customer page there was two payments:
  <a href="https://i.stack.imgur.com/TAs8X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TAs8X.png" alt="Customer Payments"></a></p>
  
  <p>I (think I) know the second charge is made by the subscription, but how can I make a subscription without creating a new charge ?</p>
  
  <p>Thanks for any help!</p>