Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to create a new payment module


jhmisa

Recommended Posts

What I want to happen is to have 2 types of payment module

 

Cash on Delivery

A person brings the goods to the client and client pays to the delivery man.

Goods + Delivery charge = Total charge

 

Credit Card on delivery

This is also like Cash on delivery but the difference is that the Delivery man brings goods to the client and the client gives the credit card to the delivery man which has a credit card swipe machine. This has an additional 4% charge to the overall total charge. (This means that the client does not need to give his credit card details in the website but I want the 4% to be calculated automatically)

Total charge + 4% of Total charge = Total Charge

 

My question is how do I do it? Or is there a contribution available for this? I have tried to search but so far couldn't find any

 

Thanks for any help!

 

Best regards,

Joey

Link to comment
Share on other sites

The first one already exists in the shop. To create the second one, make a copy of the first, change the name to something line codpercent and add the code to charge the extra percentage. There are more details as to how to create the second. If you search for your question here in the forums, you will find many other threads that cover the how to.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...