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

Change payment type

Go to End

2 Posts   1515 Views


Community Member, 15 Posts

11 May 2011 at 3:36pm

Edited: 03/06/2011 1:29pm

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?


Community Member, 102 Posts

14 May 2011 at 1:05am

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.