Hi jhopong,
To enable the ecommerce module to use payment sites such as paypal in the latest version of ecommerce you need to install the payment module.
To get my paypal working I upgraded silverstripe to version 2.3.3 and installed ecommerce 0.6 beta 1 (http://silverstripe.org/assets/Uploads/ecommerce-0.6-beta1.tar.gz and payment 0.1 (http://silverstripe.org/assets/Uploads/payment-0.1-beta1.tar.gz).
Then, within your _config.php file, add the following lines:
//E-commerce settings
// Define which payment methods your site uses.
Payment::set_supported_methods(array(
'ChequePayment' => 'Cheque',
'PayPalPayment' => 'Credit/Debit Card'
));
// Check if the site is in 'live' mode, use the live credentials.
// otherwise, use test credentials instead to be careful.
if(Director::isLive()) {
PayPalPayment::set_account_email('youraddress@yourdomain.co.uk');
} else {
PayPalPayment::set_test_mode('yourtestaddress@yourdomain.co.uk');
}
Change 'youraddress@yourdomain.co.uk' and 'yourtestaddress@yourdomain.co.uk' to the email address associated with your paypal account that is set up for payments and/or testing.
I hope this helps!