I'm hoping to build a site for a client using Ubercart on D7, but one of their requirements is to use the ePDQ payment gateway... do you have a timescale for a D7 version of this module, or is it not likely to be soon?

Comments

pjcdawkins’s picture

Subscribing

pjcdawkins’s picture

I can do some work on this from late June, if no-one else starts sooner.

Riari’s picture

Subscribing - any news on this? It's not a very big module, so I can't imagine it would take many changes for a full port. I can't speak from experience though!

juc1’s picture

Is there any news on this please?

pjcdawkins’s picture

Sorry to offer false hope - my employer after some deliberation has changed provider so has no need for ePDQ integration

juc1’s picture

@ pjcdawkins - so your employer is using a different D7 payment gateway for UK transactions? Can you tell us what this is?

thanks

pjcdawkins’s picture

Title: Drupal 7 version? » Drupal 7 version of Ubercart ePDQ?

@Juc1 my employer now wants to use Realex, which itself needs a port for D7 integration but that IS being worked on by alanburke: #1230074: Drupal 7 version of Ubercart Realex

andy inman’s picture

Can anybody make an reasonable estimate on how much work (hours/days) is needed to do a D7 version? It doesn't *look* like it should take more than a couple of days or so, and possibly considerably less, but maybe I'm missing something?

joecorall’s picture

Click here to goto a Drupal 7 Port of this module

I created a sandbox of a Drupal 7 port of this project. I am unable to test this module, as I do not use ubercart or live in the UK. It is being tested by another Drupal user. If in the meantime, you'd like to test this port, feel free.

andy inman’s picture

Thanks joe, I was just trying to get an idea of time required. I figure it's maybe a day investigating and tweaking the code and another day of live installation, testing and final tweaks. But that's a very rough guess, was just hoping somebody might have a better idea.

joecorall’s picture

netgenius,

I already ported the module. What needs done now is to test it works as advertised in Drupal 7. That shouldn't take much effort - I may have time this weekend to test it.

The changes I made were minor - I only had to update some d6 function calls to their equivalent in d7 - so I'm thinking the d7 port will work as is...

rvarkonyi’s picture

Hi All,

sorry for not being active these days, unfortunately I've got very little time to work on my modules.

So D7 port... To be perfectly honest, there are a few things that are missing from the D6 version, so probably those should be addressed first. As to when it can be done, I have no clue unfortunately... as I said, I'm very busy with the projects that I'm working on. If someone feels like porting the module, I'll gladly review and commit it, but personally I've got no time to do it right now. Hope you understand.

Thanks

Rob

andy inman’s picture

@ joe.corall - sorry for not reading properly!

joecorall’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new9.42 KB

@rvarkonyi

Attached is a patch for the Drupal 7 port of this module. I'd be willing to co-maintain this project. By the way - I've corrected a few of the issues in the queue in the d7 port (issues # 974378 and 763702)

When the patch is ported to the module, I'll close the sandbox of the d7 version.

joecorall’s picture

StatusFileSize
new9.36 KB

removed newline errors (except for one, which was in original)

joecorall’s picture

StatusFileSize
new10.03 KB

last patch (I hope) - removed whitespace errors.

knigh7’s picture

Thanks for all your efforts guys, also this issue needs to be addressed when porting.

Basically as i understand it Barclays accepts three characters so when two character or one character country codes are passed it will show an error on Barclays side. So adding a 0 or 00 worked for me

http://drupal.org/node/1264190

joecorall’s picture

StatusFileSize
new10.73 KB

@knigh7 - there is also a currency code passed to Barclay's - so wouldn't country codes also need to map to its appropriate currency? I think that may be the reason only the UK was supported by this module?

Here is the latest version of the d7 port - hopefully it will be ported soon, I don't want to keep having to make patches for this...

juc1’s picture

Thanks to Joe for this. I hope to be testing it with some test transactions shortly, and of course it would be good if anyone else has access to an epdq account and can test it.

mcjim’s picture

Assigned: Unassigned » mcjim

Currently working on this.
Looks like testing may be problematic, though. Way to go, Barclays!
There's a couple of commits in the D7 branch, feel free to check it out. Thanks to @joe.corall for the patch.

mcjim’s picture

Version: 6.x-1.1 » 7.x-1.x-dev
Status: Patch (to be ported) » Needs review

There's now a dev release.

This has not been tested properly yet. I'll have to sort out access to an ePDQ account.

So, anyone who can, please give it a whirl and report back with any errors.

Cheers!

pjcdawkins’s picture

vivdrupal’s picture

@mcjim
I am trying to integrate Barclaycard payment on my client's site . On selection of the payment method, I get this error for the AJAX call -

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /system/ajax
StatusText: Internal Server Error
ResponseText:

I have given all the details on admin/store/settings/payment/method/epdq

I hope you have a solution.

Thanks

vivdrupal’s picture

The server error logs had the following

Unsupported operand types in .... /sites/all/modules/ubercart/payment/uc_payment/uc_payment_checkout_pane.inc on line 85

This pointed to the following code in the uc_epdq.module :

case 'cart-details':
      $details = variable_get('uc_epdq_method_description', '');
      return $details;

Have commented these lines. Works fine.