moved FoxyCart putMember call to Member::onBeforeWrite