Jump to content
Sign in to follow this  
scalextric

Pm2checkout Module Incorrect Total Price Show In 2co

Recommended Posts

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="wanki_yeung@yahoo.com.hk"><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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×