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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

E-Commerce 0.6 beta 1 released

Go to End

108 Posts   25593 Views


Community Member, 181 Posts

22 June 2009 at 1:44pm

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 £?

Have you tried the following in mysite/_config.php?



Community Member, 181 Posts

22 June 2009 at 1:48pm

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

Yes, it's because you're logged in as admin. Although you interact under a different "role" you are authenticated as admin so if your user id is "admin" and you place an order with an email address, that email address becomes your login email (ID).

I don't consider this a bug although for "registered" users under the ecommerce role it could get confusing if you're placing an order using a different email address and all of a sudden your login credentials change without warning.


Community Member, 12 Posts

22 June 2009 at 3:03pm

Edited: 22/06/2009 3:09pm

I get a similar error regarding method 'order' does not exist for the paypal payment method (only one I tested). thrown from
Line 145 of PayPalPayment.php (sorry had wrong line originally)

Seems like the OrderId is always '0' in the Payment table, any ideas?



Community Member, 18 Posts

22 June 2009 at 10:42pm


I have set this but now my prices show as $15.00 GBP. I want to be able to change the symbol to £15.00 GBP. Any symbol other than $ I could search the code for it but in PHP it won't be very effective.


Community Member, 30 Posts

23 June 2009 at 2:35am

Edited: 23/06/2009 2:39am

Im not sure if this is the module or the rc4 pack but I get a lot of "code" still showing on the page. for example


Community Member, 69 Posts

24 June 2009 at 6:59pm

I've got a question. I installed the beta.
How do i change the language to Dutch in the cart. I've been looking for but didn't found???
I think i must write a rule in mysite/_config.php but dont know what.

further a few little things (bugs)

In the accountpage when updated the payment etc from the order, the status changes in the small box orderhistory but not on the detailpage. date method amount payment status and details are blank.

In the CMS undefined when you change the status of the order in the reports section.
When order fineshed-completed it notes order incomplete, but in the account detailspage is is noted as completed. But still no further info on the detailpage.

Further a little thing. When you say print or invoice in the cms it opens in the same page and not in a blank page or in an iframe.
The cms is gone and you manually have to go to the cms back again by typing the url.

Thanks for response.


Community Member, 33 Posts

25 June 2009 at 10:31am

Have just tried the Order::set_site_currency("GBP");

but get this error : Fatal error: Call to undefined method Order::set_site_currency() in /home/digital1/public_html/mysite/_config.php on line 28

I can't find method : set_site_currency anywhere in the Order class. And see no mention of currency in the ChangeLog

Any ideas?


Community Member, 181 Posts

25 June 2009 at 10:51am

Well that worked in a trunk build before 0.6 so it's possible it's been superceded by something else.