I am working on a new payment system for my current company.
It should work with multiple payment gateways (e.g. Worldpay, Paypal) and be easily extensible.
Till now I've coded a couple of PHP classes and all seems fine, although there are some hindrances.
Hope I will release it soon :)