Does anyone have a version of ecommerce and payments working with DPS PxPost? Preferable using SilverStripe 2.4.x?
I've been trying for days to no avail. I've tried every version of ecommerce (trunk, burnbright, 0.7, 0.6), silverstripe (2.4.3, 2.4.2, 2.4.1, 2.4.0, 2.3.5) and payments (0.3, trunk) that I can get my hands on and I just can't make it work. I feel I must be doing something terribly terribly wrong.
He's my latest attempt:
SS 2.4.3 (clean install)
Ecommerce (latest trunk from code.google)
== mysite/_config.php ==
// Define which payment methods your site uses.
'DPSPayment' => 'Credit card (DPS)'
//setup test environment
This works fine until you hit the "Place order and make payment" button whereupon you get a
Fatal error: Access to undeclared static property: DPSPayment::$cvn_mode in P:\var\www\silverstripe\2.4.3\payment\code\DPSPayment\DPSPayment.php on line 109
If I replace all occurances of self::$cvn_mode with a hardcoded true in the DPSPayment.php file, and try again then I get the following error:
Fatal error: Call to undefined method stdClass::write() in P:\var\www\silverstripe\2.4.3\payment\code\DPSPayment\DPSAdapter.php on line 515
And that's where I'm stuck.
So if anyone out there has this working I'd really like to here from you.