PayPal does not consider +5.00 to be the same as 5.00. Remove the sign from the number. Fixes bug #12152.
This commit is contained in:
parent
3151a029de
commit
b21a6e331b
3 changed files with 8 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ sub paymentVariables {
|
|||
|
||||
handling_cart => $cart->calculateShipping, ##According to https://www.x.com/message/180018#180018
|
||||
tax_cart => $cart->calculateTaxes,
|
||||
discount_amount_cart => -($cart->calculateShopCreditDeduction),
|
||||
discount_amount_cart => abs($cart->calculateShopCreditDeduction),
|
||||
|
||||
# When we verify that we have a valid transaction ID later on in
|
||||
# processPayment, we'll make sure it's the cart we think it is.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue