#LeeEight-checkout

1 messages · Page 1 of 1 (latest)

jade gale
plucky girder
#

Yes, I found this document. I have many payments through Payment Links. I tried to use Export function in Payments page but no data about customer. How I can setup customer creation for payment links?

#

I tried on a test account and it set to "always". But in Live account, it's "if_required"

jade gale
#

Are you creating Checkout Sessions or Payment Links?

plucky girder
#

I created Payment Links. I need to export all succeeded payments

jade gale
#

So you are listing all your Payment Links, and try to find the corresponding customers?

plucky girder
#

yes, my purpose is get the data of customer through payments

jade gale
#

Got it! Let me look into this.

plucky girder
#

I saw all customers saved as Guest

jade gale
#

Sorry for the delay, Discord is quite busy.

plucky girder
jade gale
#

Got it! So yes this looks like this is the expected behaviour. For payment link, customer_creation is set to if_required and cannot be changed.

#

If you want more control over the customer creation process, then I would recommend using Checkout Session instead.

plucky girder
#

But I tried on my test account: Benefit Development

#

customer creation is set to "always"

jade gale
#

That makes sense, because that's something that changed recently with the API.
So one of your account has the old behaviour ("always") and one account has the new behaviour ("if_required")