Jump to:

2088 Posts in 1007 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » PayPal Option not showing

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: 911 Views
  • steve_nyhof
    Avatar
    Community Member
    224 Posts

    PayPal Option not showing Link to this post

    I am using 2.3.3

    I installed the latest ecommerce first, then the Payment module next, everything went well, no problems, however, the paypal option does not show up on the checkout page.

    Anyone have some ideas as to what I am missing? Are there any options in the editor for paypal, or does everything get setup in the code files?

  • Bambii7
    Avatar
    Community Member
    254 Posts

    Re: PayPal Option not showing Link to this post

    I'm using ss 2.3.7 and ecommerce v0.5.4
    I enabled the paypal option by following the instructional documentation here http://doc.silverstripe.org/modules:ecommerce

    by adding this to mysite/_config.php
    // Define which payment methods your site uses.
    Payment::set_supported_methods(array(
       'ChequePayment' => 'Cheque Or Pay On Site',
       'PayPalPayment'   => 'PayPal (Credit Card)'
    ));

    but getting a few errors when trying to configure the rest of paypal with my account information.
    The PayPalPayment class thats packaged with the ecommerce plugin doesn't seem to be complete.
    There is this old one form about 2 years ago it seems, which I don't think is compatible any more http://open.silverstripe.org/attachment/ticket/1760/PayPalPayment.php

    the setup method outlined here is also a little out dated it seems http://www.silverstripe.org/archive/show/196242
    the following methods to set your account emails don't exist
    if(Director::isLive()) {
       PayPalPayment::set_account_email('info@mysite.com');
    } else {
       PayPalPayment::set_test_mode('info@mysite.com');
    }

    ..... It shouldn't be that hard to configure paypal, I'll try and suss it out.

    911 Views
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.