Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal Total doesnt have shipping


Ryanc

Recommended Posts

I am using the UPS module and Paypal module and whenever I test checking out and it calculates the Total, once the paypal site loads the total is only including the Sub-Total without shipping! How do I fix this??

Link to comment
Share on other sites

The first price you see is the total without shipping and then the shipping charge should be shown later in the process. Strange way to do it but it is by design not a fault.

 

To change, you would have to adjust these two lines:

 

tep_draw_hidden_field('amount', number_format(($order->info['total'] - $order->info['shipping_cost']) * $currencies->get_value($my_currency), 2)) .

 

tep_draw_hidden_field('shipping', number_format($order->info['shipping_cost'] * $currencies->get_value($my_currency), 2)) .

 

deleting the shipping reduction from the first and setting shipping cost to zero in the second.

Ian-san

Flawlessnet

Link to comment
Share on other sites

I don't think you understand what I my problem was. Maybe I didn't word my original post properly. My problem is that when a customer hits the order confirmation button and is taken to the paypal website to pay me, the amount owed on the paypal site does *not* include the shipping, and it should.

 

Example:

I order something that costs $50 and shipping is $10, so my order total is $60. After I am taken to the paypal website to make my payment, the total on the paypal site says $50, and does not include the shipping charges.

 

I need the paypal total to obviously include the shipping charges as well.

Link to comment
Share on other sites

Hi Ryan

 

You can also use the PayPal IPN Contribution to avoid those problems with shipping and also with taxes.

From the module configuration you can choose to include shipping and taxes values in the order total amount, so your customers will see those values in the first PayPal screen.

 

I hope it helps!

 

Best regards

Link to comment
Share on other sites

  • 2 weeks later...

Hi, osmosis

I installed the PayPal IPN.

Can u give me some hind on how to avoid those problems with shipping and also with taxes??? (Same problem as Ryanc).

Many Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...