Forum Moderators: coopster

Message Too Old, No Replies

osCommerce Modules

How to build a payment module

         

daisho

7:10 pm on Jun 23, 2003 (gmt 0)

10+ Year Member



Hello All,

I am in the process of creating a custom payment module for osCommerce. Has anyone done this before and can give me a few tips. I find the codebase for osCommerce rather complicated as most everything is redefined you almost need to know how to program in "osCommerce" as programming in "PHP" is not good enough.

daisho.

jatar_k

11:13 pm on Jun 23, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I have only looked at oscomm once or twice but it is really ridiculous code. Seems to be confusing for confusing's sake.

where's lorax, i know he uses it ;)

daisho

1:33 pm on Jun 24, 2003 (gmt 0)

10+ Year Member



seriously. I can't seem to figure out the reasoning. I think that I've figured out how to do the payment module.

daisho.

lorax

3:44 pm on Jun 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm back - twas out-of-state for a short reprieve.

First let me come to the defense of OSC. ;) osCommerce isn't that confusing if you consider what it was built for. It's a flexible cart solution that allows for many, many different ecom needs. Plug-ins abound for it and add to it's flexibility. But - in order to allow this flexibility, yes, you need to have a bit more complex code.

There is a logical order to how it is set up. Took me a while to figure it out but the more I use it the more I like it.

daisho, if there's you need a bit more guidance on working with OSC let me know and I'll give it a go.

daisho

5:01 pm on Jun 25, 2003 (gmt 0)

10+ Year Member



I agree on the front end osCommerce seems very easy and nice to use. I think the problem that I have with it is that the osCommerce API if that's what you want to call it is undocumented. It is rather difficult to follow what's going on at the start in order to create a custom module.

As it stands now I am starting to get the hang of things so I was able to write my own payment module.

I will let you know if I get stumped :)

daisho.

lorax

7:44 pm on Jun 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



BTW - what payment gateway did you write the module for?

daisho

7:51 pm on Jun 25, 2003 (gmt 0)

10+ Year Member



Moneris.