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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   32451 Views

Avatar
TotalNet

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?

Order::set_site_currency("GBP");

Avatar
TotalNet

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.

Avatar
squared99

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?

Cheers

Avatar
Android08

Community Member, 18 Posts

22 June 2009 at 10:42pm

Order::set_site_currency("GBP");

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.

Avatar
one2gamble

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.

http://dejavucarmel.com/ss/ for example

Avatar
haantje72

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.

Avatar
chrisdarl

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?

Avatar
TotalNet

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.