javerleo Posted October 17, 2006 Posted October 17, 2006 I'm trying to write a new payment module to allow customers use 'virtual money' to make an order. This virtual cash comes from residuals (this is a multilevel marketing system) and is stored in a separated table. I have used the same model proposed by oscommerce developers to build new payment modules and even though I carefully checked the code still get wrong results in some calculations. I discovered problem arises when checkout process reaches the checkout_payment.php script. I notice the wrong results come from the session variables being empty temporary. Since I use customers_id session variable to make SQL queries and calculations the validations and procedures I need simply do not work. I use Oscommerce 2.2 ms2, mysql 5.0.21 and php 5.1.4 Any suggestion will be helpful. Thanks in advance.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.