Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

using payments module with trunk (r78462)

Go to End

2 Posts   1582 Views


Community Member, 15 Posts

7 June 2009 at 8:34am

Edited: 07/06/2009 8:35am


Trying to get E-Commerce module (r78462) working, but have two problems so far.

1) When trying to checkout, on /checkout/OrderForm:

[Warning] Invalid argument supplied for foreach()
POST /checkout/OrderForm

Line 158 in /Sites/sig/trunk/payment/code/PayPalPayment.php

Not getting the Order Items?

2) in ecommerce/_config trying to set the required fields

////Real account for paypal

////Test account for paypal
////Who to send test payment from

but these setters do not exist in PayPalPayment ?

Any suggestions much appreciated or if there is anything I can do to help, let me know?

Perhaps I should try using more more recent rev of E-Commerce mod? As I said, I downloaded r78462, but that isn't the most recent.



Community Member, 15 Posts

7 June 2009 at 10:04am

Maybe payments module has an older or newer version of the PayPalPayment class?

Maybe I should be using the PayPalPayment object here:


Thanks again, Todd