Thanks for this, I have applied this fix and it solved my problem. However I am having a problem that on the PayPal page it just shows the total, not the break down of shipping, tax etc. I am new to PHP but my guess would be in the $order->info['total'} part, do I need to add shipping, tax and discount to this?