Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pm2checkout Module Incorrect Total Price Show In 2co


scalextric

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="[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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...