hooking up purchases to apigee for persistence