#MarkoBoras

1 messages · Page 1 of 1 (latest)

abstract fractalBOT
full bone
#

or can I do this

steep finch
#

hi! let me think about it. As far as I know at least under the 'real' Customer cus_xxx you might create later, you will see a 'related guest payments' section that shows you previous payments from that same source

full bone
#

customer is created after checkout for every user

#

my question above is stupid when I think now

#

can I create customer after checkout with data that he provided during checkout?

steep finch
#

depends which data exactly, for example you can get the email address they used in the Session and create a Customer from that, but you can't access their card details(the PaymentMethod) and create a Customer with that for instance

full bone
#

I just need his email and address to create customer after checkout

#

Is there some functionality that stripe automatically will create customer after successful checkout or should I do that with webhooks

steep finch
#

not sure if that's what you're looking for. If not, you can also manually create a Customer post-hoc in a webhook handler using details from the customer_detail hash on the Session ,yes

full bone
#

let me check that

#

customer_creation: 'always',

#

so if I set this

#

after checkout user'll be created?

steep finch
#

per the docs : "The Checkout Session will always create a Customer when a Session confirmation is attempted."

abstract fractalBOT
full bone
#

ok let me check

#

it works

#

tnxx