Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2012
    Posts
    27
    Plugin Contributions
    0

    help question How to upgrade a payment module

    I need to upgrade the Sage Payment Solutions Module from Zen Cart 1.3.7 to 1.5.1 and integrate it with TaxCloud.
    http://www.zen-cart.com/downloads.php?do=file&id=387

    The 1.3.7 module is currently working with TaxCloud, but has intermittent problems (some may be related to error recovery).

    I know I can and will do a compare of source files between versions for other payment modules, but if you can share some info on upgrading payment modules would be greatly appreciated.

    I am an experienced programmer, but have limited Zen Cart experience. I would like to either outsource this work to an experienced Zen Cart developer who understands the changes between versions and the overall structure of Zen Cart better than I do. If I can't find somebody I may have to do it.

    Thank you

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: How to upgrade a payment module

    What do the folks at Sage have to say?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Nov 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: How to upgrade a payment module

    Sage does not provide anything other than some documentation but nothing custom for Zen Cart.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: How to upgrade a payment module

    Quote Originally Posted by RCwebdev View Post
    I need to upgrade the Sage Payment Solutions Module from Zen Cart 1.3.7 to 1.5.1 and integrate it with TaxCloud.
    http://www.zen-cart.com/downloads.php?do=file&id=387

    The 1.3.7 module is currently working with TaxCloud, but has intermittent problems (some may be related to error recovery).
    I would assume that if it is working at all you aren't really dealing with a V1.3.7/1.5.1 compatibility issue.

    Quote Originally Posted by RCwebdev View Post
    I know I can and will do a compare of source files between versions for other payment modules,
    I doubt that this will help solve intermittent type problems.

    Quote Originally Posted by RCwebdev View Post
    but if you can share some info on upgrading payment modules would be greatly appreciated.
    This is a very broad thing to ask. A standard/typical response would be to replace the old files with the upgraded ones. However, from the sounds of it, you are asking about what modifications are needed to make the old files compatible with the newer zencart versions.

    Quote Originally Posted by RCwebdev View Post
    I am an experienced programmer, but have limited Zen Cart experience.
    You probably don't need 'Zen Cart experience' for this.

    Quote Originally Posted by RCwebdev View Post
    I would like to either outsource this work to an experienced Zen Cart developer who understands the changes between versions and the overall structure of Zen Cart better than I do. If I can't find somebody I may have to do it.
    You are probably making a lot more of this than need be. As per my 1st comment, the fact that the module works at all is evidence that it is already compatible with ZenCart V1.5.x, so you can pretty much forget the need to 'understand the changes' (This isn't true of all zencart modules, especially those that need to be 'registered' for them to appear in the Zencart menus). The shipping and payment modules don't require this.

    As for the 'intermittent problems', again, this is unlikely to be related to zencart version changes (which would typically be it either does work, or it doesn't work nature), so if we accept that these problems are related to 'error recovery' I would assume that such errors can and should be trapped and resolved with the payment code only. 'Zencart' is basically an 'API' that the modules use. Zencart invokes the modules when required, and expects the data to be returned in a specific format. How the data is obtained by the modules is of no consequence to ZenCart itself. As long as it gets either a valid data response or an error response then you don't need to concern yourself with what ZenCart does with the data, just as ZenCart doesn't concern itself with how errors within the module(s) are handled.

    In short, you can probably assume that the input and output data for the module is correct (else it wouldn't work at all), so if you just concentrate on the errors experienced *within* the module itself you'll be home and hosed.

    Cheers
    RodG

    ps. You'll also find you'll tend to find more compatibility issues due to PHP upgrades rather than due to the ZenCart upgrades.

  5. #5
    Join Date
    Nov 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: How to upgrade a payment module

    RodG

    Thank you for your response. It makes sense.

    I put some temporary logging in. I'm looking closer at TaxCloud Address verification and believe the problem may be with TaxCloud's address verification service. I create a separate post on this issue when I know more.

    Thanks again.

 

 

Similar Threads

  1. upgrade question about Payment and shipping module: notice
    By icikite in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 20 Jan 2013, 11:08 PM
  2. iridium card payment module throwing up error after upgrade
    By Xbox Memberships in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 20 Sep 2012, 06:58 PM
  3. Sage Payment Module broke after upgrade
    By kwright in forum Addon Payment Modules
    Replies: 11
    Last Post: 27 Nov 2010, 06:01 PM
  4. Problem with payment module after upgrade
    By paquito in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 3 Jul 2008, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg