-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
- Copy the web folder included in the download to your website, and create a new MySQL database.
- Copy the plugin's .jar to your plugins folder and restart your server.
- Enter your database details in the config.php included in the web folder, and the config.yml created by the plugin.
- Log into PayPal, go to Profile > My Account > More Options > My Selling Tools > Instant Payment Notifications and enter the URL to the pp.php file included in the web folder.
- Add this line to your existing/new PayPal buttons to allow players to enter their username:
<input type="text" size="60" name="custom" value="Enter your Minecraft username here!"><br /><br />
If you need help with any of those steps just scroll down for a more detailed explanation on them.
Before you install this plugin, you will need to set up a MySQL database. One is required to use the plugin. If you are using a dedicated Minecraft host, contact them about getting one. Otherwise, here's some good tutorials on how to set one up:
http://www.youtube.com/watch?v=FfZhLr5HohQ
Make sure you remember the details for the datbase, you will need them in later steps.
Copy the "web" folder included in the Donator.zip you downloaded to your webserver using FTP. It is reccomended you change the name of this folder for security purposes.
Using a text editor such as Notepad++, open the config.php file. Fill in the necessary database details. The formatting of this file is important, don't erase any "'s etc., or you will run into problems. You may leave the other settings alone, only change them if you know what you're doing.
Copy the Donator.jar file included in the Donator.zip file you downloaded into the /plugins/ directory on your server. Start your server.
A config.yml file will have been automatically made in the /plugins/Donator/ directory, open it with a text editor such as Notepad++ and enter your database details.
This is also where you configure your packages. For more configuration related help, visit this page.
Profile > My Account > More Options > My Selling Tools > Instant Payment Notifications
Log into your PayPal account and hover over "Profile" on the navigation bar under the "My Account" tab, and click on "More Options". On the page it takes you to, select "My Selling Tools" using the sidebar on the left. Look for "Instant payment notifications" on that page (Hint: it's under "Getting paid and managing my risk"), and click "Update".
Click the yellow "Edit Settings" button and enter the URL to the pp.php file you uploaded earlier (included in the 'web' folder). E.g. http://example.com/web/pp.php. Check "Receive IPN messages" then click save.
To create buttons in PayPal, click on "Merchant Services" then "Create payment buttons for your website".
Copy the HTML code provided into your webpage, and you'll need to add one line that lets the user input their username BELOW the very first line in the HTML code provided:
<input type="text" size="60" name="custom" value="Enter your Minecraft username here!"><br /><br />
You may change the "Enter your Minecraft username here!" text and anything else if you know HTML, but the name="custom" must stay for the plugin to work. You can add that line to existing buttons and it will work fine.
All done! You successfully set up your website to work with Donator.