# מנויים: אפשר למשתמשים לרכוש מוצרים חד-פעמיים מספר פעמים

**URL:** <https://meta.discourse.org/t/subscriptions-allow-users-to-purchase-one-time-products-multiple-times/173732>\
**Category:** Feature\
**Tags:** subscriptions\
**Created:** [17 בדצמבר,‏ 2020,‏ 11:32pm UTC](https://meta.discourse.org/t/subscriptions-allow-users-to-purchase-one-time-products-multiple-times/173732 "2020-12-17T23:32:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [17 בדצמבר,‏ 2020,‏ 11:32pm UTC](https://meta.discourse.org/t/subscriptions-allow-users-to-purchase-one-time-products-multiple-times/173732/1 "2020-12-17T23:32:13Z")

</div>

So I’ve created a “CreateServer” product that will (one day) let someone purchase a Discourse installation. It adds them to the CreateServer group. When someone creates a server, it removes them from the group. That’s all good.

But if someone wants to get a second server, they can’t because they have already purchased the product. Is there a way to allow purchasing the same product multiple times? Or, perhaps my solution is to have the plugin modify the record that they purchased the subscription, and then they can buy another. It’s already removing them from the CreateServer group after they do the installation. . .

Something like

```ruby
product=DiscourseSubscriptions::Customer.find_by(user_id: 2, product_id: create_server_id)
product.product_id: 'install fulfilled'
product.save

```

That’ll let the user buy it again. Do you think it’ll break something else?

---

_[View the full topic](https://meta.discourse.org/t/subscriptions-allow-users-to-purchase-one-time-products-multiple-times/173732)._
