added basic (create-only) purchase functionality