Jump to:

2088 Posts in 1008 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Change payment type

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
Go to End
Author Topic: 1071 Views
  • Eco
    Community Member
    15 Posts

    Change payment type Link to this post

    I want to change the payment type on the checkout page to Credit Card. My client does not use a payment gateway, they manually process credit card details. After the checkout page there will be a page for capturing the credit card details.

    How do I modify the module to indicate a different payment type?


  • inCharge
    Community Member
    102 Posts

    Re: Change payment type Link to this post

    You'd need to create your own payment module, extending the Payment class.

    So I guess you'd define $db members for the card details, getPaymentFormFields returns the card details form that the purchaser completes, and the controller validates & stores the card details.

    Bear in mind that if payment card details are being entered & stored on a web server, the server probably needs to be audited by an independent security firm. That's why everyone's switching to payment forms hosted by the card payment gateways.

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.