[Skip to main content](#vessel-content)

#   How does work keys reservation in Hikaserial?

##

- **[DimLVL](/forum/user/32108-dimlvl "View DimLVL's Profile")**
- [![DimLVL's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar32108.jpg)](/forum/user/32108-dimlvl "View DimLVL's Profile") Topic Author
- [ Offline](/forum/user/32108-dimlvl)

Less More

- Posts: 61
- Thank you received: 0
-
-

9 years 11 months ago [\#257127](#257127) by [DimLVL](/forum/user/32108-dimlvl "View DimLVL's Profile")  *[How does work keys reservation in Hikaserial?](/forum/14-hikaserial/887834-how-does-work-keys-reservation-in-hikaserial#257127 "-- url of the page with the problem -- :   time4digi.com/  -- HikaSerial version -- : last -- Joomla version -- : last  Hello, We are selling game activation keys with digital delivery. The key is provided after payment confirmation. We've got payment system, which provides payment confirmation in 10-15 minutes, and sometimes it can take up to 3 days. The question is, What will happen if in stock left only 1 key, and in those 3 days someone else will buy the same product? So, 2 buyers for the 1 key. Is there some kind of reservation/conflict?")* was created by *[DimLVL](/forum/user/32108-dimlvl "View DimLVL's Profile")*

-- url of the page with the problem -- : [ time4digi.com/](https://time4digi.com/)
-- HikaSerial version -- : last
-- Joomla version -- : last

Hello,
We are selling game activation keys with digital delivery. The key is provided after payment confirmation.
We've got payment system, which provides payment confirmation in 10-15 minutes, and sometimes it can take up to 3 days. The question is,
What will happen if in stock left only 1 key, and in those 3 days someone else will buy the same product? So, 2 buyers for the 1 key. Is there some kind of reservation/conflict?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODg3ODM0LWhvdy1kb2VzLXdvcmsta2V5cy1yZXNlcnZhdGlvbi1pbi1oaWthc2VyaWFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#257128](#257128) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How does work keys reservation in Hikaserial?](/forum/14-hikaserial/887834-how-does-work-keys-reservation-in-hikaserial#257128 "-- url of the page with the problem -- :   time4digi.com/  -- HikaSerial version -- : last -- Joomla version -- : last  Hello, We are selling game activation keys with digital delivery. The key is provided after payment confirmation. We've got payment system, which provides payment confirmation in 10-15 minutes, and sometimes it can take up to 3 days. The question is, What will happen if in stock left only 1 key, and in those 3 days someone else will buy the same product? So, 2 buyers for the 1 key. Is there some kind of reservation/conflict?")*

Hi,

The serial will be assigned only when the order will be confirmed, there is no reservation when the order is created.
Some elements in the HikaSerial structure could allow such kind of organization but there is currently no option to activate it because it didn't seem to be required.

Regarding your request ; I'll highly recommend you to configure the notification on low stock level.
[ www.hikashop.com/support/documentation/1...l#stock\_level\_notify](https://www.hikashop.com/support/documentation/117-pack-edition.html#stock_level_notify)

When using a generator you have a virtually an unlimited stock of serial but when you using serial from the database ; best is to have some notification to be able to refill your database before it comes empty.
If, due to a rush or else, some order are confirmed but not serial available ; you would have to refill your database and then use the "refresh association" button in the corresponding orders.
HikaSerial will check the order and assign the missing serials.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [DimLVL](/forum/user/32108-dimlvl "View DimLVL's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODg3ODM0LWhvdy1kb2VzLXdvcmsta2V5cy1yZXNlcnZhdGlvbi1pbi1oaWthc2VyaWFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[DimLVL](/forum/user/32108-dimlvl "View DimLVL's Profile")**
- [![DimLVL's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar32108.jpg)](/forum/user/32108-dimlvl "View DimLVL's Profile") Topic Author
- [ Offline](/forum/user/32108-dimlvl)

Less More

- Posts: 61
- Thank you received: 0
-
-

9 years 11 months ago [\#257176](#257176) by [DimLVL](/forum/user/32108-dimlvl "View DimLVL's Profile")  Replied by *[DimLVL](/forum/user/32108-dimlvl "View DimLVL's Profile")* on topic *[How does work keys reservation in Hikaserial?](/forum/14-hikaserial/887834-how-does-work-keys-reservation-in-hikaserial#257176 "-- url of the page with the problem -- :   time4digi.com/  -- HikaSerial version -- : last -- Joomla version -- : last  Hello, We are selling game activation keys with digital delivery. The key is provided after payment confirmation. We've got payment system, which provides payment confirmation in 10-15 minutes, and sometimes it can take up to 3 days. The question is, What will happen if in stock left only 1 key, and in those 3 days someone else will buy the same product? So, 2 buyers for the 1 key. Is there some kind of reservation/conflict?")*

Thanks for the reply, Jerome.
We have serials from db, and unfortunately for most our products refill will not work, since it's almost impossible to refill same product all the time because of unavailability (we are selling also 3rd party serials, which could be unavailable). And in case we will be forced to make a refund because of lack of the stock, we will have to pay additional fees to the payment system for the refund, which could be really high. Maybe it's still possible to switch on the reservation somehow? Otherwise, soon we have to expect consequences I afraid.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODg3ODM0LWhvdy1kb2VzLXdvcmsta2V5cy1yZXNlcnZhdGlvbi1pbi1oaWthc2VyaWFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#257221](#257221) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How does work keys reservation in Hikaserial?](/forum/14-hikaserial/887834-how-does-work-keys-reservation-in-hikaserial#257221 "-- url of the page with the problem -- :   time4digi.com/  -- HikaSerial version -- : last -- Joomla version -- : last  Hello, We are selling game activation keys with digital delivery. The key is provided after payment confirmation. We've got payment system, which provides payment confirmation in 10-15 minutes, and sometimes it can take up to 3 days. The question is, What will happen if in stock left only 1 key, and in those 3 days someone else will buy the same product? So, 2 buyers for the 1 key. Is there some kind of reservation/conflict?")*

Hi,

The "reservation" system require some patchs in the HikaSerial core.
In the HikaSerial class "order", there is a function named "postUpdate" which is called after an HikaShop order is created or updated.

The goal of that function is to check the order status and assign (or unassign) serial depending it.
An improvement for that function would be to handle the order creation and pre-assign a serial using the serial status "reserve".
I take a look yesterday night and I already spend some time but such implementation will need some time and I cannot activate it "in a rush".
But I can put that feature in the TODO list for the next HikaSerial release ; the reservation system is something I imagine some time ago but it was not required at this time. You're the first person with a real need of it.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [DimLVL](/forum/user/32108-dimlvl "View DimLVL's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODg3ODM0LWhvdy1kb2VzLXdvcmsta2V5cy1yZXNlcnZhdGlvbi1pbi1oaWthc2VyaWFsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.057 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
