Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Freelance Job: E-commerce module help needed


Go to End


2 Posts   1759 Views

Avatar
toddm

Community Member, 15 Posts

26 August 2009 at 3:34am

Hello,

I really need to get the e-commerce module working with Paypal and am having a tough time. Site is using SS 2.3.1.

Anyone experienced E-commerce module developer available now for a freelance gig? Please contact me directly: todd.mcgrath@gmail.com

-Todd

Avatar
runnerman

Community Member, 24 Posts

3 September 2009 at 9:37pm

I realise you were after help rather than a solution but I had the same issue running silverstripe version 2.3.1 so thought this might be useful to you.

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).

Within your _config.php file, add the following lines (change to suit your paypal details):

//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');
}

I hope this helps!