Shop

Add-Ons for MFPS.
User avatar
Lovatto
Admin
Admin
Posts: 1774
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Did you upload the bl_Shop.php script to your server?
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
Avocado Shark
Contributor
Contributor
Posts: 13
Joined: Thu Jan 21, 2021 12:42 am

Ok thanks, now it works!
User avatar
setdevil
Contributor
Contributor
Posts: 61
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
User avatar
Ciorbyn
Contributor
Contributor
Posts: 24
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.
User avatar
Lovatto
Admin
Admin
Posts: 1774
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Ciorbyn wrote: Sat Sep 18, 2021 9:22 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.
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.
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
Ciorbyn
Contributor
Contributor
Posts: 24
Joined: Thu Aug 31, 2017 8:44 am

I understood ... however in the future it would be a great function to integrate.
Thanks
User avatar
KKHackLabs
Member
Member
Posts: 48
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
Post Reply