GithubHelp home page GithubHelp logo

pootis-network / basic-donation-system Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 11.61 MB

A simple donation system that supports many payment methods and various games such as Garry's Mod, SourceMod-compatibles and Minecraft.

Home Page: http://pootisnetwork.heliohost.org/donate

License: GNU General Public License v3.0

Lua 12.00% HTML 18.13% SourcePawn 20.45% PHP 45.12% CSS 4.30%
gmod gmod-lua php bitcoin-payment paypal-php-sdk paypal garrysmod garrysmod-addon sourcemod-plugin sourcemod

basic-donation-system's Introduction

Header Image

WARNING: The CoinPayments IPN WILL NO LONGER WORK FOR U.S.A MERCHANTS (SEE THIS LINK... NOW!)

Consequentally, this means i can no longer work on this code anymore, i will be accepting pull requests that allow alternative crypto-ipn solutions.

WARNING: The Paypal IPN does not work! (see issue #6)

Join the Discord Chat GitHub repo size GitHub PHP Version Requirement CodeFactor

This repo is based off of https://github.com/h3xcat/gmod-donation-system

Features:

  • CoinPayments Support! accept EVERY SINGLE CRYPTOCURRENCY!!

  • Steam login (eliminates user error)

  • gForum(smf) group support

  • Extremely lightweight on the server! only 4 MB!

  • Ranks (either permanent or timed for any admin mod you have, no third party addon required).

  • SourceMod support (works with Counter-Strike or Team Fortress 2)

  • Global packages (one purchase will apply on multiple servers)

  • Config is in 1 file

  • Support for other games, even if you have only Garry's Mod servers, you might want to expand your servers to other games as the community gets bigger.

  • Security in mind. (This is not SQL injectable)


Requirements:

  • Web Host with PHP 6 (or greater) installed. Sites like enjin.com won't work because they don't support PHP or MySQL.
  • MySQL Server with Remote Connections enabled , usually comes with web host. Some sites like 000webhost won't work because they dont support Remote MySQL.
  • (OPTIONAL) Premier/Business Paypal account, its free to upgrade.
  • (OPTIONAL) CoinPayments account and it's IPN key and merchant ID. it's completely free and easy.
  • MySQLOO v9 installed on game server. Some game hosting companies don't allow custom binary modules to be installed on their servers. You should contact your game host to make sure you are allowed to upload binary files before installing this script.

Images (outdated design)

Alt text Alt text

basic-donation-system's People

Contributors

code-factor avatar crizztoffer avatar imgbotapp avatar thexkey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

crizztoffer

basic-donation-system's Issues

successPP.php fails to retrieve $_POST data but Paypal IPN returns HTTP code 200

Line 11 in successPP.php always reports that there is no return post data from paypal after a transaction is processed, and thus throws a 405. This is in sandbox. The IPN tracker DOES report an HTTP code of 200. All the error files contain nothing, and they each have been written to during testing to confirm write access. Under current paypal methodology for IPN use, cURL was adjusted to:

`curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_CAINFO, DIR . "/cert/cacert.pem");
curl_setopt($ch, CURLOPT_URL, $uri);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $encoded_data);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, $this->follow_location);
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, true);

	curl_setopt($ch, CURLOPT_SSLVERSION, 6);`

Current PHP version is 8. Haven't been able to find a work around for showing success. I should also mention that setting usecurl to false still reports a 200, but throws a 405.

add alternative cryptocurrency IPN solution

Since CoinPayments no longer allows US-based merchants anymore, there is no way us-based merchants can collect crypto donations with this panel.

We are looking for alternatives that can work anywhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.