EXHIBIT 4(a) NATIONAL TRANSACTION NETWORK, INC. Convertible Subordinated Note Purchase Agreement Dated as of August 18, 1997 NATIONAL TRANSACTION NETWORK, INC. 117 Flanders Road Westborough, Massachusetts 01581