PaymentExceptionChange
The PaymentExceptionChange event occurs when the exception state of a transaction changes from
being set to not being set, or when the transaction goes from being unhandled (waiting for an
operator to review) to handled. Configure the event in the scheduler XML file so that when the event
occurs, the following class is called:
com.ibm.paydir.ima.txsvr.event.appbridge.PaymentExceptionEventHandlerThe
PaymentExceptionEventHandler class is responsible for creating a paymentHandled
message to be sent to the AutoAdjust engine. When the AutoAdjust engine
receives the paymentHandled message, it performs a non-conforming transaction (NCI) adjustment on the
specified payment. The msgType parameter defines the type of message to send, paymentHandled. The parmFileName
parameter defines the properties necessary for sending a message to the AutoAdjust engine.
For more details, see AutoAdjust Parameter file. The trigger parameter defines when a message
should be sent. In the example below, the value !unhandledException specifies that the
message should only be sent if the item is no longer an unhandled exception. The ABSvcPayload specifies the
type of payload to that is sent in the message to the AutoAdjust engine. The following is a
sample definition of a PaymentExceptionChange event:
<EVENT>
<NAME>Adjustment Profile - Payment Exceptions Handled</NAME>
<TYPE>PaymentExceptionChange</TYPE>
<EXEC>
com.ibm.paydir.ima.txsvr.event.appbridge.PaymentExceptionEventHandler
</EXEC>
<PARAMETER name="msgType">paymentHandled</PARAMETER>
<PARAMETER name="parmFileName">AdjustmentProfile.properties</PARAMETER>
<PARAMETER name="trigger">!unhandledException</PARAMETER>
<PARAMETER name="ABSvcPayload">NCI,IAD</PARAMETER>
</EVENT>