#Siva_K - Customer

1 messages ยท Page 1 of 1 (latest)

merry birch
#

HI ๐Ÿ‘‹

flat bison
#

Hi Thank you for response

merry birch
#

You would set the customer_creation parameter to always when creating the Checkout Session

flat bison
#

Thank you so much

merry birch
#

You're very welcome, that's why we are here ๐Ÿ™‚

flat bison
#

Can we set the current created payment methods as default to the Customer created in checkout session

merry birch
#

To do that you would want to listen to the Checkout Session completed event and then set the newly created payment method as the default for the customer. The checkout event would have both the Payment method and customer IDs in it.

flat bison
#

which API do i need to use to set default payment method

merry birch
flat bison
#

yes got it thank you

#

you(Stripe) guys are aswome!