CMS MADE SIMPLE FORGE

PaypalGateway

 

[#4524] Wrong number of identical items sent to PayPal

avatar
Created By: Jonathan Higgins (sniggih)
Date Submitted: Tue Jan 19 15:43:01 -0500 2010

Assigned To:
Version: 2.1.4
CMSMS Version: None
Severity: Major
Resolution: None
State: Open
Summary:
Wrong number of identical items sent to PayPal
Detailed Description:
This can happen where a product has different attributes e.g. a t-shirt being
either green or blue. If you add them both to your cart, and get to 'Confirm
Your Order', they appear in the order, invoice, etc., but only one is passed
through to PayPal as an item.

I think its due to:
  $this->_items[$name] 
where it appears in the AddItem function of PayPalGateway.module.php

As the name of the product is the same, the first item is  being overwrittten in
the array.


History