-----------------------------------------------------------------------------
Paypal to Tally: Import Paypal transactions to Tally accounting software
-----------------------------------------------------------------------------

We use Paypal (http://www.paypal.com/) to receive payments from customers.
We maintain our accounts using Tally (http://www.tallysolutions.com/). If we
want to track our accounts correctly, we need to record every transaction in
Tally again. This would certainly be a cumbersome process (and even error
prone) as the number of transactions increases.

So I glued up things together to import Paypal sales data to Tally. The 
process is outlined on my blog here:

Usage:
1. Create paypal_history table in your MySQL DB using paypal_history.sql file.
2. Import Paypal transactions to this table using phpMyAdmin - Import Data.
3. Ensure data is imported correctly. Fix problems if any.
4. Configure database details and other configuration options in 
   config.inc.php
5. Make sure "data" folder is writeable (chmod 666)
6. Hit the index.php via browser!
7. Ensure generated XML files are valid. (You can open them with browser)
8. Open Tally. Open the company you want to import to.
9. Import Ledgers using Import Masters option under "Gateway of Tally"
10. Verify it worked.
11. Import transaction vouchers using "Import Vouchers" option
12. Verify it worked!
13. Enjoy!

Notes:

These scripts are provided "AS IS" and I do not take any responsibility for 
anything that may happen to your Paypal / Tally data. 

These scripts are provided as reference only and you need to modify them to
suit your needs.

You may use them for your own use, and not redistribute / sell without my 
permission.

In any case, I hope you save time using this process. We certainly saved 
many days!

(c) 2010, All rights reserved. Nirav Mehta <nirav@appsmagnet.com>