TipAdjustment Method
This methods adds a tip to the original sale transaction.
Object Oriented Interface
public function doTipAdjustment($pnref, $gratuityamount);
Procedural Interface
inpaydirect_globalcharge_do_tipadjustment($res, $pnref, $gratuityamount);
Remarks
To add a tip to a transaction simply call TipAdjustment with the PNRef parameter set to the PNRef of the transaction you wish to adjust, and the GratuityAmount to the amount you wish to add.