# 2 users buy at the same time

**URL:** <https://forum.adalo.com/t/2-users-buy-at-the-same-time/35651>\
**Category:** Get Help\
**Created:** [January 25, 2023, 6:41pm UTC](https://forum.adalo.com/t/2-users-buy-at-the-same-time/35651 "2023-01-25T18:41:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rayane](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@rayane](https://forum.adalo.com/u/rayane)\
**Post date:** [January 25, 2023, 6:41pm UTC](https://forum.adalo.com/t/2-users-buy-at-the-same-time/35651/1 "2023-01-25T18:41:47Z")

</div>

I have products with limited quantities. And I want to create an action that checks the stock before sending the payment request to stripe, I contacted support no solution is there anyone here who has a solution

---

<div class="post-metadata">

**Author:** ![Amber](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/amber/32/24850_2.png) [@Amber](https://forum.adalo.com/u/Amber)\
**Post date:** [January 25, 2023, 6:57pm UTC](https://forum.adalo.com/t/2-users-buy-at-the-same-time/35651/2 "2023-01-25T18:57:56Z")

</div>

You can add a condition on the Payment action with the Quantity for the product is greater than 0… If you need more help, you will need to share a little bit more about your apps setup.

---

<div class="post-metadata">

**Author:** ![rayane](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@rayane](https://forum.adalo.com/u/rayane)\
**Post date:** [January 25, 2023, 7:04pm UTC](https://forum.adalo.com/t/2-users-buy-at-the-same-time/35651/3 "2023-01-25T19:04:25Z")

</div>

I am creating a marketplace, and the customer goes to a product page, presses a button to display a sheet with the stripe payment marketplace component. The basic setup.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [February 4, 2023, 7:05pm UTC](https://forum.adalo.com/t/2-users-buy-at-the-same-time/35651/4 "2023-02-04T19:05:15Z")

</div>

Closed on February 4, 2023, 7:05pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
