<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>I’m not sure what I’m going to post here. I guess we will both find out.</description><title>LuaMilkshake</title><generator>Tumblr (3.0; @luamilkshake)</generator><link>http://www.luamilkshake.com/</link><item><title>Darkland’s New Donations System</title><description>&lt;p&gt;Since PayPal was being a bitch again and disable Darkland’s account for a few days, I thought it would be a good time to update Darkland’s donation system. I had been working on a new system when I was making the new website, but I was not doing anything with it up until now.&lt;/p&gt;
&lt;p&gt;What I’ve done is created a whole new system from the ground up. First off, the page you donate from has been made from scratch on the new site’s design and has had a lot more information available on it. Then, the form that you use to donate has been coded by myself, not PayPal, so I am able to control the amounts and actual perk much better. Once you’ve entered your information and the system has verified it and done some checks, you are given the standard PayPal donate form and it is submitted automatically via JavaScript. This lands you on the standard PayPal page and you go through the usual PayPal process. This then triggers PayPal’s callback to the Darkland server and we move on to the next step, perks.&lt;/p&gt;
&lt;p&gt;When PayPal calls back, it runs a PHP script that I made to change your account. If you selected a membership for your perk, this script just runs a SQL UPDATE query to change your membership status in the database. If you selected FW money as your perk — and this is the new part that I’m excited about — the system will change a field of your FW account. Note that this is not the money variable, but one made just for the donations. The first time that you join Fortwars after this, the money is added to your account and you are given a message thanking you for your donation. This is one of the most important changes in this new system because it was possible for the system to overwrite your new money amount if you were in-game when you donated.&lt;/p&gt;
&lt;p&gt;Additionally, I gave this script the ability to send emails. When you make a donation, you get an email thanking you and confirming that we’ve received your donation. The system also emails me if there is a problem anywhere in the process of modifying your account, so there should be very few people that actually need to contact me about the system not working.&lt;/p&gt;
&lt;p&gt;I’ll likely have this finished tomorrow or Sunday (I need to work tomorrow), so anyone that has been waiting to donate will be able to do so very soon.&lt;/p&gt;</description><link>http://www.luamilkshake.com/post/12959054063</link><guid>http://www.luamilkshake.com/post/12959054063</guid><pubDate>Sat, 27 Aug 2011 00:00:00 -0600</pubDate></item></channel></rss>

