Your awesome Simmo! Please excuse my ignorance as I had seen this referenced many times in previous posts.
On another note, how do I change the 'Shop' name for the reciept emails? for example the title of the emails is something like "shop sale information #10".
I'd like to use the companies name if I can?!
I havent tried it myself, but there is a file in ecommerce\templates\email that looks like should sort this?
On another note - i am getting a .js error on my checkout page, have posted details here - http://www.silverstripe.org/e-commerce-module-forum/show/274529#post274529 , do you also get this, and any ideas how to fix?
putting this in your _config.php file might be what you want
Order::set_subject("Subject line goes here");
...you won't be able to show the order ID though.
I've been working on setting up integration with the Hosted Payment Page solution (Px Pay) offered by DPS | Payment Express. The e-commerce module already includes support for one of DPS' non-hosted solutions (Px Post) but the hosted solution does offer some of its own advantages - e.g. all credit card details are entered in DPS' secure environment which limits merchant liability. Some banks also insist on merchants using a hosted solution so it would be nice to have this as an option.
I have a basic version running (attached) but it does need some work. I am open to suggestions as to what the best way would be to move forward with this and perhaps get it included along with Px Post in the next release of the e-commerce module.
There is an old module for pxpay in svn already: http://open.silverstripe.org/browser/modules/payment_dpshosted/trunk
It's built to work with an old version of the ecommerce module.
I've just been working on that myself and should have an updated version (to work with trunk) shortly...
I've stolen some of the bits I liked from your code but used the old module as a base.