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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • (SOLVED) IATS on CiviCRM 2.2 for Joomla
Pages: 1 [2]

Author Topic: (SOLVED) IATS on CiviCRM 2.2 for Joomla  (Read 7754 times)

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: IATS on CiviCRM 2.2 for Joomla
May 21, 2009, 05:06:23 am
It's great that you're able to test IATS for Joomla.

Re: white page - that sounds like a fatal PHP error. It's likely to be some kind of Joomla compatibility issue, but if you could update your php settings to display errors instead of dying without a message we might be able to fix it.

Re: $AU - the API I was provided by IATS only indicated support for C$ and US$. I'm guessing AU$ has been added since then. If you get an updated API for me I can update the code, or you can probably just look at the code and add it [but don't do this on a production server ..].

cosmicfantasia

  • Guest
Re: IATS on CiviCRM 2.2 for Joomla
May 21, 2009, 05:13:17 pm
Thanks all.

Even with a myriad of issues, the community the CiviCRM community has really helped here.

I'm going to talk to IATS about the AUD part and will get the php error messages on to work thorugh that over the weekend.

Will report back here.

Thank you all... :)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: IATS on CiviCRM 2.2 for Joomla
May 21, 2009, 05:20:24 pm
adixon - did you write the code for IATS?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

cosmicfantasia

  • Guest
Re: IATS on CiviCRM 2.2 for Joomla
June 14, 2009, 11:06:53 pm
Hi Eileen,

Yes Alan did write the IATS code.

He indicated to me that he was going to update it to use the new api with multi currency support. Haven't got it yet and after good correspondence with Alan for a while haven't had returns to my emails for a while now. Will post back if we get it done.

:)
« Last Edit: June 14, 2009, 11:09:02 pm by cosmicfantasia »

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: IATS on CiviCRM 2.2 for Joomla
June 16, 2009, 05:27:25 am
Yes, i did write that IATS code and apologies for being awol on this topic. Still hoping to find some time this week to look at it.

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: IATS on CiviCRM 2.2 for Joomla
June 18, 2009, 08:28:13 am
Okay, it's ready for some testing.

I've appended the two updated (version 1.3.2) IATS api files to replace the existing ones located here:

packages/Services/IATS

You'll need to remove the .txt extension [which i had to add to allow me to attach them here]

Then you can modify the plugin here:

CRM/Core/Payment/IATS.php

on line 44 and add in UK and AUS currencies to the allowed list.

If someone from those countries can test and confirm it works, i'll commit it to the repository.


cosmicfantasia

  • Guest
Re: IATS on CiviCRM 2.2 for Joomla
June 18, 2009, 11:19:53 pm
Working, I think.

Am getting:

Quote
Payment Processor Error message
: 15: Decline code, may have different reasons for each card type. Please have your client call customer service.

Not sure if this is an error with the merchant details I have added or not. i know the card is good. Will find out and get back to you.

Have another issue in creating contribution pages, but will post another thread for that one.

FYI, when adding the currencies supported to CRM/Core/Payment/IATS.php it should be AUD for Australia and not AUS. That spat back another error which was fixed by adding AUD.

Thanks so much for your efforts Alan. It is very much appreciated. Your a champion.

:)

cosmicfantasia

  • Guest
Re: IATS on CiviCRM 2.2 for Joomla
June 24, 2009, 07:46:26 pm
Just an update. All cards tried are returning the error. IATS are looking @ the logs and seeing if they can shed some light as to where the error is coming from. Will update as I know more.

cosmicfantasia

  • Guest
Re: IATS on CiviCRM 2.2 for Joomla
June 29, 2009, 05:58:03 pm
FYI. The error was because I was trying to put through an amount which was too low. 5 cents.

Changed to $1 and all went through aok.

Thanks very much Alan. On our system, has worked 100%.

:)

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: (SOLVED) IATS on CiviCRM 2.2 for Joomla
June 30, 2009, 05:28:24 am
Okay, that's great. So:

1. I'll commit the new files to the repository -- lobo: can your remind me whether i should update the current branch or trunk? I'll post them to my blog posting as well for anyone who needs to use them for a  previous version.

2. Let's fix the issue that IATS is missing from the initial list - is that something I can/should do, or the CiviCRM core developers?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: (SOLVED) IATS on CiviCRM 2.2 for Joomla
June 30, 2009, 06:16:57 am

hey alan:

1. can u commit it to the 2.2 branch

2. can u file an issue for this and we'll add it to the upgrade script in 2.2.7

thanx

lobo

p.s> i'm back online now, so if u want to resolve your earlier issues we can do so on IRC
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: (SOLVED) IATS on CiviCRM 2.2 for Joomla
June 30, 2009, 12:42:17 pm
Okay, i've just committed the new api files, as well as updating the IATS.php to allow AUD, GBP, EUR, NZD currencies with this processor [rev. 22189 and 22193].

Lobo: what do you need from me to include IATS in the default list? My manual instructions are here: http://homeofficekernel.blogspot.com/2007/12/iats-and-civicrm.html

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: (SOLVED) IATS on CiviCRM 2.2 for Joomla
October 23, 2009, 12:18:53 pm
okay, i've just been setting up IATS on 2.2 and discovered it's broken because my updates never made it into the current distribution.

Lobo - the updated files look good in the v2.2 branch, but they never made it to trunk and aren't in the downloaded version of 2.2.9.

The files are the ones in here /packages/Services/IATS

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: (SOLVED) IATS on CiviCRM 2.2 for Joomla
November 04, 2009, 11:13:09 am
My apologies to lobo - it turns out the bug was all mine. I've just uploaded the fixes to the 3.0 and 2.2 svn branches, and documented a quick fix here:

http://homeofficekernel.blogspot.com/2007/12/iats-and-civicrm.html

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • (SOLVED) IATS on CiviCRM 2.2 for Joomla

This forum was archived on 2017-11-26.