CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Unable to install latest version of iATS payments
Pages: [1]

Author Topic: Unable to install latest version of iATS payments  (Read 348 times)

John Richardson

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 0
    • Life Challenge of Southeastern Michigan
  • CiviCRM version: 4.5.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.27
  • PHP version: 5.3.13
Unable to install latest version of iATS payments
December 04, 2014, 04:52:54 am
We have been using the iATS payments processor extension for about six months. It's all good. We are running 1.2.5 of the extension and iATS the latest version is 1.2.11. We need to update in order to proceed with a new capability (a card swiper we want to use). Unfortunately, for some reason there is no update alert in the Extensions Manager on our site (should say something like, “Version 2.2.11 is available. Upgrade” on the page. Also, iATS Payment Processor does not show up at all on the list of extensions in the “Add New” mode. I can’t figure out why.

I went ahead and uploaded the most recent version of the extension to the server at: /sites/default/files/civicrm_extensions/com.iatspayments.civicrm-1.2.11 I have checked the Directory settings and the Resource URLs and all appears to be correct. But still, the extension does not show up as installed, or available and ready to be “enabled” in the extensions manager. An extensive list appears in the "Add New" list, but not iATS. The other extensions that are in the "civicrm_extensions" directory, including the older version of iATS do show up. Just not the new version that I uploaded to the directory.

So, I am baffled as to how to install and enable the latest version of iATS Payments. According to all the documentation (including the “Read Me” file in the latest version) it is a “standard” extension that should be able to be installed and updated in the “standard” way, using the extensions manager.

Question:
Should I try deleting the directory for the old installation, rename the new directory with the old directory name (i.e. delete com.iatspayments.civicrm and rename "com.iatspayments.civicrm-1.2.11” to “com.iatspayments.civicrm” and see if it works?

In a quandary. Looking for help. Let me know your thoughts.


BTW: I am getting this warning on the Extensions Manager page:

[WARNING: The downloader may be unable to download files which require HTTP redirection. This may be a configuration issue with PHP's open_basedir or safe_mode.]

Could that have anything to do with the fact that iATS is not showing up in the manager?
John Richardson

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Unable to install latest version of iATS payments
December 04, 2014, 08:34:59 am
When you installed the new extension, did you delete the directory of the old one? You can't have two copies of the same extension.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: Unable to install latest version of iATS payments
December 04, 2014, 12:16:50 pm
Yeah, i think Hershel's right, it will be confused with both of the extensions in there. Replacing the old one with the new one is what you want to do.

And the reason you weren't able to upgrade it via the web interface might be related to the open_basedir issue - i.e. your webserver may be being blocked from outgoing http requests.

 - Alan

John Richardson

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 0
    • Life Challenge of Southeastern Michigan
  • CiviCRM version: 4.5.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.27
  • PHP version: 5.3.13
Re: Unable to install latest version of iATS payments
December 05, 2014, 04:25:32 am
Thank you! Solved! After deleting (I actually just moved it out of the extensions directory in case I had to move it back in), I took a look at the Extensions Manager. The iATs Payments extension was displayed in red text and said “missing”. So I then renamed the new version directory with the old version name, “com.iatspayments.civicrm”, refreshed the page in Extensions Manager. I was immediately alerted to update the db to add the new tables, and, voila! Everything appeared properly.  I checked to see if the new version was running by finding the new iats processor called “Card Swipe” as an option in “add payment processor" and added it to the processor options.

Thank you both! Hershel, as always, you are right on target!
John Richardson

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Unable to install latest version of iATS payments

This forum was archived on 2017-11-26.