eWay Payment Gateway (Australia)

Contrib type: 
Module
Status: 
Initial upload

Downloads

Latest version: 
5.x-0.2
Compatibility: 
Ubercart 1.x

Ubercart integration with the Australia payment gateway: eWay (http://www.eway.com.au)

Related threads: 

PreviewAttachmentSize
uc_eway-5.x-0.2.tar.gz4.06 KB
daniel.s's picture
Offline
Joined: 10/09/2007
Juice: 87
Testing

Does anybody have access to a valid eWay account? If you do, would you mind testing it?

The friend who i'll be using the module for hasn't yet signed up, so I couldn't test against the live server.

chloeraina's picture
Offline
Joined: 12/28/2007
Juice: 4
Re: eWay Payment Gateway (Australia)

i just tried using it with a live account and got this: The eWAY service requires SimpleXML. Please arrange for its installation and then try again. i assume that has something to do with my web hosting service though?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15459
Re: Re: eWay Payment Gateway (Australia)

Yep, that's a feature of PHP 5. You'll have to get your PHP version updated in order for it to work.

daniel.s's picture
Offline
Joined: 10/09/2007
Juice: 87
Re: eWay Payment Gateway (Australia)

I have to upload the latest version. It's got some bugfixes.

bengtan's picture
Offline
Joined: 01/25/2008
Juice: 18
Re: Re: eWay Payment Gateway (Australia)

Hi, I'm interested in this module. Did you say there is an updated version?

daniel.s's picture
Offline
Joined: 10/09/2007
Juice: 87
Re: Re: Re: eWay Payment Gateway (Australia)

I've posted the most recent code that I have.

I'm not going to maintain this anymore, as I have no use for it. The friend that I developed it for has decided to use PayPal to start with.

bengtan's picture
Offline
Joined: 01/25/2008
Juice: 18
Re: Re: Re: Re: eWay Payment Gateway (Australia)

No problem. Thanks for the update.

I have a client who is planning to use eWay. Depending on how things go with development, and whether this module does eventually get used, there's a chance I'd be happy to co-maintain this. See how we go.

honewatson's picture
Offline
Joined: 03/24/2008
Juice: 35
Re: Re: Re: Re: eWay Payment Gateway (Australia)

Hi any progress on EMatters Daniel? This seems like an interesting solution. Does the EWay module work with an actual account?

What would it cost to get it working?

Cheers.

jasontaylor's picture
Offline
Joined: 05/06/2008
Juice: 2
Re: Re: Re: Re: Re: eWay Payment Gateway (Australia)

I'm also very interested in using eWay. What stage is this module at, has it been tested? Has anyone taking this module further? I'm happy to help get this module going.

Wayne Doyle's picture
Offline
Joined: 08/20/2008
Juice: 2
works for me

I am using this in production and have only had this one issue so far

<?php
// just adding htmlentities() around the fields
// fixes customers using "C/O Cobb & Co." as an address
// the & sign breaks xml

 

$xml_data = array(
       
'ewayCustomerID' => htmlentities(variable_get('eway_customer_id', '87654321')),
       
'ewayTotalAmount' => htmlentities(uc_currency_format($amount, FALSE, FALSE, '')),
       
'ewayCustomerFirstName' => htmlentities($order->billing_first_name),
       
'ewayCustomerLastName' => htmlentities($order->billing_last_name),
       
'ewayCustomerEmail' => htmlentities($order->primary_email),
       
'ewayCustomerAddress' => htmlentities($customer_address),
       
'ewayCustomerPostcode' => htmlentities($order->billing_postal_code),
       
'ewayCustomerInvoiceDescription' => htmlentities($description),
       
'ewayCustomerInvoiceRef' => htmlentities($order_id),
       
'ewayCardHoldersName' => htmlentities($order->payment_details['cc_owner']),
       
'ewayCardNumber' => htmlentities($order->payment_details['cc_number']),
       
'ewayCardExpiryMonth' => htmlentities($order->payment_details['cc_exp_month']),
       
'ewayCardExpiryYear' => htmlentities($order->payment_details['cc_exp_year']),
       
'ewayCVN' => htmlentities($order->payment_details['cc_cvv']),
       
'ewayTrxnNumber' => '',
       
'ewayOption1' => '',
       
'ewayOption2' => '',
       
'ewayOption3' => ''
        
);
?>

Wayne

Racerfx's picture
Offline
Joined: 11/04/2008
Juice: 8
eWay Payment gateway ( uc_eway ) For Drupal 6.5

Would anyone be able to help me with getting eway gateway to work with Drupal 6.5?
Or are you able to help modify uc_eway-5.x-0.2.tar.gz to work with 6.5

gillberk's picture
Offline
Joined: 11/23/2008
Juice: 2
eway payment gateway

I am based in Australia and need the eway payment gateway to work. I know that there is an eway module available for the e-commerce module of drupal. But the e-commerce add-on is no ubercart and I don't want to use it, plus I have already gone past the point of return development wise with Ubercart.
----------------------
Gillberk

Sunshine Coast

fatcop's picture
Offline
Joined: 12/09/2008
Juice: 4
more interest

Yes, I too am on the cusp of requiring eWay integration.
Until our transactions ramp up its more cost beneficial for us to use Paypal, but we would probably want to use eWay in a few months.

Initial author did a great job of getting this working so far. I would have thought eWay might lend a helping hand and provide a test gateway account to help developers like this bring them business. It would be worth contacting them I think.

Also I hope that last htmlentities code change by Wayne can get integrated into the latest downloadable version.

I certainly hope this module gets some life blown back into it Smiling

fatcop's picture
Offline
Joined: 12/09/2008
Juice: 4
test procedures

Well in fact eWay have provided a very comprehensive test procedures guide on their website.

http://www.eway.com.au/Support/Developer/PaymentsRealTime.aspx

Note: On the "Test Procedures" tab.

So you (and me Eye-wink can fully test the eWay gateway with this module.

Cheers

ssherriff's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 215
Re: eWay Payment Gateway (Australia)

I have officially added this to the Drupal CVS. I wanted to make updates, and thought I might as well put it up for everyone to update, etc. If anyone wants to help maintain this, please let me know and I will give you access.

There is currently a release on Drupal that is this exact copy of the code. I will be making some updates, and will continue from there.

http://drupal.org/project/uc_eway

Cheers,
Stephanie

ssherriff's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 215
Re: eWay Payment Gateway (Australia)

I have now also added a beta version for Ubercart 2 (Drupal 6.x). See the post above mentioning the eWay project on Drupal.

I would love for people to continue testing these modules.

Cheers,
Stephanie

mbelos's picture
Offline
Joined: 01/22/2009
Juice: 16
Credit Card Failure

Hi, I'm currently using the eWay release for 5.10, and when a credit card fails, it throws me back to a blank checkout page. The products are still in the cart, but the billing info, etc is all missing, and it looks like Ubercart attempts to create a new order entry every time in the DB. Has anyone worked out why this happens, and how to fix it?

ssherriff's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 215
Re: Credit Card Failure

I'm not sure if this is with the version uploaded to Drupal.org, but if it is, make sure you post any bugs and requests there, because I probably won't check this contribution post for much longer.

Cheers,
Stephanie

OnlineWD's picture
Offline
Joined: 04/16/2009
Juice: 132
Re: Re: Credit Card Failure

The bank I want to use this module with requires PCI DSS compliance which means I must use eways's secure payment pages much like PayPal Standard. Would any one be able to add this functionality to this module?

Taggartj's picture
Offline
Joined: 04/08/2013
Juice: 14
better late then never

uc_ematters - new & in sandbox

https://drupal.org/sandbox/taggartj/2246875