#yuvi00001
1 messages · Page 1 of 1 (latest)
Do you mean you would like to always collect payment method on trial subscription using Checkout Session?
yes
By default, Checkout Session with mode: 'subscription' will always collect payment method
No additional setting is required
like now it only asks for billing address/email on trial-checkout and asks for payment method once trial period ends and an invoice gets generated,
in checkout session, I've set mode: 'subscription' only.
Could you share the checkout session ID (cs_xxx), so that I can check how your Checkout Session is created now?
In https://dashboard.stripe.com/test/logs/req_q2Hcshi3Bc22z4, Checkout Session creation request set payment_method_collection to if_required. This will collect payment method when the first invoice is non-zero.
If you wish to collect payment method all the time, payment_method_collection should be set to always (always is the default value)
ohh, I see
thank you @nova gorge !