24 August 2009 at 7:24pm
i create a website with the ecommerce-module...
when i make an order, everything works fine and the order writes to the DB,... but the only Problem is, that in the DB in the Payment the orderID and memberID are empty... and i cant see what a payment-method the the client have select...
here is the DB: http://www.reimer-ministries.com/PaymentDB.jpg ... see at the right that the fields are empty (0) ...
and here is my orderform.php ... http://gist.github.com/173712
25 August 2009 at 6:18am
You appear to be using the stock processOrder function, if these fields are not linking correctly check out the error logs. These certainly should be throwing errors if the save isn't working. Can you use your site in Dev mode to checkout to see what happens?
25 August 2009 at 8:28am
What version of silverstripe and the ecommerce and payment modules are you using? The latest ecommerce version (0.6 beta 1) does not work properly with previous versions of silverstripe and I'm sure I read somewhere that the error you describe is part of the incompatibility. If you're not running the latest version of silverstripe, I'd suggest upgrading to version 2.3.3.