- Joined
- Jun 19, 2009
- Messages
- 1,852
- Reaction score
- 5
Can some experienced member do a ZayPay tutorial or guide? That would be awesome, right now, I'm note sure if I understand how to make a payment..
thanks
thanks
Fuck you ^^
anyone else?
Here is the exact same script as used by Eternia. Released under Creative Common for you. It gives you automatic points using the Zaypay report system, and it should be no SQL injection possibilities as I see it. It is standalone, but use Geisor login session and can be integrated just as on Eternia.
If your IQ is below 95, just stop reading beyond this point.
Also, you need to know how to reconfigurate php.ini and insert SQL code. If you don't know that, just stop reading.
1. Download zaypay-0.1.2.tar.gz
2. Extract it in your htdocs folder (so you get htdocs/zaypay)
3. Modify or vertify that php.ini (it can be found in /etc/php/cgi-php5, /etc/php, /etc/php5 or if using Windows it's /xampp/apache/php.ini) got:
Linux / *nix:
Windows:
and on both platforms:Code:extension=php_openssl.dll
4. Restart lighttpd/nginx/apacheCode:allow_url_fopen = On
5. Login on your phpmyadmin and insert the code in insertME.sql in the same database as your geisor installation.
6. Edit includes/database.php to match your database login details
7. Login on Geisor
8. Go to http://<your hostname>/zaypay/pay.php
9. If you see a screen without alot of errors, your on to something
10. (Optional) Make a donation to make as a thanks for this script (2EUR)
11. Edit includes/config.php to match your Zaypay data.
12. (Optional) Edit index.php and add:
Under all the other case...break lines. Now will index.php?subtopic=pay1 work, and you'll see the script as somewhat integrated.PHP:case "pay1"; $subtopic = "pay1"; $topic = "Support X points"; $main_content .= '<div align="center"><iframe src="http://<your hostname>/zaypay/pay.php" width="98%" height="800px;"><p>Need IFRAME support, please download Opera,Firefox or Chrome</p></iframe></div>'; break;
13. Makesure the report url is set to:
http://<your hostname>/zaypay/report.php
14. Make a test payment from the Zaypay interface and see if you got any points (First you prepare a payment, then go to Payments -> Transactions -> show all transactions. Click on the prepared payment. Click "convert to test", choose paid).
15. (Optional) Change from the default 10 points to X points by editing $points_to_give in config.php
16. Done
Changelog:
v0.1.1
v0.1.2
Note: This script is repacked from Eternia and the guide to install it is written without any testing. If this script make a blackhole or blow up your computer then don't blame me.
This is the v0.1.2 version WITHOUT split payments
Released under CC by-nc.
EDIT: There might be some of the English that is bad. Written in a hurry.