d0mokun Posted December 22, 2005 Share Posted December 22, 2005 Hi all, Just wondering if there are any posts or resources offering help for writing a Payments Module from scratch? Regards Dan. Quote Link to comment Share on other sites More sharing options...
Chris Dunning Posted December 22, 2005 Share Posted December 22, 2005 I would suggest starting with either a very simple payment module (such as the check/money order module) or something that is similar to what you're trying to do. If you're building a module to connect with a new payment processor, for example, you could start with the authorize.net module. Starting with an existing module shows you the framework that you need to have and should give you an idea of what all of the functions do. Quote Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly. Link to comment Share on other sites More sharing options...
d0mokun Posted December 22, 2005 Author Share Posted December 22, 2005 I would suggest starting with either a very simple payment module (such as the check/money order module) or something that is similar to what you're trying to do. If you're building a module to connect with a new payment processor, for example, you could start with the authorize.net module. Starting with an existing module shows you the framework that you need to have and should give you an idea of what all of the functions do. Hi Chris, Thanks for your reply! I shall take a look now. My problem is proving incredibly difficult to solve to me; I'm no hardcore php expert. The processor that my client wishes to use is 'Buy-Line', which appears to process things server-side rather than on a buy-line server. It's all very confusing and to be honest i've no idea what to do! Thanks & regards Dan. Quote Link to comment Share on other sites More sharing options...
cloove Posted February 2, 2006 Share Posted February 2, 2006 hi there! i am also interested to write some new payment and it should be only textual options of payments. So people are able to choose what payment they will use and after that e-mail with their chosen option will be sent to the owner of the shop. any contribution???please help Quote Link to comment Share on other sites More sharing options...
dynamoeffects Posted February 2, 2006 Share Posted February 2, 2006 Hi Chris, Thanks for your reply! I shall take a look now. My problem is proving incredibly difficult to solve to me; I'm no hardcore php expert. The processor that my client wishes to use is 'Buy-Line', which appears to process things server-side rather than on a buy-line server. It's all very confusing and to be honest i've no idea what to do! Thanks & regards Dan. I've written a payment and shipping module and both times I started out with an existing module like BlueNote said. There is no documentation, you just have to figure out where each function gets called and what needs to be done within that function at that point in the checkout process. Usually the processor has an example script that you can work from and tear apart. But if your PHP knowledge is limited and since this is for a (hopefully) paying client, you should farm it out. Payment modules are probably the most complex addons you can create for OSC. One option is to find another processor that charges the same or less AND has a well-supported OSC module and tell your client that you'll eat the setup charge if they'll move to that. You'll save yourself a ton of time and money. Quote Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.