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.

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

Object of class Money could not be converted to double

Go to End

12 Posts   2754 Views


Community Member, 5 Posts

6 June 2010 at 1:58pm

Hmmm. You are using the latest ecommerce from Jedatech?

I get a similar error when I undo his changes in the OrderForm class. Around line 200 in the processOrder function should read:

    // Save payment data from form and process payment
    $payment->OrderID = $order->ID;
    $payment->Amount->Amount = $order->Total();
    $payment->Amount->Currency = Order::Currency();

This handles the changes made in the Payment module to implement the Money class.

Hope this is of some help. Otherwise, do you have a stack trace?


Forum Moderator, 435 Posts

7 June 2010 at 12:57am

yes...same position


Forum Moderator, 435 Posts

9 June 2010 at 7:49am

Solved with last ecommerce trunk


Forum Moderator, 435 Posts

9 June 2010 at 7:53am

Solved with last trunk

Go to Top