Jump to:

2082 Posts in 1002 Topics by 452 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Payment module work without Ecommerce?

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 2
Go to End
Author Topic: 2763 Views
  • motoservo
    Avatar
    Community Member
    24 Posts

    Payment module work without Ecommerce? Link to this post

    Has anyone has any luck setting up the Payment module without Ecommerce? I know that is why it was separated but I'm not quite sure how to set it up and use it. I'm currently getting an error:

    [User Error] Uncaught Exception: Object->__call(): the method 'order' does not exist on 'PayPalPayment'

    so, since I'm not seeing any methods called "order" defined in Payment, or PayPalPayment, I'm not sure it can be used independently, yet.

    If anyone can share tips, suggestions, or general wisdom on the issue I'd appreciate it.

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Payment module work without Ecommerce? Link to this post

    Payment module was taken out of ecommerce, but it wasn't done thoroughly, and therefore has bits of e-commerce dependent code in some places.

    One particular issue is the payment types that redirect the user to another site, and back again, don't handle the redirect back properly. They still assume there is a $payment->redirectToOrder(); method available. I'm currently attempting to implement a PaystationPayment method.

    Redirect handlers should be standardised for all payments that require them.

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Payment module work without Ecommerce? Link to this post

    Here's a patch I made to fix the issue: http://open.silverstripe.com/ticket/4387

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Payment module work without Ecommerce? Link to this post

    Argh, I realised this patch won't work.

  • motoservo
    Avatar
    Community Member
    24 Posts

    Re: Payment module work without Ecommerce? Link to this post

    I found the stuff that was order specific and commented it out. I was able to get as far as the automatic redirect to Paypal but I stopped there for now because the PP account isn't completely enabled yet. I'll be watching for that patch, if you manage to get it working.

  • le_banana
    Avatar
    Community Member
    21 Posts

    Re: Payment module work without Ecommerce? Link to this post

    Why there is so many problems with PayPalPayment in ecommerce beta 0.6 ?

    Does anybody have this module working ?

    I've tried to find an answer on this forum about an error from first post (i've got the same ) , but i didn't find anything.

    If somebody find a solution, it would be great. I need to implement this Payment as fast as possible, but I stuck for 3 days .

    I need your help

  • le_banana
    Avatar
    Community Member
    21 Posts

    Re: Payment module work without Ecommerce? Link to this post

    So , Is that means, that nobody can help me with PayPalPayment?

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: Payment module work without Ecommerce? Link to this post

    le_banana:

    Ecommerce has so many problems because it is still in beta. E-commerce and Payment modules have little development activity. It may be soely up to the SilverStripe community to produce patches / new versions of the modules.

    Another issue that is causing problems is the fact that Payment related code was seperated out into its own seperate module. Some payment methods still need to be updated to work properly with the e-commerce module. Infact the payment module needs to be abstracted properly.
    I've written about this issue here: http://groups.google.com/group/silverstripe-ecommerce/browse_thread/thread/aa1055a7c565e22

    E-commerce tickets: http://open.silverstripe.com/report/20

    2763 Views
Page: 1 2
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.