#truuutipz - payment link customer
1 messages ยท Page 1 of 1 (latest)
Hi ๐
What do you mean by "create a new Stripe Customer for this API"?
We do have an option you can set when creating a Payment Link to configure whether Stripe always creates a new Customer or not.
https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-customer_creation
truuutipz - payment link customer
Every time a customer pays on a payment link, a new Stripe customer account gets generated but we don't want that. What does it mean if we do if_required? What happens if we select that? For customer_creation in Stripe Payment Link API.
Hi there
Payment Links are designed for a one-to-many integration. So yes, each time a new Customer would be created. If you don't want this, then you would want to use Checkout and not Payment Links and pass in the Customer ID when creating the Checkout Session.
In terms of if_required not all PaymentMethods require a Customer object.
So, for example, with Cards you would not see a Customer created
However, with a bank debit payment method then there would be a Customer created.
Thank you!