Author Topic: PUDS v0.2.7 - PayPal-ULX Donation System  (Read 337912 times)

0 Members and 5 Guests are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #30 on: September 12, 2013, 01:37:48 AM »
Great to hear that you've made some friends on this great forum, and people found a liking to your addon. I'll be willing to test it again, once more when I have time later today. I'll see if it's much more use friendly now, than it was a few months ago.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Darkness717

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #31 on: September 12, 2013, 07:03:18 PM »
Any tips on how I would find out why it isn't promoting people on my server? I went over the setup file over and over and everything seems to be right.

Offline Wully616

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 10
    • WullysGamers
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #32 on: September 13, 2013, 02:46:52 AM »
Any tips on how I would find out why it isn't promoting people on my server? I went over the setup file over and over and everything seems to be right.


Post the contents of log.txt, error_log and ipn_log.txt and I'll have a look.
[/url]

Offline Darkness717

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #33 on: September 13, 2013, 05:20:13 PM »
log.txt

Connected to database
Table exists, Connecting to table.
IPN Validated.
email@live.co.uk Crumpet 20.00 STEAM_0:0 donatordiamond
Added to database.
IP: 74.91.114.42 Port: 27015 Password: HIDDEN Command: ulx adduserid STEAM_0:0: donatordiamond
(Console) added name to group donatordiamond
ServerLog: [ULX] (Console) added name to group donatordiamond
L 09/13/2013 - 15:46:49: [ULX] (Console) added Name to group donatordiamond


I deleted their ID and name for privacy reasons. And I only posted one of these for redundancy reasons the other one is pretty much the exact same



ipnlog.txt

[09/13/2013 1:46 PM] - SUCCESS!
IPN POST Vars from Paypal:
mc_gross=20.00, protection_eligibility=Ineligible, payer_id=HN3BLQT2WZPTS, tax=0.00, payment_date=13:46:39 Sep 13, 2013 PDT, payment_status=Completed, charset=windows-1252, first_name=Bradley, option_selection1=Crumpet, option_selection2=STEAM_0:0:31054961, mc_fee=1.08, notify_version=3.7, custom=, payer_status=unverified, business=removed, quantity=1, verify_sign=AR3Bnd85qDAG2ivRgEH-F3bq0tH3A0SJclfDncG7QcMuAlYtQyKieGdy, payer_email=Bradley.Olah@live.co.uk, option_name1=In-Game Name, option_name2=SteamID, txn_id=7HE93125UM7776718, payment_type=instant, last_name=Olah, receiver_email=-removed-, payment_fee=1.08, receiver_id=DYHKNMX7N623S, txn_type=web_accept, item_name=PUDS - Game Server Donation, mc_currency=USD, item_number=, residence_country=GB, handling_amount=0.00, transaction_subject=, payment_gross=20.00, shipping=0.00, ipn_track_id=9c21fe282f204,
IPN Response from Paypal Server:
 HTTP/1.1 200 OK
Server: Apache
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=14400
Strict-Transport-Security: max-age=14400
Content-Type: text/html; charset=UTF-8
DC: slc-b-origin-www-2.paypal.com
Date: Fri, 13 Sep 2013 20:46:57 GMT
Content-Length: 8
Connection: close
Set-Cookie: cwrClyrK4LoCV1fydGbAxiNL6iG=5u8TRXlu9WUPAIQbiSFIzXM4tzRss9fIjYZwODlTH8OtOBOFw56ao1wHJoZNDo6aqeVNvvuZ55RsrDY7ZBp-uKUkB4trdpHQlJHuzyRB_fjfM30ssuSML2FXfpYgdVGeNBNelfrP452DNGxNb6PZW8_-OqXgYvDB_6BdmqajMAajqXUULrZJLKW3xC1EyOByYkUOwrSVt9Pr7gubtTZCbobcncIJnIIKmC2BInp2Tt9YnCpGtXq6ORWVS_zCZKl4Z-KJMnIvuxDbavVX9adfrf9a5x8vIMvjX9Jx1AD-ZagSRiP8LXDIE_fDTPFKGL56toleqy3MX5Y7TuRvTTbIlj018YeJZhu8_8zlncyM68UVvor25szl_L2A8CRWC207NvhRhHxafn9Qeq7UOKxlqgpZDKRD73HsiguVlkicl38lSz_RDPb68KcIOMu; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: cookie_check=yes; expires=Mon, 11-Sep-2023 20:46:57 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navlns=0.0; expires=Thu, 08-Sep-2033 20:46:57 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: Apache=10.74.8.137.1379105217096144; path=/; expires=Sun, 06-Sep-43 20:46:57 GMT
Set-Cookie: X-PP-SILOVER=name%3DLIVE6.WEB.1%26silo_version%3D880%26app%3Dslingshot%26TIME%3D3245945682; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
Set-Cookie: Apache=10.74.8.53.1379105217089337; path=/; expires=Sun, 06-Sep-43 20:46:57 GMT
Set-Cookie: DC=slc-b-origin-www-2.paypal.com; secure
Set-Cookie: aksession=1379105517~id=cookievGvZXt9MaCZG8gH1I5Z5TkkLu+e8pht9wjwRyW7ya9htIw1OGktSHnwqGSuAKoP28bVEC1J6TqeBMYYnp/SVfFHfcgUkHSqX8F9ezrbTwA7yues86weTWrgcytvDedFfePMKKYtsTGM=; expires=Fri, 13-Sep-2013 20:51:57 GMT; path=/; domain=.paypal.com

VERIFIED
« Last Edit: August 08, 2016, 02:54:04 PM by JamminR »

Offline Wully616

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 10
    • WullysGamers
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #34 on: September 14, 2013, 03:59:43 AM »
log.txt

Connected to database
Table exists, Connecting to table.
IPN Validated.
email@live.co.uk Crumpet 20.00 STEAM_0:0 donatordiamond
Added to database.
IP: 74.91.114.42 Port: 27015 Password: HIDDEN Command: ulx adduserid STEAM_0:0: donatordiamond
(Console) added name to group donatordiamond
ServerLog: [ULX] (Console) added name to group donatordiamond
L 09/13/2013 - 15:46:49: [ULX] (Console) added Name to group donatordiamond


I deleted their ID and name for privacy reasons. And I only posted one of these for redundancy reasons the other one is pretty much the exact same



ipnlog.txt

[09/13/2013 1:46 PM] - SUCCESS!
IPN POST Vars from Paypal:
mc_gross=20.00, protection_eligibility=Ineligible, payer_id=HN3BLQT2WZPTS, tax=0.00, payment_date=13:46:39 Sep 13, 2013 PDT, payment_status=Completed, charset=windows-1252, first_name=Bradley, option_selection1=Crumpet, option_selection2=STEAM_0:0:31054961, mc_fee=1.08, notify_version=3.7, custom=, payer_status=unverified, business=-removed-, quantity=1, verify_sign=AR3Bnd85qDAG2ivRgEH-F3bq0tH3A0SJclfDncG7QcMuAlYtQyKieGdy, payer_email=Bradley.Olah@live.co.uk, option_name1=In-Game Name, option_name2=SteamID, txn_id=7HE93125UM7776718, payment_type=instant, last_name=Olah, receiver_email=-removed-, payment_fee=1.08, receiver_id=DYHKNMX7N623S, txn_type=web_accept, item_name=PUDS - Game Server Donation, mc_currency=USD, item_number=, residence_country=GB, handling_amount=0.00, transaction_subject=, payment_gross=20.00, shipping=0.00, ipn_track_id=9c21fe282f204,
IPN Response from Paypal Server:
 HTTP/1.1 200 OK
Server: Apache
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=14400
Strict-Transport-Security: max-age=14400
Content-Type: text/html; charset=UTF-8
DC: slc-b-origin-www-2.paypal.com
Date: Fri, 13 Sep 2013 20:46:57 GMT
Content-Length: 8
Connection: close
Set-Cookie: cwrClyrK4LoCV1fydGbAxiNL6iG=5u8TRXlu9WUPAIQbiSFIzXM4tzRss9fIjYZwODlTH8OtOBOFw56ao1wHJoZNDo6aqeVNvvuZ55RsrDY7ZBp-uKUkB4trdpHQlJHuzyRB_fjfM30ssuSML2FXfpYgdVGeNBNelfrP452DNGxNb6PZW8_-OqXgYvDB_6BdmqajMAajqXUULrZJLKW3xC1EyOByYkUOwrSVt9Pr7gubtTZCbobcncIJnIIKmC2BInp2Tt9YnCpGtXq6ORWVS_zCZKl4Z-KJMnIvuxDbavVX9adfrf9a5x8vIMvjX9Jx1AD-ZagSRiP8LXDIE_fDTPFKGL56toleqy3MX5Y7TuRvTTbIlj018YeJZhu8_8zlncyM68UVvor25szl_L2A8CRWC207NvhRhHxafn9Qeq7UOKxlqgpZDKRD73HsiguVlkicl38lSz_RDPb68KcIOMu; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: cookie_check=yes; expires=Mon, 11-Sep-2023 20:46:57 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navlns=0.0; expires=Thu, 08-Sep-2033 20:46:57 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: Apache=10.74.8.137.1379105217096144; path=/; expires=Sun, 06-Sep-43 20:46:57 GMT
Set-Cookie: X-PP-SILOVER=name%3DLIVE6.WEB.1%26silo_version%3D880%26app%3Dslingshot%26TIME%3D3245945682; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
Set-Cookie: Apache=10.74.8.53.1379105217089337; path=/; expires=Sun, 06-Sep-43 20:46:57 GMT
Set-Cookie: DC=slc-b-origin-www-2.paypal.com; secure
Set-Cookie: aksession=1379105517~id=cookievGvZXt9MaCZG8gH1I5Z5TkkLu+e8pht9wjwRyW7ya9htIw1OGktSHnwqGSuAKoP28bVEC1J6TqeBMYYnp/SVfFHfcgUkHSqX8F9ezrbTwA7yues86weTWrgcytvDedFfePMKKYtsTGM=; expires=Fri, 13-Sep-2013 20:51:57 GMT; path=/; domain=.paypal.com

VERIFIED

By the looks of these logs everything is working. The IPN is verified as successful for a price of $20 and the ipn.php script has processed that as the donatordiamond rank, the server has responded successfully with "(Console) added name to group donatordiamond" where "name" I believe you have removed the steamID for privacy reasons (though you missed it in the ipn_log.txt ;) )

Everything looks to be working fine and there is no issue connecting through rcon. Are you use "donatordiamond" is a group you have already created in ULX and is indeed the correct name for the group?
« Last Edit: August 08, 2016, 02:55:14 PM by JamminR »
[/url]

Offline Darkness717

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #35 on: September 14, 2013, 11:39:50 AM »
Yeaahhh. I have no idea what happened. It fixed itself somehow. That was only 2/15 or so and only the one worked.

I don't know if maybe it's worth noting for you since other people said they had to change permissions and then it fixed itself.

Thanks for the support though!  ;D

Offline Mattsky

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #36 on: September 16, 2013, 01:01:03 PM »
Got an interesting bug here - after signing in through Steam, and returning to the donation page, the only things visible are the selectors for the donation ranks. All other info has disappeared. Any idea what might be causing this?

Offline Prentice

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #37 on: September 17, 2013, 12:05:55 PM »
I'm getting an RCON connection error and my host was wondering whether there was a port that it might be closed that needed to be open for it to work?

Either way, if anyone has any idea why this might not be working, that'd be great!

Offline Wully616

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 10
    • WullysGamers
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #38 on: September 22, 2013, 09:32:49 AM »
Got an interesting bug here - after signing in through Steam, and returning to the donation page, the only things visible are the selectors for the donation ranks. All other info has disappeared. Any idea what might be causing this?

When you say all other info do you mean the info in the form such as the players name/steamID, if so this data isn't passed back to the donation page from paypal so it would essentially be a "clean" page with no data, ready for another donation.

I'm getting an RCON connection error and my host was wondering whether there was a port that it might be closed that needed to be open for it to work?

Either way, if anyone has any idea why this might not be working, that'd be great!

Prentice, the port required to open would be the port of your game server, eg 27065 or something around that range. Rcon connects directly to the source server through its game port.
[/url]

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: PUDS v0.2.4 - PayPal-ULX Donation System
« Reply #39 on: September 22, 2013, 12:38:19 PM »
Unless Garry changed it for Gmod (99% sure he didn't), rcon uses 27015, or the port you specify the game listen on specified in startup command line.
https://support.steampowered.com/kb_article.php?ref=8571-GLVN-8711
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline morten7000

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
Re: PUDS v0.2.5 - PayPal-ULX Donation System
« Reply #40 on: September 26, 2013, 11:12:02 AM »
Can someone help me with this? I never tried anything like this before and i just made a webpage where I followed the instuction and stuff like that.. the webpage works but.. the paypal sandbox thingy is just confusing me.. because when i pay to become "superadmin" or "admin" then it dosn't do anything? it just say "tranfer complete" and nothing els? it doesn't react on it, It doesn't make me admin or superadmin?

Notes:
1) Its a free webpage
2) I followed the install instructions
3) the webpage works (i think) i can get on the page where you can pay and stuff

If you could help me with this, i would be forever happy :D

Ps: I dont use MySQL. is that needed. I mean like.. ehmm i acutally dont know what i mean.. ehmm :D.. "can you use this without" is the best question i can come up with :)?
« Last Edit: September 26, 2013, 12:49:53 PM by morten7000 »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: PUDS v0.2.5 - PayPal-ULX Donation System
« Reply #41 on: September 26, 2013, 01:57:31 PM »
"can you use this without" is the best question

NO.
Requirements:

  • MySQL Database
  • Garrysmod Server
  • ULX/ULIB SVNS
  • Paypal account
  • Web Server
  • Some knowledge of HTML/PHP (to edit the scripts)

Knowing basic SQL, PHP, HTML are required.
SQL database is needed.
A web server is needed.
A 'free web page' most likely will never give you the access needed like an actual web server does,
Most hosting companies that offer web services also offer PHP engines and SQL databases. They pretty much go hand in hand.
« Last Edit: September 26, 2013, 01:59:35 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline morten7000

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
Re: PUDS v0.2.5 - PayPal-ULX Donation System
« Reply #42 on: September 26, 2013, 09:44:25 PM »
Okay, thanks jamminR for confirming my question :)

Offline Streetlight

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: PUDS v0.2.5 - PayPal-ULX Donation System
« Reply #43 on: September 27, 2013, 09:36:04 AM »
Code: [Select]
Warning: file_get_contents() [function.file-get-contents]: https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home2/streetli/public_html/donate/steamlogin.php on line 77

Warning: file_get_contents(https://steamcommunity.com/openid/login) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home2/streetli/public_html/donate/steamlogin.php on line 77

I get this error code on the donor page. I have not edited anything that is not to be edited.

Screenshot of webpage:


Does anyone know what is wrong and, possibly, give me some advice on how to deal with this? Thank you in advance!

Offline Wully616

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 10
    • WullysGamers
Re: PUDS v0.2.5 - PayPal-ULX Donation System
« Reply #44 on: September 27, 2013, 12:19:12 PM »
Code: [Select]
Warning: file_get_contents() [function.file-get-contents]: https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home2/streetli/public_html/donate/steamlogin.php on line 77

Warning: file_get_contents(https://steamcommunity.com/openid/login) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home2/streetli/public_html/donate/steamlogin.php on line 77

I get this error code on the donor page. I have not edited anything that is not to be edited.

Does anyone know what is wrong and, possibly, give me some advice on how to deal with this? Thank you in advance!

Hello Streetlight,

You need to enable allow_url_fopen in your PHP configuration. If you are using a webhost you will most likely need to contact them to ask them to enable it. If you do have access to php.ini configuration file change allow_url_fopen=0 to allow_url_fopen=1


Apologises there has not been many updates to the application the last 2 weeks. I am still in London training for my job, another 4 weeks to go and I'll be home :)
[/url]