#Min.K

1 messages · Page 1 of 1 (latest)

pearl swallowBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

  • Min.K, 38 minutes ago, 3 messages
  • Min.K, 4 hours ago, 4 messages
  • Min.K, 23 hours ago, 5 messages
  • Min.K, 4 days ago, 9 messages
  • Min.K, 4 days ago, 3 messages
  • Min.K, 4 days ago, 8 messages
    and 4 more
grave portal
#

With Checkout Session in subscription mode, customer will always be required, i.e. create a new one or use an existing one with customer field set.

If you do not wish to create a new customer, I'd recommend setting the customer (cus_xxx) that associated with the email, so that no new customer will be created

ocean thistle
#
If you do not wish to create a new customer, I'd recommend setting the customer (cus_xxx) that associated with the email, so that no new customer will be created

No, I want a new CustomerId to be generated each time I perform a new subscription via the Stripe Checkout Session API. Right now, if the email is the same, the subscription is created with the most recently created CustomerId that has the same email.

grave portal
#

Hmm... Can you share an example Checkout Session (cs_xxx) with this scenario? It shouldn't be the case

ocean thistle
#

Ok wait a minutes please

#

Case

  1. Call Checkout Session API for Subscription A (with customer_email == A)
  2. Invoice paid completed.
  3. Stripe Customer Generated (cus_1)
  4. cus_1 customer has subscription A
  5. Call Checkout Session API for Subscription B (with customer_email == A)
  6. Invoice paid completed.
  7. Stripe Customer did not generated.
  8. cus_1 customer has subscription B

I want a new CustomerId to be generated even if it is the same email.

ocean thistle
#

May I ask for an answer?

grave portal
#

I don't see the example Checkout Session ID (cs_xxx) for the flow you described.

#

This flow shouldn't happen as mentioned earlier

#

I'd need the example Checkout Session ID (cs_xxx) to check what happened

#

At step 5 without setting customer, it should create a new customer even though the email is the same

pearl swallowBOT
ocean thistle
#

I just tested it with a different card number and it seems to have created a new Customer.

By any chance, does it recycle the same CustomerId if they have the same email and use the same card?

median cobalt
#

Hi! I'm taking over this thread.

ocean thistle
#

Hi

median cobalt
ocean thistle
#

No, i do not want to reuse

median cobalt
#

Then never pass a customer ID.

ocean thistle
#

Wait a minute

#

Hi. I think I may have misidentified this issue, sorry for the hassle.