Jump to content
Sign in to follow this  
businesswoman

HELP! Shipping cost not being included in PayPal Total after Checkout

Recommended Posts

Individual product shipping price (using v1.0 contribution) is showing shipping cost on product page. Then at checkout, the shipping price is shown on the checkout page and included in the total due, although there is a delay in it showing up. However, when the pay by PayPal method of payment is selected, the shipping price is NOT included in the amount on the PayPal payment page, only the base price of the item, plus tax (when applicable). Without the shipping cost - I can't process the order. Can someone PLEASE help - we are 'this close' to getting this store live! Has this happened to anyone else? I really like the individual shipping price being displayed on each product page, but really need it to work in PayPal need a fix or if there is an alternative shipping module that allows individual product shipping prices AND works with PayPal - PLEASE let me know ASAP.

Thanks.

:blink:

Share this post


Link to post
Share on other sites

Paste this into paypal.php

 

$process_button_string = tep_draw_hidden_field('cmd', '_cart') .

tep_draw_hidden_field('upload', '1') .

tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) .

tep_draw_hidden_field('currency_code', $my_currency) .

tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .

tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')) .

 

tep_draw_hidden_field('shipping_1',

number_format($order->info['shipping_cost'] *

$currencies->get_value($my_currency),

$currencies->get_decimal_places($my_currency))) .

 

tep_draw_hidden_field('tax_cart', number_format($order->info['tax']

* $currencies->get_value($my_currency),

$currencies->get_decimal_places($my_currency)));

 

for ($i=0; $i<sizeof($order->products); $i++) {

$j = $i+1;

$process_button_string .= tep_draw_hidden_field('item_name_' . $j, $order->products[$i]['name']) .

tep_draw_hidden_field('item_number_' . $j, $order->products[$i]['model']) .

tep_draw_hidden_field('quantity_' . $j, $order->products[$i]['qty']) .

tep_draw_hidden_field('amount_' . $j, $order->products[$i]['final_price']);

}

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  

×