def metadata
      {
        :user_id => user.id.to_s,
        :user => user.to_s.truncate(500),
        (subscription.subscribable_type.downcase + '_id').to_sym => subscription.subscribable.id.to_s,
        subscription.subscribable_type.downcase.to_sym => subscription.subscribable.to_s
      }
    end
def metadata
      {
        :user_id => user.id.to_s,
        :user => user.to_s.truncate(500),
        (subscription.subscribable_type.downcase + '_id').to_sym => subscription.subscribable.id.to_s,
        subscription.subscribable_type.downcase.to_sym => subscription.subscribable.to_s
      }
    end
The stripe metadata limit is 500 characters