Jump to:

2088 Posts in 1007 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Pyapal and Ecommerce

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1422 Views
  • jhopong
    Community Member
    1 Post

    Pyapal and Ecommerce Link to this post

    Hi, guys! I'm trying out Silverlight and trying to build a test ecommerce website. I'd like to know where I can get the codes for customizing the ecommerce module to use Paypal. I've been trying to go around the forums posts but I am getting some old posts that may no longer be applicable with the latest SS build.

    (Please put in the link to downloadable codes 'coz I'm a lazy ass. lol )

    Thanks, guys and happy coding!

  • runnerman
    Community Member
    24 Posts

    Re: Pyapal and Ecommerce Link to this post

    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.
    '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()) {
    } else {

    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!

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.