#cavint9510
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Could you please share the code of how you're calling the confirmSetup?
Are you with me?
Do you want to use automatic payment methods?
Could also please share how you are creating the Payment Element?
yes,i hope collect customer about card infomation,then open subscription free trial.when trial end collection charge .
You need to add AutomaticPaymentMethods to SetupIntentCreateParams: https://stripe.com/docs/api/setup_intents/create#create_setup_intent-automatic_payment_methods
"enable" -> "enabled"
Happy to help!