Jump to:

2088 Posts in 1007 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » using payments module with trunk (r78462)

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1095 Views
  • toddm
    Avatar
    Community Member
    15 Posts

    using payments module with trunk (r78462) Link to this post

    Hi,

    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
    PayPalPayment::setPayPalRealAccount('info@asdf.com');

    ////Test account for paypal
    PayPalPayment::setPayPalTestAccount('info@sdaf.com');
    //
    ////Who to send test payment from
    PayPalPayment::setPayPalUseTestAccount('info@agasdf.com');

    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.

    Todd

  • toddm
    Avatar
    Community Member
    15 Posts

    Re: using payments module with trunk (r78462) Link to this post

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

    Maybe I should be using the PayPalPayment object here:

    http://open.silverstripe.com/ticket/1760

    ?

    Thanks again, Todd

    1095 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.