Hi there! The task at hand is to tweak a Licensing System written with the Kohana Framework.
Essentially, this licensing system stores email addresses for users who have purchased our desktop software, and issues license keys via email to those users.
The system works flawlessly, but we've since added a premium subscription to our software. We need to modify the system to integrate data about the user's subscription status.
Users can purchase either a monthly subscription, or one-time lifetime subscription.
These are the tasks that will need to be completed:
1) Add two fields to the User table in the database:
a. ownsLifetimePlatinum (a boolean that tells us if they've purchased Lifetime)
b. monthlyPlatinumExpires (a date that tells us through when their monthly subscription is paid.
2) Handle IPN requests that come from the payment gateways as users make payments, and set the variables accordingly. Essentially, when a user makes a payment, the payment...