Jump to:

2082 Posts in 1002 Topics by 452 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » E-Commerce 0.6 beta 1 released

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 2 3 4 5 6 7 8 9 10 11 12 13 14
Go to End
Author Topic: 19184 Views
  • Sean
    Avatar
    Forum Moderator
    921 Posts

    E-Commerce 0.6 beta 1 released Link to this post

    Hi everyone,

    It's been a long time, but E-Commerce 0.6 has finally been released as beta. There's been a lot of changes since the last release 0.5.2, so it would be great if as many people can test this new beta as possible. The change log for this beta can be found by reading the "ChangeLog" file inside the ecommerce tar.gz file, attached to this post.

    Keep in mind that the payment module needs to be installed separately as well, since the payment functionality has been shifted into a separate module. This too been released as 0.1-beta1 to match ecommerce, and is attached to this post as well.

    E-Commerce 0.6 requires that you use the latest release of SilverStripe 2.3. At this time, the very latest is 2.3.2-rc4.

    Instructions to install:

    1. Download and copy "ecommerce-0.6-beta1.tar.gz" and "payment-0.1-beta1.tar.gz" into your project directory
    2. Unpack the files. New folders "ecommerce" and "payment" should appear as sibilings of the cms and sapphire directories
    3. Run "dev/build". e.g. "http://localhost/myproject/dev/build" in your web browser to rebuild the database
    4. You should now be up and running

    Please post any problems you have in this thread.

    Thanks,
    Sean

  • Apophenian
    Avatar
    Community Member
    46 Posts

    Re: E-Commerce 0.6 beta 1 released Link to this post

    Hi there,

    It looks like the Payment class is missing a link with the Order class

    I just added the following to the Payment class which seems to have fixed a few issues I was having:

    public static $has_one = array(
        'Order' => 'Order'
       );

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: E-Commerce 0.6 beta 1 released Link to this post

    Apophenian: That should have been added through a decorator called EcommercePayment.

    If you have a look in ecommerce/_config.php file, there's this line that should add this decorator:

    // Extend Payment with e-commerce relationship.
    DataObject::add_extension('Payment', 'EcommercePayment');

    This should have set up the Order relationship on Payment automatically. Can you confirm that it created a column called OrderID on the Payment table without changing anything in Payment.php yourself?

    Cheers,
    Sean

  • Apophenian
    Avatar
    Community Member
    46 Posts

    Re: E-Commerce 0.6 beta 1 released Link to this post

    Interesting, I even did a fresh install of silverstripe (2.3.1) and added the ecommerce and payment modules seperately, and it's still not adding the orderid field to the Payments table, though from a bit of debugging, it looks like it is hitting the extraStatics method in the EcommercePayment class.

    Weird..

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: E-Commerce 0.6 beta 1 released Link to this post

    >Interesting, I even did a fresh install of silverstripe (2.3.1) ......

    E-Commerce 0.6 requires that you use the latest release of SilverStripe 2.3. At this time, the very latest is 2.3.2-rc4.

  • Apophenian
    Avatar
    Community Member
    46 Posts

    Re: E-Commerce 0.6 beta 1 released Link to this post

    Ah right - sorry for not following the instructions properly - works like a charm now.

  • Android08
    Avatar
    Community Member
    18 Posts

    Re: E-Commerce 0.6 beta 1 released Link to this post

    I get an error saying that the Order function does not exist for paypal payment. Other than that it seems to be working fine for me. Is there anyway I can change the currency symbol from $ to £?

  • Android08
    Avatar
    Community Member
    18 Posts

    Re: E-Commerce 0.6 beta 1 released Link to this post

    I have just realised that when I make an order it is overwriting my admin account with details that I type into the order? Could this be because I am logged in?

    19184 Views
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
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.