On Tue, Oct 27, 2009 at 01:58:04PM -0400, Olaf Alders via RT wrote:
Show quoted text> I've had a closer look and I have some questions now. :)
>
> Looks like PayflowPro has some recurring types which are not listed in
> Business::OnlinePayment. I've tried to map all recurring actions here:
That's okay, we'll just extend the interface to the new operations and
note that not all processors (that support recurring billing) support
all operations.
Show quoted text> my %recurring_actions = (
> 'recurring authorization' => 'A',
> 'modify recurring authorization' => 'M',
> 'reactivate recurring authorization' => 'R',
> 'cancel recurring authorization' => 'C',
> 'inquire recurring authorization' => 'I',
> 'reattempt recurring authorization' => 'P',
> );
>
> Any suggestions as for naming conventions? "inquire" doesn't make sense
> to read it in that way.
info? Nothing in particular comes to mind.
Show quoted text> Payflow's PAYPERIOD allows the following params:
>
> PAYPERIOD: (WEEK|BIWK|SMMO|FRWK|MONT|QTER|SMYR|YEAR)
>
> Any suggestion on how to do handle that?
It looks like the "interval" specification in B:OP is more flexible than
what Payflow supports here. I'd say handle the cases you can ("7 days"
=> 'WEEK', "14 days" => 'BIWK', '1 month' => 'MONT', etc.) and throw an
error for the cases you can't.
In the base B:OP documentation, we should put a warning and list the
common cases currently handled by all recurring-capable modules.
--
_ivan