Jump to:

2088 Posts in 1007 Topics by 455 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: 19447 Views
  • PaymentExpress
    Avatar
    Community Member
    5 Posts

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

    Hi again,

    This is a newer version of the DPS Hosted Payment Page (Px Pay) payment module that also supports easy repeat purchases (via DPS Web Service). The customer can opt for their card to be saved (in DPS' system) so that it can be used easily next time. The next time this user checks out, a truncated card number will be shown at checkout and this can be selected for payment.

    Unfortunately I haven't been able to get it uploaded to an SVN repository yet (proxy causing some drama) so hopefully the zip file will do for now.

    Please note that this module needs a fair bit of testing and any questions/feedback/bug reports are welcome.

    Thanks.

    Attached Files
  • eskimo
    Avatar
    Community Member
    30 Posts

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

    When setting up PayPal am I still using the same method of putting the payment methods in the the _config file in /mysite/ or is it the _config file in /eccomerce/

    The notes in PayPalPayment seem to suggest it is the latter. Is this correct?

    Cheers

    Shaun

  • eskimo
    Avatar
    Community Member
    30 Posts

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

    In answer to my question - its the /ecommerce/_config.php that you change.

    ----------------------------------------------------------------------------------------------------------------------------------------

    Does the paypal option do anything with API's at all or is just a case of going to the PayPal payment page?

    Many thanks

    Shaun

  • eskimo
    Avatar
    Community Member
    30 Posts

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

    Another quick question - did anyone work out how to change the amount total in the payment-2 page to be anything other than "$"? Just want to make it a pound sign.

    Cheers

    Shaun

  • TotalNet
    Avatar
    Community Member
    181 Posts

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

    Hey Shaun,

    All config settings should be fine done in mysite/_config.php, changing the module's config file may get overwritten if you upgrade it.

    Anyway, have you tried

    Currency::setCurrencySymbol("£");


    in your mysite/_config.php ?

    Cheers,

    Rich

  • eskimo
    Avatar
    Community Member
    30 Posts

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

    I have done that and it changes everything except the amount in summary page. As attached.

    I don't know if there is another change I should make?

    Many thanks

    Shaun

    Attached Files
  • TotalNet
    Avatar
    Community Member
    181 Posts

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

    Just had a look a the code (latest trunk version) and this is hard-coded into OrderForm.php, so you'll have to change it here.
    line 70

    $total = '$' . number_format($currentOrder->Total(), 2);


    replace '$' with Currency::getCurrencySymbol()

  • eskimo
    Avatar
    Community Member
    30 Posts

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

    I'm afraid when I make this change on line 70 to look like:

          $total = Currency::getCurrencySymbol() . number_format($currentOrder->Total(), 2);

    I get the following error:

    Fatal error: Call to undefined method Currency::getcurrencysymbol() in /home/wwdncouk/public_html/ecommerce/code/forms/OrderForm.php on line 70

    19447 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.