113 Posts in 154 Topics by 53 members
Payments and Payment Gateway / APIs
This is a forum for discussing SilverStripe can-do payments and their APIs / Gateways.
|Go to End|
19 November 2010 at 9:36am
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.
24 November 2010 at 11:16am Last edited: 24 November 2010 11:17am
I don't know if it's the same problem but i can't install the payment module with a clean installation of silverstripe 2.4.3. When i execute /dev/build, i've got the error message :
[User Error] Couldn't run query: SHOW FULL FIELDS IN "Payment" Table 'dev_ss243.payment' doesn't exist
Line 526 in C:\wamp\www\silverstripe-v2.4.3\sapphire\core\model\MySQLDatabase.php
24 November 2010 at 11:51am
SS 2.4.3 + payments (0.3) builds fine for me. It's only when I try to add the ecommerce module and use the DPS payment method that it breaks.
The error you're getting suggests the table doesn't exist in the database, but that's what dev/build is for. I'd strongly suggest trying another clean install.
This should work for you:
- create a clean database
- download and install SS 2.4.3
- make sure it's running by navigating to the front page
- download and install payments 0.3
- run /dev/build/?flush=1
There is a possibility it has to do with the case used in the table names (I had enormous trouble deploying my site to the linux server because the MySQL table names has been made lowercase on my development machine (windows)), I had to go into the mysql config file to fix it (add "set-variable = lower_case_table_names=0" to the [mysqld] section and restart, more here http://www.parkroad.co.za/mysql-case-sensitivity-table-names-between-windows-and-linux-systems). But that's probably not your problem.
- create a clean database
14 February 2011 at 10:30am Last edited: 14 February 2011 10:44am
I'm getting the same problem with a clean install of 2.4.4, e-commerce 0.8.1RC and payment 0.3.
|Go to Top|