#cavint9510

1 messages · Page 1 of 1 (latest)

novel bearBOT
fallen jewel
#

Yes! For subscription with trial (first invoice is $0), a pending_setup_intent will be created. So the steps will be:

  1. Create a subscription with trial and expand pending_setup_intent field
  2. Return the client secret from pending_setup_intent.client_secret to the client
  3. Payment Element renders from the client secret in Step 2
  4. Use stripe.confirmSetup(..) to complete the payment method collection
unique estuary
#

Okay, now I'll try

#

I have another question. I want to start the trial after collecting the user's credit card and other information, and the subscription fee will be deducted automatically after the trial period. What should I Do (stripe element)

fallen jewel
#

When you create the subscription with collection_method: 'charge_automatically' (default), Stripe will deduct from the saved payment method automatically after the trial ends

novel bearBOT