# How can I pass the ID of a specific item from my database collection alongside the Wix Pricing Plans payment data?

**URL:** <https://forum.wixstudio.com/t/how-can-i-pass-the-id-of-a-specific-item-from-my-database-collection-alongside-the-wix-pricing-plans-payment-data/60583>\
**Category:** Ask the community\
**Tags:** wix-pricing-plans-backend, wix-members-area, question, code, wix\
**Created:** [July 7, 2024, 6:50pm UTC](https://forum.wixstudio.com/t/how-can-i-pass-the-id-of-a-specific-item-from-my-database-collection-alongside-the-wix-pricing-plans-payment-data/60583 "2024-07-07T18:50:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joel\_Landert](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@Joel\_Landert](https://forum.wixstudio.com/u/Joel_Landert)\
**Post date:** [July 7, 2024, 6:50pm UTC](https://forum.wixstudio.com/t/how-can-i-pass-the-id-of-a-specific-item-from-my-database-collection-alongside-the-wix-pricing-plans-payment-data/60583/1 "2024-07-07T18:50:13Z")

</div>

**Question:**  
"I’m using Wix Pricing Plans and need to pass an item ID from my collection to my backend `onOrderPurchased` function. What’s the best way to do this? I can make a temporary collection to save the userID with the itemID and then use the buyer ID to find the itemID but that is difficult the maintain and delete etc.

**Product:**  
Wix Editor

**What are you trying to achieve:**  
I want to pass data from front end session storage and use it in my OnOrderPurchased Function.

**What have you already tried:**  
Already tried to use a collection connecting userID with the ItemID but difficult to maintain.

**Additional information:**
