English Boards > Support
Custom Module, Credit Card processing using Samba
aloupos:
Emre -- the improvements to external processor are perfect. I'm following the patterns you've set there, which were a bit of a learning curve but helped me a lot to not soil your seriously clean code. :)
John, I'm integrating to the authorize.net api, which seems to be the standard API for web commerce. My merchant vendor, paynet -- which is not directly affiliated with authrorize.net has mirrored that api as well. Most shopping carts use this api. The only difference among these merchants is obviously the url, which I'll put in the settings.
I'll implement this using an abstract class so we can plug in additional processors for chip and pin.
Edgar, our notation for displaying credit card numbers is identical, so I'll follow suite.
So far I've just about finished the UI elements, including forms for pre-authorize, authorize, manual credit card entry and tips.
I still need to complete the api integration and print integration.
Emre, obviously we use the standard printer templates, but we need to add some additional fields, for the name, credit card number, etc. How should I proceed?
aloupos:
Another question is the TIP. Maybe I missed it, but can I add the TIP to the bill in code?
emre:
Anthony I hope you are having fun while implementing that.
Basically we'll create two service templates. One for Gratuity and the other one for Tip. User will enter Tip amount. We'll read Tip Service Template name from processor settings and add tip amount as a service like we did for gratuity. We'll use service templates because on Work Period Reports we need to see these amounts separately. We can also print them in detail.
I'll improve printing for sending custom tag values. I'll wait your fist commit for implementing it.
Thanks.
emre:
I'm asking it to be able to ensure I'm not misunderstanding something. Are gratuity and the tip same thing or they are separate amounts?
aloupos:
Nope. They're the same. Let's just call it Gratuity from now on.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version