Closed (fixed)
Project:
UC NAB Transact
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2009 at 21:41 UTC
Updated:
23 Jan 2011 at 05:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
emTque commentedthis is my first attempt at updating a module from Drupal 5 to Drupal 6, so sorry if it is totally wrong!!! i have made very few changes (3 or 4 to be exact), and it seems to be working for me, but if anyone else would like to give it a go that would be great.
Comment #2
Anonymous (not verified) commentedI thought I would just share my experiences with this module. I saved my client having to have an eWay account by hooking up with their NAB Transact account using this.
The module update by mattq1985 worked perfectly in Drupal 6 until I updated Ubercart from 6.x-2.0-beta5 to 6.x-2.0-rc6. After the update it returned the PHP error:
PHP Fatal error: Class 'JSimpleXML' not found in /Applications/MAMP/htdocs/plum/sites/all/modules/uc_nab_transact/uc_nab_transact.module on line 130
It turns out that the file simplexml.php located in ubercart/uc_store/includes is no longer included in Ubercart. After I brought the file simplexml.php across from the previous version of Ubercart everything worked perfectly again.
Comment #3
rszrama commentedInteresting. In that case, I bet we can simply replace the line referencing JSimpleXML with SimpleXML and leave behind that file.
Comment #4
MaediPrichard commentedThe fix in #2 no longer seems to work for Beta7 so I've tried replacing the JSimpleXML with a SimpleXML version. Not being a coder, I've tried adjusting the code with things like:
which returns the following when clicking Submit Order
Or:
Which returns a similar error. What kind of code do we need to put in here?
Comment #5
rixrix commentedHi,
Here's the slightly modified module. It's working perfectly on our production site. Give it a try.
Deployed Environment :
PHP v5.2.6
Drupal v6.13
Ubercart v2.2
Hope that helps
Comment #6
tika commentedExcited about this one!
Where should I copy and paste?
thanks in advance
Comment #7
jm.federico commentedThanks for this guys.
I've just started working on the 6.x branch. A release is now available.
Testing will be appreciated.
Cheers
Comment #8
cmwwebfx commentedWill this take care of the NAB hpp (hosted payments page) that is hosted at NAB?