#yuvi00001

1 messages · Page 1 of 1 (latest)

wind archBOT
nova gorge
#

Do you mean you would like to always collect payment method on trial subscription using Checkout Session?

pliant summit
#

yes

nova gorge
#

By default, Checkout Session with mode: 'subscription' will always collect payment method

#

No additional setting is required

pliant summit
#

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.

nova gorge
#

Could you share the checkout session ID (cs_xxx), so that I can check how your Checkout Session is created now?

pliant summit
#

sure

#

cs_test_a1PIPjVYGTHzuavvpCemzS6t1GWp3aV33L2P3pVtUH1o0SxynV0AIjVy2J

#

here

nova gorge
#

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)

pliant summit
#

ohh, I see

thank you @nova gorge !