#Joycey
1 messages · Page 1 of 1 (latest)
I meant, will it create NEW customer.
hi! yes, it will create a new one if you're using PaymentLinks, they're simple no-code no-state links to accept a payment/start a subscription
if you don't want that you'd need to more directly use CheckoutSessions yourself with your own custom code/website so you can authenticate a returning user and identify an existing Stripe Customer cus_xxx to use with the CheckoutSession
Got it! Thank you.
Oh, but what happens when the subscription gets renewed or deleted? Does it intimate with the same cus_zbc it was created with or new customer id will be generated?
renewal doesn't change the customer
it's just the existing Subscription generating a new Invoice each month(for example) automatically
not sure how your question relates to deleting the subscription, deleting the subscription does just delete it yes(the Customer cus_xxx is otherwise unaffected)
does that help?
Yes, it does. Ty again!
Hi! I'm taking over my colleague. Please, let me know if you have any other questions.
One more question.. Say I initially subscribed to a plan and I was assigned customer id cus_123. Few months later, I've upgraded to plan B and I am now assigned customer id cus_245. What will be the last webhook event sent regarding cus_123 as it will no longer get further updates?
Oh, are they totally irrelevant to each other?
Did you update the Customer ID value yourself?
No, auto generated from following payment link to payment checkout
But it's not an upgrade then, you just created a new Stripe Customer and a new Subscription.
Yes. So in that case the old cus_123 will have no events sent, right? Just confirming what I'm assuming is right.
What kind of events are you listening to?
customer.created/updated, customer.subscription.created/updated, invoice.paid and such..
If it's a different Customer and Subscription, then no, you won't get any related events.
Please, let me know if you have any other questions.
That's all thanks.