Thread: Eway module

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Eway module

    Hello,

    I am thinking about installing the Eway module for my shopping cart to handle credit cards.

    I was just wanting some feedback from people who currently use Eway, positive or negative .

    Kind regards,
    Anthony

  2. #2
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: Eway module

    Hello,

    I am having problems testing Eway.

    I am using the following data :

    credit card: 4444333322221111
    eway customer ID : 87654321
    eway total amount : $10.50

    which comes from the eway website:
    http://www.eway.com.au/support/xml_testing.aspx

    and within zen admin, I have transaction mode set to : testing.

    I have even tried the testing credit card number that comes with the eway mod: 4646464646464646

    However I consistently get the error that the credit card number is invalid.


    Anyone else get the test mode to work?

    Cheers,
    Anthony

  3. #3
    Join Date
    May 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Eway module => Solution

    Hi,

    I had same problem, and I found this solution:

    open the file includes/modules/payment/eway.php

    Between the lines 246 and 251, there is the following:

    if (MODULE_PAYMENT_EWAY_TESTMODE == 'Test') {
    $my_card_number = "4646464646464646";
    } else {
    $my_card_number = $_POST['cc_number'];
    }

    That means the application is setting "4646464646464646" as card number if you're in testing mode.

    In eway documentation I found the card testing mode have to be "4444333322221111", and not "4646464646464646", then it have to be like this:

    if (MODULE_PAYMENT_EWAY_TESTMODE == 'Test') {
    $my_card_number = "4444333322221111";
    } else {
    $my_card_number = $_POST['cc_number'];
    }

    I did that change, now it works!!

    Cheers

    Maia

  4. #4
    Join Date
    May 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Eway module

    Hi, its Maia again

    I'm so sorry, I putted bad the line numbers,

    I said lines 246-251,

    It is 241-245

    (in includes/modules/payment/eway.php)

    Doh!

  5. #5
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: Eway module

    Hello Maia,

    Thank you for you input.

    I changed the card number on the line suggested -

    from 4646464646464646 to 4444333322221111

    and then zen-cart --> admin --> modules --> payment :

    I set the eway module transaction mode to "test"

    however, when I try to make a test purchase, I get:

    "50,Do Not Honour(Test Gateway)"

    as it takes me back to the page where you enter in your cc number.


    Is there something else I am missing?

    Thanks,
    Anthony

  6. #6
    Join Date
    Jun 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Eway module

    H Guys,

    I use eway as my third party payment gateway. Works very well.

    The credit card number to use for testing is: 4444333322221111

    AND YES, it will return an ERROR. This is eways way of saying that your setup is CORRECT but it will refuse to send the details through to the bank of choice as it is NOT a REAL Credit Card. But let me assure you it IS working if it returns the error with ("TEST GATEWAY")

    I too thought something I was doing was wrong untill I confirmed it with eway themselves and I have SSL setup as well.

    I ended up doing a REAL TIME TEST when I went "LIVE" and just purchased a $5.00 item which went into my bank account. So at least you know it works. For the $5 outlay it was worth it.

    Crash

  7. #7
    Join Date
    May 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Eway module

    Yes guys, the eway module works in live transactions. I can confirm it. Also, I dont have that error you get in the test mode, after the correction I did and I posted about the credit card test number.
    Cheers
    Maia

  8. #8
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    1

    Default Re: Eway module

    The old module was not up to eWay's latest specs.
    In test mode the last two digits of your total determines the response
    $30.00 gives 00 = approved
    $10.50 gives 50 = failed
    here are eway's response codes

    Get my latest contribution (wait for v2.1 to be approved v2 still has bugs).

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

    Default Re: Eway module

    Has anyone modified this module for use with eway's beagle fraud system??

  10. #10
    Join Date
    May 2007
    Posts
    36
    Plugin Contributions
    0

    cart error Re: Eway module

    Does anyone know precisely what this line of coding controls

    curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);

    and what happens if i turn it off, as in change it to a 0. It's been causing an error on my site recently but when i change it to 0 it solves the problem.

    It comes from this snippet of code

    /* Use CURL to execute XML POST and read the return directly */
    $ch = curl_init (GATEWAY_URL);
    curl_setopt ($ch, CURLOPT_POST, 1);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml_request);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,0);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION,0);
    $xml_response=curl_exec($ch);
    curl_close($ch);

    $this->parser = xml_parser_create();

    in /includes/modules/payment/eway.php

    and was causing the following error

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in

    Thanks for your help...

    Cheers, ToNy!

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. eWay module error.
    By kennyoz in forum Addon Payment Modules
    Replies: 4
    Last Post: 4 Sep 2010, 09:41 AM
  2. Eway Module
    By Jimmy Blakk in forum Addon Payment Modules
    Replies: 10
    Last Post: 11 Jun 2009, 08:04 AM
  3. Eway module
    By Joshua.O in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 29 Jan 2007, 03:32 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR