Page 1 of 1

[solved] Multiple payment gateways

Posted: Thu Feb 13, 2014 6:15 pm
by jhalder
I am considering building a payment gateway module that would combine the AuthNetAIM module and the PaypalGateway module functions to allow for either payment method. This is by a customer request. I have done this on other web sites, but never with CMSMadeSimple.

Before I spend too much time digging into this, is this concept of 2 payment gateways within one module even possible with the CGEcommerce/Products/Orders Suite?

The idea would be to fork the AuthNetAIM and PaypalGateway modules into a single module that would then allow the user to decide which payment gateway they would use by clicking on a link or selecting it in a dropdown.

Re: Multiple payment gateways

Posted: Fri Feb 14, 2014 6:29 pm
by JohnnyB
Sure, it should be possible because it is all PHP :)
I imagine you would just create a new module offering the end user both payment options while the module's admin would have options to enter account credentials for both gateways.
Great idea!

Re: Multiple payment gateways

Posted: Mon Feb 24, 2014 1:47 pm
by jhalder
Thanks JohnnyB,

My customer has actually decided they don't need both anyway, but my hope was not to have to manage the admin module and fork it. I guess my question was more based on that. If I have a need to do this in the future I will look into it further. I guess I'll have to look at the CGEcommerceBase module to determine that.