#Zan

1 messages · Page 1 of 1 (latest)

median harnessBOT
small monolith
#

By default Checkout only creates Customer objects when required. What is it you're trying to do?

acoustic sapphire
#

I had an issue in past that Stripe had refunded all the money to customers incorrectly.

#

After Stripe un-blocked the account, I requested to re-charge customers for refunded payments

#

But they said it's not possible for Guest accounts

#

I have to create customer accounts so that they can be charged automatically when required

#

Is that even true?

small monolith
#

In the context of recurring payments yes

acoustic sapphire
#

So if i configure "Always", it will by default create customer account and if customer needs to be charged then can i manage from my end?

small monolith
#

You mean a subsequent payment outside of the original Checkout payment?

acoustic sapphire
#

yes subsequent payment

#

i.e: in case original is refunded by stripe then i need to re-collect it

small monolith
#

That will save the payment details entered by the customer on checkout for re-use

acoustic sapphire
#

perfect

#

Is creating customer still useful? Or not much diff from Guest?

small monolith
#

Saving the payment details like that will inherently create a customer too (its required for saving payment details)

acoustic sapphire
#

ah okey

small monolith
#

That's when the customer_creation: 'if_required' kicks in as by you saying 'save these payment details', we require a customer for that.

acoustic sapphire
#

got it.

#

Thanks

small monolith
#

np!

acoustic sapphire
#

Sorry

#

I just created session as you suggested

#

but i see no detail for new customer

#

acct_1LoknjQTVQcO2NN7

small monolith
#

Can you share the cs_xxx ID of the session?

acoustic sapphire
#

can't find it

#

I have pi pi_3MM9SnQTVQcO2NN715d21nB4

small monolith
#

Ok, it's this: cs_test_a1OXCPsvEHH4QBOtpfZsSHCakVGwIxV7bLFnmpmmWIJfYAYSQIz1pELJOU

#

What do you mean by 'customer details'?

acoustic sapphire
#

name, payment detail etc

#

That could be because i had called function to create customer before session. Then i commented that line out and tried again.

#

And this time it created account but also see this

#

How does it connect all these emails and bank detail with one account? Based on name?

small monolith
#

That's just another Guest Customer, not an actual Customer object

small monolith
acoustic sapphire
#

yeah, that's guest too

small monolith
#

Trying to figure out why your Checkout Session didn't create an actual customer

small monolith
#

Still checking!