Raised This Month: $30 Target: $400
 7% 

[ANY] Super Paypal Donation


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Plugin ID:
7448
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provide a way for players to support their favorite server in exchange of perks.
    Old 01-05-2021 , 11:46   [ANY] Super Paypal Donation
    Reply With Quote #1

    Super Paypal Donation

    Before anything, read this :
    You will need a business paypal account to receive the payments.



    A very simple idea. Player pay you through paypal to unlock perks or what not and you become rich and greedier. Also, I absolutly dislike this system of giving perks in exchange of money instead of skill, but yeah, whatever. You asked for it, here it is.

    Paypal demo account (use this to make payment) :
    Username : [email protected]
    Password : V56u>Yzn


    DEMO WEBSITE: https://arkarrsourceservers.ddnsfree...ite/public/pp/

    I can provide other way to pay instead of paypal, but make sure of this before requesting :
    • API exist
    • Documentation is in english, german or french
    • You can provide an account to help me developp this thing
    • People who request new method without reading this will be ignored, no need to PM the shit out of me, thanks



    • Everything is fully automatic
    • Easy configuration
    • Translations
    • Payments are saved in database to allow some kind of logs



    Download the whole package here : https://github.com/Arkarr/SM-Super-Paypal-Donation



    1) Extract the content of the 'sourcemod' folder into your server's sourcemod folder
    2) Edit sourcemod/configs/database.cfg
    Code:
      
    	"super-paypal-donation"
    	{
    		"driver"			"mysql"
    		"host"				"IP ADDRESS OF DB SERVER"
    		"database"			"webstore_vip"
    		"user"				"USERNAME"
    		"pass"				"PASSWORD"
    		//"timeout"			"0"
    		//"port"			"0"
    	}
    3) Edit sourcemod/configs/admin_groups.cfg in order to add the vip groups. Here is a (bad) example :
    Code:
    Groups
    {
    	/**
    	 * Allowed properties for a group:
    	 *
    	 *   "flags"           - Flag string.
    	 *   "immunity"        - Immunity level number, or a group name.
    	 *						 If the group name is a number, prepend it with an 
    	 *						 '@' symbol similar to admins_simple.ini.  Users 
    	 *						 will only inherit the level number if it's higher 
    	 *						 than their current value.
    	 */
    	"Default"
    	{
    		"immunity"		"1"
    	}
    	
    	"Full Admins"
    	{
    		/**
    		 * You can override commands and command groups here.
    		 * Specify a command name or group and either "allow" or "deny"
    		 * Examples:
    		 * 		":CSDM"			"allow"
    		 *		"csdm_enable"	"deny"
    		 */
    		 Overrides
    		 {
    		 }
    		"flags"			"abcdefghiz"
    
    		/* Largish number for lots of in-between values. */
    		"immunity"		"99"
    	}
    	
    	"vip1"
    	{
    		"flags"			"a"
    		"immunity"		"10"
    	}
    	
    	"vip2"
    	{
    		"flags"			"b"
    		"immunity"		"15"
    	}
    	
    	"vip3"
    	{
    		"flags"			"c"
    		"immunity"		"20"
    	}
    }
    4) Reload map or restart server. Make sure the database connection is successful.

    Deploy the website:
    For the purpose of the demonstration, we will use http://sht-domain.com/ for example.

    1) Inside the previously downloaded .ZIP, there is a 'website' folder. Extract it anywhere on your website.
    2) Now, navigate to http://sht-domain.com/website/configs.
    3) Make sure that YOU CAN NOT access to that folder. It will contain all the login details, secret and api key.
    4) Now, edit the file in website/configs folder (config.ini) and provide all the parameter with a value.
    5) You are good to go.



    none



    sm_super_paypal_donation_rcon ""

    Execute this RCON each time a player is eligble for admin rights!
    If this rcon is less than 1 char (default), nothing will be executed. Also, you use '[STEAMID]' or '[PLAYER]' to target people and [PACKAGEID] to retrieve the package id.

    Example : sm_addvip steam [STEAMID] 30000 [PACKAGEID]





    None found yet



    Demo website : http://arkarrsourceservers.ddns.net/website/public/pp/

    In order to make a donation, you can use this paypal account :

    Username : [email protected]
    Password : V56u>Yzn



    All files are on Github : https://github.com/Arkarr/SM-Super-Paypal-Donation

    Enjoy !

    Logs :
    Spoiler
    __________________

    Last edited by Arkarr; 11-23-2021 at 11:54.
    Arkarr is offline
    AePT
    Junior Member
    Join Date: Jan 2016
    Old 01-05-2021 , 11:50   Re: [ANY] _Super_ Paypal Donation
    Reply With Quote #2

    Nice release & Idea!
    AePT is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 01-05-2021 , 11:59   Re: [ANY] _Super_ Paypal Donation
    Reply With Quote #3

    Quote:
    Originally Posted by AePT View Post
    Nice release & Idea!
    Thanks, dude
    __________________
    Arkarr is offline
    raj kaul
    Senior Member
    Join Date: Mar 2018
    Location: www.lotgaming.xyz
    Old 01-05-2021 , 12:36   Re: [ANY] _Super_ Paypal Donation
    Reply With Quote #4

    OMG!! you recreated this
    Respect bro
    __________________
    raj kaul is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 01-05-2021 , 13:20   Re: [ANY] _Super_ Paypal Donation
    Reply With Quote #5

    Quote:
    Originally Posted by raj kaul View Post
    OMG!! you recreated this
    Respect bro
    Sure, no worries
    __________________
    Arkarr is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 01-05-2021 , 15:25   Re: [ANY] Super Paypal Donation
    Reply With Quote #6

    Do you think we can merge another pay system instead of paypal? cause my country use https://www.mercadopago.com.ar/ to make donations
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 01-05-2021 , 16:30   Re: [ANY] Super Paypal Donation
    Reply With Quote #7

    Quote:
    Originally Posted by NanoC View Post
    Do you think we can merge another pay system instead of paypal? cause my country use https://www.mercadopago.com.ar/ to make donations
    If everything wasn't spanish, sure.
    __________________
    Arkarr is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 01-05-2021 , 17:36   Re: [ANY] Super Paypal Donation
    Reply With Quote #8

    Quote:
    Originally Posted by Arkarr View Post
    If everything wasn't spanish, sure.
    You can always use google translator xd. Anyways, what do you need to make it work? If you are too busy i can do it myself but i've no idea how to use that API
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    nguyenbaodanh
    AlliedModders Donor
    Join Date: Jun 2007
    Location: HCMC, Vietnam
    Old 01-05-2021 , 22:16   Re: [ANY] Super Paypal Donation
    Reply With Quote #9

    Nice release ! But I have some questions.
    1- Is this one can integrated with sourcebans++ ?
    2- The donations is permanent or recurring payment / days countdown ?
    3- can you integrate another payment like this one? > https://developers.momo.vn/#/docs/aio/
    __________________

    Last edited by nguyenbaodanh; 01-05-2021 at 22:19.
    nguyenbaodanh is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 01-06-2021 , 02:47   Re: [ANY] Super Paypal Donation
    Reply With Quote #10

    Does this have any sort of check against fraud? I’ve had people donate in the past only for them to dispute the charge afterwards.
    Sreaper is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:29.


    Powered by vBulletin®
    Copyright ©2000 - 2023, vBulletin Solutions, Inc.
    Theme made by Freecode