def set_merchant_id_from_scope(scope)
      perm = scope.split.select {|p| p.start_with?('manage_merchant:') }.first
      @merchant_id = perm.split(':')[1] if perm
    end
def set_merchant_id_from_scope(scope)
      perm = scope.split.select {|p| p.start_with?('manage_merchant:') }.first
      @merchant_id = perm.split(':')[1] if perm
    end
Pull the merchant id out of the access scope