scalextric Posted June 18, 2007 Share Posted June 18, 2007 I installed the module pm2checkout 2.1b The 2CO site is able to get the product ID and display the product name from the product list which is stored in 2CO. The shipping cost is also correct. However the total cost is always wrong . It shows 75.13 USD. But the total is 40.09 I print out the parameter give generate in the pm2checkout.php, below is the value I pass to 2CO when customer click the confirmation button. Please help!!!!!!!!!!!!!!!!!!!!!!!!! Inside the parameter, the product ID, product price and total price are all correct. [2007/06/18 05:48:59] cOrderTotal: 40.09 [2007/06/18 05:48:59] before return process_button_string<input type="hidden" name="c_prod_0" value="188,1"><input type="hidden" name="c_name_0" value="Castlevania: Portrait of Ruin"><input type="hidden" name="c_description_0" value="Castlevania"><input type="hidden" name="c_price_0" value="34.99"><input type="hidden" name="sh_cost" value="5.1"><input type="hidden" name="x_login" value="372551"><input type="hidden" name="x_amount" value="40.09"><input type="hidden" name="x_invoice_num" value="20070618174859"><input type="hidden" name="demo" value="Y"><input type="hidden" name="fixed" value="Y"><input type="hidden" name="id_type" value="1"><input type="hidden" name="x_first_name" value="Eddie"><input type="hidden" name="x_last_name" value="Chan"><input type="hidden" name="x_address" value="Room 16C"><input type="hidden" name="street_address2" value="Shun Fung Wai"><input type="hidden" name="x_city" value="Tuen Mun"><input type="hidden" name="x_state" value="NT"><input type="hidden" name="x_zip" value="00000"><input type="hidden" name="x_country" value="Hong Kong"><input type="hidden" name="x_email" value="[email protected]"><input type="hidden" name="x_phone" value="234324324"><input type="hidden" name="x_ship_to_first_name" value="Eddie"><input type="hidden" name="x_ship_to_last_name" value="Chan"><input type="hidden" name="x_ship_to_address" value="Room 16C"><input type="hidden" name="x_ship_to_city" value="Tuen Mun"><input type="hidden" name="x_ship_to_state" value="NT"><input type="hidden" name="x_ship_to_zip" value="00000"><input type="hidden" name="x_ship_to_country" value="Hong Kong"><input type="hidden" name="tco_currency" value="USD"><input type="hidden" name="pay_method" value="CC"><input type="hidden" name="x_email_merchant" value="TRUE"> <input type="hidden" name="c_price_0" value="34.99"> is the product price -->correct. <input type="hidden" name="x_amount" value="40.09"> is the total is also correct. But when it go to 2CO , the total is 75.13 (incorrect) please help!!!!!!!!!!!!!!!!! scalextric Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.