Thread: Eway module bug

Results 1 to 6 of 6
  1. #1
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Eway module bug

    Hi All,

    I have just installed the eway payment module to my zen cart store (1.2.7d). Everything seems to work fine but the last few days I have had some people complain they recieve the following error when trying to purchase with their credit card: Error # 1072896749

    I have replicated this error myself so I know its not just a typo on their part and I have also succesfully done a manual transaction with the exact same credit card details from within the eway console.

    Eway have said this to me when submitting a support ticket:
    Please contact your web developer ASAP the error relates to the XML being posted from your site to the eWAY payment gateway.
    Objectify input XML error: Error Code: -1072896749

    The only 2 changes I have made to the eway payment module is the fix to enable transactions over $1000 work properly and comment out the following code to remove the error on the checkout page:

    /* Warn if we're running on what seems to be an insecure port
    if ($SERVER_PORT != "443") {
    print "<FONT COLOR=RED><B>WARNING:</B></FONT>This transaction was <b>INSECURE</b>\n";
    }
    */

    If anyone has had this problem themselves or knows what might be causing it I would be very grateful to hear you feedback.

    Thank you,
    Brad.

  2. #2
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Eway module bug

    Just figured it out. Its the & symbol which causes headaches for the xml, how do I fix that without having to replace all the & symbols in my product titles?

    Brad.

  3. #3
    Join Date
    May 2006
    Location
    Australia
    Posts
    110
    Plugin Contributions
    2

    Default Re: Eway module bug

    Not that it helps much, but if you do replace all the ampersands just use this bit of code &amp; - that's HTML for '&', just in case you didn't know. ;)

  4. #4
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Eway module bug

    All fixed now, in case anyone else has experienced this problem all you need to do is add the htmlspecialchars function to teh code.

  5. #5
    Join Date
    Aug 2005
    Posts
    5
    Plugin Contributions
    0

    Default Re: Eway module bug

    Quote Originally Posted by emtecmedia View Post
    All fixed now, in case anyone else has experienced this problem all you need to do is add the htmlspecialchars function to teh code.
    I know this was a while ago, but could you perhaps expand on this slightly? Where would this function be added? I'm guessing in epayment.php?

  6. #6
    Join Date
    May 2007
    Location
    Melbourne, Australia
    Posts
    88
    Plugin Contributions
    0

    Default Re: Eway module bug

    Hi

    I'm also getting this error. Since I'm not an expert in php could anyone advise what specific changes this eway module requires, in plain english. Do we change the &npsb to &ampnbsp in the eway.php file, or what?

    regards
    Robert

 

 

Similar Threads

  1. Eway module
    By xman888 in forum Addon Payment Modules
    Replies: 32
    Last Post: 14 Dec 2012, 02:43 AM
  2. Eway Module
    By Jimmy Blakk in forum Addon Payment Modules
    Replies: 10
    Last Post: 11 Jun 2009, 08:04 AM
  3. eway $1000 bug - help!
    By emtecmedia in forum Addon Payment Modules
    Replies: 9
    Last Post: 8 Oct 2007, 04:36 PM
  4. Eway module
    By Joshua.O in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 29 Jan 2007, 03:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg