Originally Posted by
gandalfsmith
I am attaching the log files per the 3 points above
In the case of redeeming GV greater than product amount, try making the following change to /includes/modules/payment/paypalwpp.php:
around line 1334 remove the code highlighted in red on the start of these lines where shown,
and for GV being the same as the product amount, add the = sign as shown:
Code:
if (strval($optionsST['ITEMAMT']) <= 0) {
$pre = (array_merge($optionsST, $optionsLI)); $optionsLI = array();
$optionsST['ITEMAMT'] = $optionsST['AMT'];
if ($optionsST['AMT'] < $optionsST['TAXAMT']) $optionsST['TAXAMT'] = 0;
if ($optionsST['AMT'] < $optionsST['SHIPPINGAMT']) $optionsST['SHIPPINGAMT'] = 0;
$discountProblemsFlag = TRUE;
Bookmarks