#Senthil
1 messages · Page 1 of 1 (latest)
Did you upgrade your API version recently? From API version 2022-08-01 onwards, customer object will not be created automatically by default for one-time payment.
Yes, I upgraded, but I believe I had the error first! In any case, how do I make it create a customer pleaes?
If you wish to create a customer on one-time payment from API version 2022-08-01 onwards, you can set customer_creation to always in Checkout Session Creation request: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_creation
Yes, that worked, thanks much.
I also had to selectively set it as sometimes I was passing customer id
This sounds good! Happy to help 😄