Forum PayVault get item price

Discussion and help relating to the PlayerIO payment solution, PayVault.

get item price

Postby ySandsOfTimey » July 9th, 2014, 12:39 pm

Hi,

I added some items in PayVault. My question is: How can I access the "PriceCoins" value when the user has not bought that item. The "client.payVault.items" property is null. My plan is to display the PriceCoins-Value to the user without having the prices stored at a different place. is that possible?

thanks a lot!
ySandsOfTimey
Paid Member
 
Posts: 17
Joined: October 15th, 2013, 6:42 pm

Re: get item price

Postby robscherer123 » July 9th, 2014, 4:06 pm

Yes, you simply load the database object from the "PayvaultItems" table as you would any other database object, then access it's PriceCoins property.
robscherer123
Paid Member
 
Posts: 309
Joined: December 12th, 2012, 8:46 pm


Return to PayVault



cron