Jump to:

113 Posts in 154 Topics by 53 members

Payments and Payment Gateway / APIs

SilverStripe Forums » Payments and Payment Gateway / APIs » eWay Payment Error

This is a forum for discussing SilverStripe can-do payments and their APIs / Gateways.

Moderators: martimiz, Sean, Normann, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1377 Views
  • IDOLYZ
    Avatar
    Community Member
    40 Posts

    eWay Payment Error Link to this post

    Hi,

    I am trying to implement the eWay payment gateway into an ecommerce site but am running into a few errors. I'm running it in dev mode and test eWay mode.

    The first is this:
    [User Error] Uncaught Exception: Object->__call(): the method 'member' does not exist on 'EwayXMLPayment'

    This is the code that is calling it:
    $member = $this->Member();

    If I comment it out, it will execute the code up until this line:
    $ewayResponseFields = $eway->doPayment();

    And then it doesn't return any error, just a blank page.

    Has anyone got eWay working before? If so, can you please help me with this issue?

    Cheers,
    Ben

  • eWAYPartners
    Avatar
    Community Member
    1 Post

    Re: eWay Payment Error Link to this post

    Hi Ben,

    Let us know if we can be of any assistance with this matter.

    Give the Customer Care team a call on 1800 10 65 65, or email support@eWAY.com.au

    Regards,

    Tom
    Partner Manager
    eWAY - Payments made easy!

  • IDOLYZ
    Avatar
    Community Member
    40 Posts

    Re: eWay Payment Error Link to this post

    When the XML is created an passed via cURL, the response I get is:

    Resource id #313

    This doesn't look right... does anyone know what this means or what should be returned?

    Thanks,
    Ben

  • IDOLYZ
    Avatar
    Community Member
    40 Posts

    Re: eWay Payment Error Link to this post

    I found out the variables weren't getting outputted in the XML file, so I had to add the customerID variable at the top of the page, and then it worked.

    1377 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.