Ulysses Stuff > Ulysses Release Archives
PUDS v0.2.7 - PayPal-ULX Donation System
Sam Johnson:
This is a really great system!
I though have a request. Is it possible to add the feature so they get auto demoted to the rank they had before when x ammount of time goes?
We have some monthly/half year subscriptions and it's getting really hard to filter those out and demote them if they dont want to continue.
Bite That Apple:
--- Quote from: Sam Johnson on August 18, 2013, 01:49:24 PM ---This is a really great system!
I though have a request. Is it possible to add the feature so they get auto demoted to the rank they had before when x ammount of time goes?
We have some monthly/half year subscriptions and it's getting really hard to filter those out and demote them if they dont want to continue.
--- End quote ---
There's another modification that does that already. Though it would have to be modified to your liking
http://forums.ulyssesmod.net/index.php/topic,5953.0.html
Wully616:
--- Quote from: bender180 on August 18, 2013, 09:07:28 AM ---having a small issue after the paypal transaction is complete the donator gets this as an email
--- Code: ---Thank you for your purchase
Your rank information
-------------------------
Paid:
SteamID:
Rank:
-------------------------
Is there any
There has been an issue when adding your SteamID to the correct usergroup.
Please contact the server admin to resolve this issue.
--- End code ---
Ive tested it my self and i get the same results if i check the php table the info is there (seen here: https://dl.dropboxusercontent.com/u/2418443/images/php.JPG)
i get the money from the transaction and im positive i set up the config.php correctly.
EDIT: upon investigation i found in the error log the ip the port and the pass are all correct im not sure what the issue is....
--- End quote ---
I had this issue myself when I changed the configuration, I thought it may have been my host being a derp and blocking outward connections to my serverIP, but I tested the Rcon script on its own and it connected fine, but not in the donation system.
Setting the permissions on rcon_code.php to 755 worked for me last night, although I have just tested it again twice just there with default permissions (644) and it connected to my rcon fine.
Its a long shot but check your websites IP address isn't in the banned_ip.cfg file in your garrysmod/garrysmod/cfg directory. (as too many failed rcon attempts will ban the IP)
It could also be that the connection is taking too long and timing out.
A successful donation should print like this in the log.txt
--- Code: ---Connected to database
Table exists, Connecting to table.
IPN Validated.
test@wullysgamers.co.uk wully 1.00 STEAM_0:0:14806053 iron
Added to database.
IP: 149.210.141.26 Port: 27065 Password: <password removed> Command: ulx adduserid STEAM_0:0:14806053 iron
(Console) added [WB] Wully to group iron
ServerLog: [ULX] (Console) added [WB] Wully to group iron
--- End code ---
My only suggestion is to check if you can connect to your server through your rcon password in a client like HLSW or something. Make sure in your configuration you have not left in the colon(:) after the IP address and make sure the port is correct.
I'll try my best and make a tutorial today explaining how to test paypal stuff in paypals sandbox - this uses mock accounts which you create on paypal to pay money, it means your not using your own real money to test the system before its ready.
Wully616:
--- Quote from: Sam Johnson on August 18, 2013, 01:49:24 PM ---This is a really great system!
I though have a request. Is it possible to add the feature so they get auto demoted to the rank they had before when x ammount of time goes?
We have some monthly/half year subscriptions and it's getting really hard to filter those out and demote them if they dont want to continue.
--- End quote ---
Thank you Sam :)
Yes I could certainly add that, as chaos said, it would be easiest to use the ulx addtempuser. http://forums.ulyssesmod.net/index.php/topic,5953.0.html
I could add it in so that you can select in the config whether to use ulx addtempuser or ulx adduserid.
This could be on a per rank basis, eg. one rank is a permanent rank and other ones are only temp, with configurable times of course.
I think I will also add in an extra column or two in the MySQL table showing the date they donated and if it is a temprank, another column for when it will expire. Since currently the only way to check the dates right now is to check your paypal account.
Would admins who use this like a feature that it e-mails yourself when a users donated? As well as any details if there was an issue with the donation?
I go away to Insomniai49 on Thursday but I will try and get any remaining bugs squashed and get a sandbox tutorial up for you guys to test it properly :)
PayPal Sandbox Tutorial done:
https://github.com/Wully616/PUDS/wiki/PayPal-Sandbox-Tutorial
bender180:
Thanks for the reply I will try out what you said on Thursday as I'm away from my computer (posting on phone)and I'm busy until then. I will try the permissions and check the banned ips then HLSW works fine I was using it the same day I set up the system to see if it was working. As for the sandbox I was using that to test I only twice used the live PayPal and I used existing funds.
Edit:Worked with my host to get this working. Their firewall was blocking the request, they adjusted the firewall and now its working. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version