Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Authorize .Net card charging process


Recommended Posts

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 by ioudas
Link to comment
Share on other sites



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

Link to comment
Share on other sites

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 by ioudas
Link to comment
Share on other sites

  • 4 weeks later...

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



Edited by Jan Zonjee
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...