#luca.mazzilli
1 messages · Page 1 of 1 (latest)
a) why is a new zero invoice created? It would be much better to avoid during the trial
This is expected for subscription created with trial.
From https://stripe.com/docs/billing/subscriptions/trials:
When creating a subscription with a trial period, no payment method is required for the customer. An immediate invoice is still created, but for $0.
b) why in the logs do I see a new setupintet created (not by me) which I then find deleted later?
Can you share the subscription ID (sub_xxx)?
When subscription with trial is created, pending_setup_intent will be created.
Since default_payment_method has been set in your Subscription Creation request https://dashboard.stripe.com/test/logs/req_g1cMcvXUTEOu0y, the Setup Intent was not needed and canceled
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ok, so my process is correct or I need to change something?
Your integration in sub_1NsuVOGQfeKBxuc4TIXOlU5z looks good to me
thank you!!
Just one last question. If I found something wrong when I retribe setup_intend (card declined,....) , what's the best approach to use? Should I restart the entire process (avoiding customer creation) and create a new setup intent?
Same setup intent can be re-used
perfect, I didn't know that. Many thanks for your time and support.