# API call to Stripe customer id is empty

**URL:** <https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702>\
**Category:** Need help\
**Created:** [August 26, 2022, 9:56am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702 "2022-08-26T09:56:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![samedgurses46](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@samedgurses46](https://forum.bubble.io/u/samedgurses46)\
**Post date:** [August 26, 2022, 9:56am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/1 "2022-08-26T09:56:01Z")

</div>

I make a call to Stripe checkout with the API connector, not the Stripe plugin. But the strange thing is that the customer ID remains empty, it remains empty. The customer ID is of course entered in Stripe, but it is not given to Bubble. See screenshot. What am I doing wrong?

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/2/420c9f7ee816e9d0d6a98fcba652d75d9099cc78.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/d/0d6e5f015ccf0b2da08acf5ca3a106175bbd22f4.png)

---

<div class="post-metadata">

**Author:** ![viquarahmed07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/viquarahmed07/32/145585_2.png) [@viquarahmed07](https://forum.bubble.io/u/viquarahmed07)\
**Post date:** [August 26, 2022, 10:06am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/2 "2022-08-26T10:06:19Z")

</div>

Hi @samedgurses46 👋  
If i understood properly,  
Stripe customer ID is only available if you are using stripe plugin | if you are using it with API connector you need to create new field “Customer ID” on user (I guess).  
or  
It’s not enabled in privacy rules (You need to check `Social Networks` in “User” Privacy rule)

 ![Screenshot 2022-08-26 at 12.03.17](https://us1.discourse-cdn.com/bubble/original/3X/1/0/10f64cf5195b41f12ae2a1a3720b0b6d90eb3476.png)

---

<div class="post-metadata">

**Author:** ![samedgurses46](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@samedgurses46](https://forum.bubble.io/u/samedgurses46)\
**Post date:** [August 26, 2022, 10:09am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/3 "2022-08-26T10:09:04Z")

</div>

i already checked the social networks. What do you exactly mean by creating new field onder user? Because i already have a field called Stripe\_customer\_id

---

<div class="post-metadata">

**Author:** ![viquarahmed07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/viquarahmed07/32/145585_2.png) [@viquarahmed07](https://forum.bubble.io/u/viquarahmed07)\
**Post date:** [August 26, 2022, 10:11am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/4 "2022-08-26T10:11:45Z")

</div>

@samedgurses46 `Current User Stripe customer ID` is only available if you are using stripe plugin  
Just uninstall the stripe plugin from plugins section then you won’t see it  
Since you said,  
you are not using stripe plugin then i guess it won’t have `Current User Stripe customer ID`

---

<div class="post-metadata">

**Author:** ![samedgurses46](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@samedgurses46](https://forum.bubble.io/u/samedgurses46)\
**Post date:** [August 26, 2022, 10:13am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/5 "2022-08-26T10:13:07Z")

</div>

alright i understand you now. Do you know how we can retrieve the customer id with api connector?

---

<div class="post-metadata">

**Author:** ![viquarahmed07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/viquarahmed07/32/145585_2.png) [@viquarahmed07](https://forum.bubble.io/u/viquarahmed07)\
**Post date:** [August 26, 2022, 10:14am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/6 "2022-08-26T10:14:54Z")

</div>

@samedgurses46  
I think this video covers connecting Stripe through API connector  
This might helps 🙂

[![](https://img.youtube.com/vi/HH7wJmJ1xGw/maxresdefault.jpg "Bubble.io 2022 - Get All Your Stripe Customer Info With Bubble API Connector - No 3rd Party Plugin") ](https://www.youtube.com/watch?v=HH7wJmJ1xGw)

---

<div class="post-metadata">

**Author:** ![samedgurses46](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@samedgurses46](https://forum.bubble.io/u/samedgurses46)\
**Post date:** [August 26, 2022, 10:20am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/7 "2022-08-26T10:20:48Z")

</div>

yes, i already checked this video. This just shows how to retrieve all the customers. However what i want is: a customer subscribes to a plan. This customer has a customer id, how can i fill in that cusomter id field in Bubble? Because of the fact that i do not use the Stripe plugin i can not do this Current User Stripe customer ID, so there must be a other way to fill in that field but how

---

<div class="post-metadata">

**Author:** ![viquarahmed07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/viquarahmed07/32/145585_2.png) [@viquarahmed07](https://forum.bubble.io/u/viquarahmed07)\
**Post date:** [August 26, 2022, 10:25am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/8 "2022-08-26T10:25:34Z")

</div>

@samedgurses46  
Well i am not sure how to do that (I never used API connector for stripe)  
Maybe some other experts can help @mikeloc or @adamhholmes🙂

---

<div class="post-metadata">

**Author:** ![viquarahmed07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/viquarahmed07/32/145585_2.png) [@viquarahmed07](https://forum.bubble.io/u/viquarahmed07)\
**Post date:** [August 26, 2022, 10:33am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/9 "2022-08-26T10:33:06Z")

</div>

@samedgurses46 I found this playlist of bubble-stripe integration  
Maybe this can help  
https://www.youtube.com/embed/videoseries?list=PLRekwt5p3ZBO4Nge_xMPIE5T1n5qTSN5L&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

---

<div class="post-metadata">

**Author:** ![samedgurses46](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@samedgurses46](https://forum.bubble.io/u/samedgurses46)\
**Post date:** [August 26, 2022, 10:45am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/10 "2022-08-26T10:45:29Z")

</div>

do you think this might be possible with using backend workflow and webhooks?

---

<div class="post-metadata">

**Author:** ![viquarahmed07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/viquarahmed07/32/145585_2.png) [@viquarahmed07](https://forum.bubble.io/u/viquarahmed07)\
**Post date:** [August 26, 2022, 12:52pm UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/11 "2022-08-26T12:52:24Z")

</div>

Hi @samedgurses46  
Maybe its possible using webhooks but I am not sure 😕

---

<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:** [November 4, 2022, 9:56am UTC](https://forum.bubble.io/t/api-call-to-stripe-customer-id-is-empty/221702/12 "2022-11-04T09:56:51Z")

</div>

Closed on November 4, 2022, 9:56am UTC

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