Implementation of Chargify.com API for MODX Revolution