IATS payment plug-in development - how to restrict frequency interval and type

View: New views
3 Messages — Rating Filter:   Alert me  

IATS payment plug-in development - how to restrict frequency interval and type

by Alan Dixon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i'm adding the recurring payments option in the IATS plugin, but they
only support 1 week or 1 month for the frequency interval and type.
For this specific user, I could just go in and mangle the template,
but it'd be nice to put this limitation into the payment object
somewhere .. is that possible?

For what it's worth, it looks like the default options get set in the
BuildQuickForm in this file:
CRM/Contribute/Form/Contribution/Main.php
[i'm working in v1.9]

 - Alan

--
Alan Dixon, Web Developer
http://alan.g.dixon.googlepages.com/
____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Re: IATS payment plug-in development - how to restrict

by Chris Mott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alan,
This forum post discusses a feature to accomplish this http://forum.civicrm.org/index.php/topic,1747.0.html
It may make it into v2.1.
Chris

On 15-Feb-08, at 10:19 AM, Alan Dixon wrote:

i'm adding the recurring payments option in the IATS plugin, but they
only support 1 week or 1 month for the frequency interval and type.
For this specific user, I could just go in and mangle the template,
but it'd be nice to put this limitation into the payment object
somewhere .. is that possible?

For what it's worth, it looks like the default options get set in the
BuildQuickForm in this file:
CRM/Contribute/Form/Contribution/Main.php
[i'm working in v1.9]

 - Alan

-- 
Alan Dixon, Web Developer
____________________________________________________________
You received this message as a subscriber on the list:
To be removed from the list, send any message to:

For all list information and functions, see:


____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev

Re: IATS payment plug-in development - how to restrict frequency interval and type

by Alan Dixon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

chris: thanks for your reply on this.

for my client, using CiviCRM's custom template was an easy solution in
the meanwhile.

i anyone wants to try the recurring donations or US$ with IATS, the
updated code and instructions are available as before, here:

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

 - Alan

On Fri, Feb 15, 2008 at 1:19 PM, Alan Dixon <alan.g.dixon@...> wrote:

> i'm adding the recurring payments option in the IATS plugin, but they
>  only support 1 week or 1 month for the frequency interval and type.
>  For this specific user, I could just go in and mangle the template,
>  but it'd be nice to put this limitation into the payment object
>  somewhere .. is that possible?
>
>  For what it's worth, it looks like the default options get set in the
>  BuildQuickForm in this file:
>  CRM/Contribute/Form/Contribution/Main.php
>  [i'm working in v1.9]
>
>   - Alan
>
>  --
>  Alan Dixon, Web Developer
>  http://alan.g.dixon.googlepages.com/
>



--
Alan Dixon, Web Developer
http://alan.g.dixon.googlepages.com/
____________________________________________________________
You received this message as a subscriber on the list:
     civicrm-dev@...
To be removed from the list, send any message to:
     civicrm-dev-unsubscribe@...

For all list information and functions, see:
     http://lists.civicrm.org/lists/info/civicrm-dev