# Stripe and Stripe Customer Portal - Duplicate Customer

**URL:** <https://forum.bubble.io/t/stripe-and-stripe-customer-portal-duplicate-customer/254710>\
**Category:** Need help\
**Created:** [March 31, 2023, 11:02pm UTC](https://forum.bubble.io/t/stripe-and-stripe-customer-portal-duplicate-customer/254710 "2023-03-31T23:02:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegranado](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/felipegranado/32/125239_2.png) [@felipegranado](https://forum.bubble.io/u/felipegranado)\
**Post date:** [March 31, 2023, 11:02pm UTC](https://forum.bubble.io/t/stripe-and-stripe-customer-portal-duplicate-customer/254710/1 "2023-03-31T23:02:09Z")

</div>

Hi guys! I have a question…

In my app, the customer registers for free. At the time of registration, he receives a `customer_id` (through the Stripe Customer Portal plugin), creating a customer in Stripe.

When this customer switches to a paid plan and fills in their credit card details and “name on card” (via Stripe checkout), Stripe creates a new customer based on “name on card” and with a new `customer_id`.

As a result, I cannot use the plan upgrade because the `customer_id` registered in Bubble’s database is different from the `customer_id` that has the information on the paid plan.

Can you understand? haha ha

Follow images to illustrate.

Thanks in advance.

 ![Mike Wazowsky](https://us1.discourse-cdn.com/bubble/original/3X/0/c/0cd8b464899c3d69a76d51cd8d00232fc3456050.png)

---

<div class="post-metadata">

**Author:** ![evgenia.tarasenko](https://avatars.discourse-cdn.com/v4/letter/e/e495f1/32.png) [@evgenia.tarasenko](https://forum.bubble.io/u/evgenia.tarasenko)\
**Post date:** [April 19, 2023, 10:40am UTC](https://forum.bubble.io/t/stripe-and-stripe-customer-portal-duplicate-customer/254710/2 "2023-04-19T10:40:01Z")

</div>

Hi! Were you able to solve it?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [June 9, 2023, 11:02pm UTC](https://forum.bubble.io/t/stripe-and-stripe-customer-portal-duplicate-customer/254710/3 "2023-06-09T23:02:27Z")

</div>

Closed on June 9, 2023, 11:02pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
