#BoB
1 messages · Page 1 of 1 (latest)
Hi there!
How are you accepting payments now? Checkout Session, PaymentIntent, something else?
paymentintent
Got it. For PaymentIntent the customer object is optional: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-customer
So if you want to see information about the customer, make sure you pass a customer ID when you create the PaymentIntent
if you mean the "cus_" i have no parameter to pass since the customer is not registered, so if i use Paymentintent i have first to create che user then i have to start the payment flow? is this correct?
If you want information about your customer, then you need to pass a customer ID (cus_xxx) when you create the PaymentIntent.
So it means you first need to have a customer object with some information about the customer yes.