So testing out the Ecommerce 0.6 and Payment module, at first glance they seem all good! The AJAX seems to be working, etc. There is a problem when you proceed to checkout it doesnt seem to be able to pass some variables across, I get the following error:
//////////////////////////////
[Warning] Invalid argument supplied for foreach()
POST /checkout/OrderForm
Line 158 in /home/www/web567/web/payment/code/PayPalPayment.php
Source
149 // 2) Main Settings
150
151 $url = self::$test_mode ? self::$test_url : self::$url;
152 $inputs['cmd'] = '_cart';
153 $inputs['upload'] = '1';
154
155 // 3) Items Informations
156
157 $cpt = 0;
158 foreach($items as $item) {
159 $inputs['item_name_' . ++$cpt] = $item->TableTitle();
160 // item_number is unnecessary
161 $inputs['amount_' . $cpt] = $item->UnitPrice();
162 $inputs['quantity_' . $cpt] = $item->Quantity;
163 }
164
//////////////////////////////
However, the recommended SS CMS is 2.3 I'm running 2.3.1 ... I highly doubt that's it though.
Does anyone have any ideas?
Also another problem is with Firefox 3.5 (for MAC) when I add an item to the CART seems to go back to the home page??? On Safari and other browsers works fine ... Any ideas ??
Thanks