Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Make Order without payment


mikotondria

Recommended Posts

Hi :)

 

I was wondering if anyone could assist with the below..

 

My client has 2 types of product on the site.

1 type they can accept payment for and that all works fine with the authorize.net module, no problem.

 

The other product, they need to do some credit checking for the customer before they can apply a deposit amount to the order total, and then process the order that way..

 

I need to be able to collect the order data BEFORE the credit card module takes the money off their card, so I was thinking of splicing in some code into checkout_payment that diverts the customer to a page telling them they need to call customer service and run through the buy-out process that way.

This much, Im happy to do, as I can 'flag' the product types and read from the cart which they have, which is cool..

 

I am wondering, however, how the cart contents get converted into an 'order' per se, and how I can dump the cart contents and the customers details into the 'orders' table, and flag the order with a custom status ?

 

Any pointers anyone ?

 

Many thanks in advance.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...