Transaction gateway

Karen has approved testing ready to publish so here goes.