kev@num Posted May 25, 2006 Posted May 25, 2006 hello, i've searched the cont's and threads and not found an answer so i'm asking here :) anyway.. i have oscommerce setup working fine with HSBC and taking payments succesfully which is all good.. ...we often have people that need to pay our company via credit card, but not for products through our shop or anything to do with our shop.. Normally we would logon to HSBC and use the virtual terminal for this, but we want these payments to go through oscommerce so that it's all logged nicely etc and goes through the system.. does anyone know of anything that has been done like this before? or could point me in a rough direction for making this? of course if i make it, i'll post it up as a contribution.. but a couple of tips would be great :) oh yes, so i guess you could say it's a virtual terminal for oscommerce (where you can enter any price) that can use any payment module that you might have installed.. thanks in advance, kev.
kev@num Posted June 2, 2006 Author Posted June 2, 2006 oh, and this would be so that the admin of the shop could enter any amount into an input box and then process it.. (seems this way might be easier than an item for 0.01 or am i wrong?) thanks :) kev.
Guest Posted June 2, 2006 Posted June 2, 2006 Hello kev@num! I and a friend have been trying to put together something similar to what you are looking for, it seems so anyway. It's almost completed. As far as we can tell, it works well. It's a hybrid of several contributions, so it likely has some unnecessary code in it. If you?re interested in seeing how it works so far, here?s a link to our new and not completed development website: oscommercenurse.com then Click on "Make A Payment" in the upper right column. ------------------------------------------------------------------------------ The plan is to make a contribution of it after the last little refining details are worked out. However, making it a contribution useable for a unmodified version of OSC might take a little while as it?s been worked on in a heavily modified version of OSC. Anyways, what?s left to do requires being able to distinguish or separate products on the checkout_shipping.php & checkout_success.php files. So far we've been able to do this on product_info.php, checkout_payment.php, checkout_confirmation.php files using the following: With product_info.php if (($products['products_id'] == 1) or ($products['products_id'] == 2)) { DO THIS } else { if (($products['products_id'] != 1) && ($products['products_id'] != 2)) { DO THAT } } AND With checkout_payment.php & checkout_confirmation.php if (($order->products[$i]['id'] == 1 & $order->products[$i]['qty'] == 1) or ($order->products[$i]['id'] == 2 & $order->products[$i]['qty'] == 1)) { DO THIS } Just can?t figure out how to do it with checkout_shipping.php & checkout_success.php files. Maybe you would have some input on what?s left to be done! TC
rabbitseffort Posted June 2, 2006 Posted June 2, 2006 there is a contribution that allows you to add a customer and products via the admin area--maybe modify it to suit your needs "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.