# Return Customer ID from Stripe Component

**URL:** <https://forum.adalo.com/t/return-customer-id-from-stripe-component/30402>\
**Category:** Get Help\
**Created:** [August 5, 2022, 2:09am UTC](https://forum.adalo.com/t/return-customer-id-from-stripe-component/30402 "2022-08-05T02:09:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Flawless](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/flawless/32/20131_2.png) [@Flawless](https://forum.adalo.com/u/Flawless)\
**Post date:** [August 7, 2022, 11:56am UTC](https://forum.adalo.com/t/return-customer-id-from-stripe-component/30402/5 "2022-08-07T11:56:40Z")

</div>

Check out my replies in this thread:

> [@Cancel subscription stripe with update true/false user](https://forum.adalo.com/t/cancel-subscription-stripe-with-update-true-false-user/24846/4):
>
> Create an external collection of your stripe subscriptions. ([Stripe API reference – List subscriptions – curl](https://stripe.com/docs/api/subscriptions/list)) Add a parameter to your user collection called “Stripe Customer ID” When a user creates a payment, add a custom action to grab the user’s stripe customer ID. [Use the list all customers API](https://stripe.com/docs/api/customers/list) and query by the logged-in user email. Update the user’s stripe customer ID with that value that’s returned from the API call. Add a list of subscriptions and query the list by the logged-in user s…

First, add a text parameter to your user collection and call it “stripe customer id”.  
After a user has subscribed, you can send them to a new screen with a countdown timer list of all stripe customers and query it by the user’s email address. Then, you’d be able to update the logged-in user’s “stripe customer id” parameter.

---

_[View the full topic](https://forum.adalo.com/t/return-customer-id-from-stripe-component/30402)._
