like i said in my previous reply, you should add a column for order status, and set the default value to pending.
use the IPN Script to update the order status based on the status returned from paypal to mark the order as Successful or failed.
will i need to do extra coding for this to work? i have created the order status column. so when i set up ipn will my order history work as it should? or does it require anything else.