9 replies [Last post]
baz
baz's picture
Offline
Joined: 09/19/2007
Juice: 6
Was this information Helpful?

Hi there,

I have managed to add modules/configure them if need be and in some cases edit some to fit in the store, but I am having massive problems finding a payment gateway to work with Ubercart that are aligned with my needs.

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.

Is there anyway possible to edit the eway module to fit with Ubercart?? I am willing to do what I can, but I am still a noobie!

Any information at all would be much appreciated.

Kind Regards,

Baz

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: eway payment gateway

Hey Baz, hung out with some Aussies at the Drupalcon just last week. Smiling Regarding the payment gateway, it may be possible to simply port over what's been done for the e-commerce integration or put up a bounty for it. The payment API is documented pretty well, and you can always base your off another existing payment gateway module like uc_authorizenet.module or something else.

daniel.s's picture
Offline
Joined: 10/10/2007
Juice: 87
Payment Gateway

Howdy,

I've written a module to work with eWAY. It's still in a pretty much untested state, as i've only been able to use eWAY's test server.

I still have to iron out some issues relating to the payment process not adding comments to the sale. I can't test it further as I don't have access to a valid eWAY account.

I'm going to write a new one for eMatters, as I've heard better things about them.

Before eMatters, however, i'm going to write a shipping module that uses Australia Post's online delivery rate calculator.

Cheers,

Daniel

ChrisB (not verified)
ChrisB's picture
Little Help

Hi Daniel.

Any chance you'd be willing to share your code?

Thanks,

Chris

daniel.s's picture
Offline
Joined: 10/10/2007
Juice: 87
Re: Little Help

Sorry mate, only just saw your question now.

I'll dig up the code that i've made so far. From what I recall it's too hard to test against eway's servers as they don't give the same responses as if you were making a proper query.

Once i'm finished with this Australia Post module i'll have another look at it.

Cheers,

Daniel

chloeraina's picture
Offline
Joined: 12/29/2007
Juice: 4
Re: eway payment gateway

any more news about an eway module? i'm working on a site for a client who uses eway and would love to know if anyone has created a module for ubercart yet, since i've wasted too many hours trying to get the e-commerce module to work and think ubercart is definitely the way to go.

daniel.s's picture
Offline
Joined: 10/10/2007
Juice: 87
Re: Re: eway payment gateway

I seem to have misplaced the files, so I'm going to write it again.

Scratch that. I found the module.

daniel.s's picture
Offline
Joined: 10/10/2007
Juice: 87
Re: Re: Re: eway payment gateway

Here's what i've got so far.
I've posted it up as a contribution: http://www.ubercart.org/contrib/2650

As I mention on the contribution page, I have only been able to test against eWay's test server, not the live one - as I don't have access to a valid account yet.

Successful payment invokes the w-ng event "eway_payment_processed", so you can use that in custom workflows if you like. It then uses the existing action from the Order module "uc_order_action_update_status", to update the status of the order.

It doesn't yet check to see that the order balance is actually 0, as I have yet to figure that out via w-ng. This means that if you have "process payments at checkout" turned on, a partial payment will mark the status as payment received anyway.

I've also added the localisation template, not that anyone's likely to need it - but it's an easier way of making customisations to the text than hacking the .module file.

Anyone else had a chance to test it yet? I haven't had any feedback on it yet.

Cheers,

Daniel

leto's picture
Offline
Joined: 11/25/2008
Juice: 10
eway

we tried it live and it didn't work. we also called eway and gave them access to our server and drupal/ubercart installation. They didn't have any luck either. It works on Eway's test server. Any ideas why it is not working?

cheers

george4624286's picture
Offline
Joined: 04/22/2009
Juice: 2
Looking for merchant account

Hi there,

I am looking for the merchant account.But i don't know which one is better for my business.So I tried to find the the merchant account provider.I heard that Ctopay is a the suitable one.I have no idea.I just contact with the sales manager of ctopay--Mr. Yang(his skype account is ctopayhk2).From the conversation with him,I find it good,and will cooperate with him.Any suggestions are appreciated.