[ic] [charge] tag usage questions

ic at 3edge.com ic at 3edge.com
Thu Jul 27 10:22:21 EDT 2006


Postfix User writes: 

> 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.

Perhaps check catalog.cfg of the demo in IC which contains Payment routes of 
authorizenet, cybercash, itransact, signio, skipjack and linkpoint. That 
will give away the information needed for those Payment handlers I guess ... 

CU, 

Gert


More information about the interchange-users mailing list