eWay Payment Gateway (Australia)

Issue tracker: view

Contrib type: 
Module
Status: 
Initial upload
Compatibility: 
Ubercart Beta 1
Latest version: 
5.x-0.2

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

Related threads: 
AttachmentSize
uc_eway-5.x-0.2.tar.gz4.06 KB

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.

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?

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.

Re: eWay Payment Gateway (Australia)

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

Re: Re: eWay Payment Gateway (Australia)

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

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.

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.

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.

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.

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