[ic] [charge] tag usage questions

Postfix User postfixjob at gmail.com
Thu Jul 27 11:14:19 EDT 2006


On 7/27/06, ic at 3edge.com <ic at 3edge.com> wrote:
> Postfix User writes:
>
> > Hi -
> >
> > I'm looking for some assistance using $Tag->charge() for a global
> > UserTag that I am writing.
> >
> > The documentation on the IC site is pretty sparse and the code, while
> > readible does leave a few questions.
> >
> > I understand that the first parameter is $charge_type (e.g. the
> > payment module name/type -- authorizenet, boa, etc), however, I dont
> > understand what the second parameter $opt requires for data.
> >
> >> From what I can see in the source for charge(), $opt is a hash that is
> > passed in.
> >
> > What are the required keys for this hash?
> >

> So if you have defined all in Route/Global vars your tag only will need a
> mode.

So I'm not using any defined routes / global variables... I'm creating
a custom routine for applying payments to various payment gateways
depending on what item is purchased and the data is being pulled from
configuration details in a MySQL database.


More information about the interchange-users mailing list