Stripe plugin create a new customer on subscription.upgrade click.

I have 2 different buttons to subscription.upgrade in my app. After user is registered customer is created in stripe according to createCustomerOnSignUp: true, in plugin config. But when I navigate to one of my 'Subscribe' buttons and click on it -> subscription.upgrade just creates new user in stripe instead of triggering checkout session:
2025-04-20 14:38:59 --> customer.created [evt_1RG3hf4FS9Rcg327BHPwlIez]
2025-04-20 14:38:59 <-- [200] POST http://localhost:3000/api/auth/stripe/webhook [evt_1RG3hf4FS9Rcg327BHPwlIez]
2025-04-20 14:39:30 --> customer.created [evt_1RG3iA4FS9Rcg3277wHm3FS7]
2025-04-20 14:39:30 <-- [200] POST http://localhost:3000/api/auth/stripe/webhook [evt_1RG3iA4FS9Rcg3277wHm3FS7]
2025-04-20 14:39:58 --> customer.created [evt_1RG3ic4FS9Rcg327i3WXWvDt]
2025-04-20 14:39:58 <-- [200] POST http://localhost:3000/api/auth/stripe/webhook [evt_1RG3ic4FS9Rcg327i3WXWvDt]
2025-04-20 14:40:09 --> customer.created [evt_1RG3in4FS9Rcg327ktiFZ3YX]
2025-04-20 14:40:09 <-- [200] POST http://localhost:3000/api/auth/stripe/webhook [evt_1RG3in4FS9Rcg327ktiFZ3YX]
2025-04-20 14:38:59 --> customer.created [evt_1RG3hf4FS9Rcg327BHPwlIez]
2025-04-20 14:38:59 <-- [200] POST http://localhost:3000/api/auth/stripe/webhook [evt_1RG3hf4FS9Rcg327BHPwlIez]
2025-04-20 14:39:30 --> customer.created [evt_1RG3iA4FS9Rcg3277wHm3FS7]
2025-04-20 14:39:30 <-- [200] POST http://localhost:3000/api/auth/stripe/webhook [evt_1RG3iA4FS9Rcg3277wHm3FS7]
2025-04-20 14:39:58 --> customer.created [evt_1RG3ic4FS9Rcg327i3WXWvDt]
2025-04-20 14:39:58 <-- [200] POST http://localhost:3000/api/auth/stripe/webhook [evt_1RG3ic4FS9Rcg327i3WXWvDt]
2025-04-20 14:40:09 --> customer.created [evt_1RG3in4FS9Rcg327ktiFZ3YX]
2025-04-20 14:40:09 <-- [200] POST http://localhost:3000/api/auth/stripe/webhook [evt_1RG3in4FS9Rcg327ktiFZ3YX]
CustomerId also assigned properly to user initially after signup. Does anyone know why this happens and how to fix it ?
2 Replies
Duki
Duki5d ago
I experience the same behavior. Have you found out why this is happening yet?
Glen Kurio
Glen KurioOP5d ago
Still have no idea. No response. I just implemented Stripe separately. @bekacru Can you help us out with this?

Did you find this page helpful?