From 6e091aa6b4adb47d5a0eec51662296f64e76bbf5 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 2 Aug 2010 17:59:15 -0700 Subject: [PATCH] Use handling_cart instead of shipping for the HTML variable for sending shipping costs to PayPal. Fixes bug #11753. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index f481c7ddf..5fc2da2a7 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,6 +1,7 @@ 7.9.11 - fixed #11755: New cart does not update shipping methods correctly - fixed #11757: Update the USPS International driver for new country names + - fixed #11753: PayPal Plugin - Shipping not factored into total in paypal 7.9.10 - fixed #11721: spamStopWords not in WebGUI.conf.original diff --git a/lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm b/lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm index cbf143cdb..68e1fb1d3 100644 --- a/lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm +++ b/lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm @@ -228,7 +228,7 @@ sub paymentVariables { return => $return->as_string, cancel_return => $cancel->as_string, - shipping => $cart->calculateShipping, + handling_cart => $cart->calculateShipping, ##According to https://www.x.com/message/180018#180018 tax_cart => $cart->calculateTaxes, discount_amount_cart => -($cart->calculateShopCreditDeduction),