Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

where do payment modues get the sales total, shipping charge and tax from?


petercascio

Recommended Posts

Posted

We are having a problem with one of the PayPal modules that I'm trying to fix. I've asked this in the relevant discussion thread and tried to contact the author of the module directly, but without success.

 

What I would like to do is to add the sales total, shipping charge, low order handling charge (if applicable) plus tax on all three as the 'total' and pass this to the payment module as it reports the wrong tax amount and ignores the handling fee.

 

Another payment module does this correctly so I guess the cart does all the work but the PayPal module somehow doesn't pick up all the info.

 

Any help would be very much appreciated.

Posted

Peter,

 

The only variable passed to PayPal from the checkout_process.php file is the $total. In a modified PayPal Standard file, the product description is also passed to PayPal (limited in characters). You did not specify which module you are working with so I can not offer any further information.

 

 

 

Chris

Posted

There is a call to order total module to get the total.Which further relies on the order total module sort order.

 

This module then updates order object which is used by payment modules.

 

$order_total_modules->process();

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

The Geotrust/Skipjack module http://addons.oscommerce.com/info/1412 is the one that is working fine for us. PayPal Payflow Pro (not PayPal Pro) http://addons.oscommerce.com/info/6244 is the troublesome one. There is an official module from PayPal but it is a huge pain and in our very heavily modded store next to impossible to install.

 

So where does the module get the tax and shipping info from? Does it calculate the tax?

 

Peter

 

Peter,

 

The only variable passed to PayPal from the checkout_process.php file is the $total. In a modified PayPal Standard file, the product description is also passed to PayPal (limited in characters). You did not specify which module you are working with so I can not offer any further information.

 

 

 

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...