2000 Posts in 532 Topics by 435 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 16784 Views |
-
E-Commerce 0.6 beta 1 released

18 June 2009 at 12:28pm Last edited: 18 June 2009 12:28pm
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 runningPlease post any problems you have in this thread.
Thanks,
Sean -
Re: E-Commerce 0.6 beta 1 released

18 June 2009 at 4:28pm
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'
); -
Re: E-Commerce 0.6 beta 1 released

18 June 2009 at 5:02pm Last edited: 18 June 2009 5:03pm
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 -
Re: E-Commerce 0.6 beta 1 released

18 June 2009 at 5:58pm
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..
-
Re: E-Commerce 0.6 beta 1 released

18 June 2009 at 8:05pm
>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.
-
Re: E-Commerce 0.6 beta 1 released

19 June 2009 at 12:29pm
Ah right - sorry for not following the instructions properly - works like a charm now.
-
Re: E-Commerce 0.6 beta 1 released

21 June 2009 at 10:53pm
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 £?
-
Re: E-Commerce 0.6 beta 1 released

21 June 2009 at 11:00pm
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?
| 16784 Views | ||
| Go to Top | Next > |




