View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005726 | module PayPal | module PayPal - sub | public | 2014-04-07 13:52 | 2014-09-16 15:22 |
Reporter | eike_spriess | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.0.3 | ||||
Target Version | 3.2.0 | Fixed in Version | 3.2.0 | ||
Summary | 0005726: PayPal Extension throws error message "The totals of the cart item amounts do not match order amounts" | ||||
Description | If in OXID eFire PayPal extension in shop admin Extension -> Modules -> Settings -> Show shopping cart on PayPal site is enabled and also Master Settings -> Core Settings -> Settings -> Order -> Allow fraction Quantities (e.g. 1.5) is enabled and customer wants to order 0.25 pieces of an article customer will get the error message "The totals of the cart item amounts do not match order amounts." when paying via PayPal Express Checkout. If option Extension -> Modules -> Settings -> Show shopping cart on PayPal site is disabled everything works fine. | ||||
Steps To Reproduce | Paypal log attached | ||||
Additional Information | If Extension -> Modules -> Settings -> Show shopping cart on PayPal site is enabled in PayPal Request the parameter L_PAYMENTREQUEST_0_QTY1' => '0.25' -> Response 'ACK' => 'Failure' If Extension -> Modules -> Settings -> Show shopping cart on PayPal site is disabled in PayPal Request the parametet is set to L_PAYMENTREQUEST_0_QTY0' => '1' -> Response 'ACK' => 'Success' | ||||
Tags | No tags attached. | ||||
|
|
|
Maybe that's because PayPal only allows positive integers? https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/#id09BHCI005L7__N50362 |
|
config parameter is evaluated here: https://github.com/OXID-eSales/paypal/blob/v3.0.2/source/modules/oe/oepaypal/models/paypalrequest/oepaypalsetexpresscheckoutrequestbuilder.php#L347 |
|
If there are items with fraction quantities in basket, option for sending basket items will not be shown to the user despite config option and only grand total will be sent. Currently PayPal is not able to handle fraction quantities. |