Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » ECommerce Custom

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1208 Views
  • Adriaan
    Avatar
    Community Member
    1 Post

    ECommerce Custom Link to this post

    Hi guys, recently switched to Silverstripe. Great product. I am still getting to grips with some of the structure and ways to change it to my liking. I would like to ask the following.

    I am using the latest ecommerce module and would like to change some ways.

    1) How can I remove the payment method?

    I would just like the module to mail me the order. At the moment the status tells me the order is incomplete. It seems like it wants me to make a Cheque payment first before it mails me the order. e.g. to the admin email.

    I am however getting the Shop Receipt as a user. I would please like to know how to bypass the payment and just carry on with the emailing of the order: receipt to user (where I can edit the email template giving me bank details) and a copy of the order to me, Admin.

    Can this be done and how would I go about doing that. I would just like to use manual Direct Bank Deposits by the user.

    Thanks in advance.

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: ECommerce Custom Link to this post

    I suggest that you just use the "Cheque" payment method class, and label it however makes sense for your site.

    You might want to update ChequePayment::processPayment() to set the status to "Success" instead of "Pending".

    Or, to preserve upgradeability, create your own payment class with this logic, that is included as part of your project code.

    1208 Views
Page: 1
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.