ioudas Posted January 1, 2014 Posted January 1, 2014 (edited) I have a client who has a web hosting setup with os commerce 2.2. They have a custom field populated for a field per product. This would be a charge that is unique per product. A core charge. They are using authorize.net for billing. I would like to add this charge to the final payment processing. Where does this occur? in includes/modules/payment.php? checkout_process.php? or authorizenet_cc_aim.php in the payment include directory? What code should I change?I can get the values based on a product and its quantity.... can add it to order totals table..... Edited January 1, 2014 by ioudas Quote
Bob Terveuren Posted January 1, 2014 Posted January 1, 2014 Hi You could convert the custom field to a standard attribute to wihich you could then add the appropriate cost to - that would the just add the extra cost into the normal order totals. Otherwise you'd need to create a new order total module and put it in the folder catalog/includes/modules/order_total/ - that would then need some code in it to look at ech product in the cart and add the amounts from your custom field. Provided that is setup correctly then the order total will reflect it and that order_total amount would be passed through to Authorize.net Quote
ioudas Posted January 1, 2014 Author Posted January 1, 2014 (edited) That sounds like needless unnecessary work. The cost is per product x qty. I would just like to know where it is processed and where it gets its order information. Thats it. Edited January 1, 2014 by ioudas Quote
Mareum Posted January 26, 2014 Posted January 26, 2014 (edited) Hey everyone ! How many of you are using authorize.net?? Isn't it a great one? I am used to of it now.. It never creates problems for me.. Instead, It serves to be a lot beneficial.. Did anyone read this post relating to authorize.net? It helped me a lot. Have a look www.fetchflow.com/blog/authorize-net-invoicing Edited January 26, 2014 by Jan Zonjee Quote
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.
Note: Your post will require moderator approval before it will be visible.