Shop
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
- setdevil
- Contributor
- Posts: 77
- Joined: Thu Jun 25, 2020 11:44 am
All assets work, i only have problem with shop now, i don't see the shop, when push the shop button / link see me blank shop without any item..
SOLVED!
After i setup Paypal payment the shop work ! GREAT!!!!
Super work the shop, but when i pay and add new weapon i have don't see it in selection when play.
little help , ty..
this is the video:
https://youtu.be/svxpGFFEBQo
SOLVED!
After i setup Paypal payment the shop work ! GREAT!!!!
Super work the shop, but when i pay and add new weapon i have don't see it in selection when play.
little help , ty..
this is the video:
https://youtu.be/svxpGFFEBQo
- Ciorbyn
- Contributor
- Posts: 37
- Joined: Thu Aug 31, 2017 8:44 am
Hi,
In this addon is it possible to buy an object that will be owned only for a certain amount of time after which a user will have to renew the payment?
Basically, what I would like to do would be some kind of renting a special weapon for a month etc.
In this addon is it possible to buy an object that will be owned only for a certain amount of time after which a user will have to renew the payment?
Basically, what I would like to do would be some kind of renting a special weapon for a month etc.
My Portfolio : https://www.pacogames.com/developers/ciorbyn
My Blog: https://videogiochi-italiani.blogspot.com/
My Blog: https://videogiochi-italiani.blogspot.com/
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
No, at the moment this addon doesn't support subscription-based purchases,
but if what you are looking for is simply to sell items per limited time and not a payment system with an auto-renew subscription,
then the modification is fairly simple, all you have to do is store the expiration date in the user info in the database,
check that date frequently but make sure you obtain the current time from the server, and when the time expires -> remove the weapon ID from the user info 'purchases' row.
- Ciorbyn
- Contributor
- Posts: 37
- Joined: Thu Aug 31, 2017 8:44 am
I understood ... however in the future it would be a great function to integrate.
Thanks
Thanks
My Portfolio : https://www.pacogames.com/developers/ciorbyn
My Blog: https://videogiochi-italiani.blogspot.com/
My Blog: https://videogiochi-italiani.blogspot.com/
- KKHackLabs
- Member
- Posts: 52
- Joined: Thu May 07, 2020 3:34 pm
How are the Shop Item IDs determined/generated?
i.e. the item value added to the database
i.e. the item value added to the database
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
Depending on the type of item:KKHackLabs wrote: ↑Sun Nov 28, 2021 1:29 pm How are the Shop Item IDs determined/generated?
i.e. the item value added to the database
For the weapons, is the index of the weapon info from the list in GameData -> All Weapons
For Player Skins, is the index of the player info from the list in PlayerSelector -> All Players
For the weapon camos, is the index of the camo info from the list in CustomizerData -> Global Camos
In the database, the items are identified by this id + the item type ID (enum id).
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
Hi,
- The skins require the Player Selector addon, with which you can integrate as many player variations/skins as you want,
then with the Shop addon you can sell some of these skins, all you need to do to sell a skin is set a price in the Skin information (in the inspector).
- No, none of the addons will be available at the Asset Store at the moment,
if you need an alternative payment method, contact me by PM.
Regards.