Using tender in hooks

Aug 07, 2006 1 Replies

Hi, I have the following issue: I want to make a hook that search in the tenders used in the transaction to see if the customer used a credit card to the perfom an action, to do that I used th efollowing chunk of code: For Each T In Session.transaction.tenders4 'Busco el tipo de pago de credomatic If T.descriptor.Description = "credit card Then ' do something with the credit cards end if end for



The problem is seem that the code search for the different type of tenders in the table tender instead that in the transaction. Does anybody had an Issue like that? Thanks in advance for your help, Rodrigo


All tenders exist in every transaction. To see if they were used, you need to check their amounts. There may be another property you can check - don't remember off the top of my head...

Glenn Adams Tiber Creek C> Hi, I have the following issue: I want to make a hook that search in the

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required