Body: <p>Drupal 9, CiviCRM 5.39.2, Domain Module</p>
  <p>We have a multisite setup using a domain module. Each site has their own payment processor.</p>
  <p>While adding the new payment processor, the form is not working. it never reaches the <code>postProcess</code> function and <code>formRule</code> function.</p>
  <p>It just ignores default validation like required field name.</p>
  <p>We had the same issue on Drupal 7 and CiviCRM 5.27.7.</p>
  <p>There is no customisation on the <code>CRM_Admin_Form_PaymentProcessor</code> form.</p>
  <p>Using <code>org.civicrm.multisite</code> : 2.8.0</p>
  <p><a href="https://i.sstatic.net/MJbVZ.gif" rel="nofollow noreferrer"><img src="https://i.sstatic.net/MJbVZ.gif" alt="enter image description here" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-29T17:57:37.950Z
Comments.Text: "We had the same issue on Drupal 7 and CiviCRM 5.27.7" - were you not able to resolve it back then?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-01T08:02:45.830Z
Comments.Text: @petednz-fuzion We did not try to fix the issue in 5.27.7 as customers wanted to move to the latest version.
Comments.UserDisplayName: Sunil Pawar
Tags: <payment-processor><forms><validation>
Title: adding New Payment processor not working on multisite environment
ThreadText: # adding New Payment processor not working on multisite environment
  
  (Asked by: username_0 on 2021-10-29)
  
  Drupal 9, CiviCRM 5.39.2, Domain Module
  
  We have a multisite setup using a domain module. Each site has their own payment processor.
  
  While adding the new payment processor, the form is not working. it never reaches the `postProcess` function and `formRule` function.
  
  It just ignores default validation like required field name.
  
  We had the same issue on Drupal 7 and CiviCRM 5.27.7.
  
  There is no customisation on the `CRM_Admin_Form_PaymentProcessor` form.
  
  Using `org.civicrm.multisite` : 2.8.0
  
  [![enter image description here](https://i.sstatic.net/MJbVZ.gif)](https://i.sstatic.net/MJbVZ.gif)
  
  **Tags:** payment-processor, forms, validation
  
  > **Comments:**
  > **username_1**: "We had the same issue on Drupal 7 and CiviCRM 5.27.7" - were you not able to resolve it back then?  
  > **username_0**: @username_1 We did not try to fix the issue in 5.27.7 as customers wanted to move to the latest version.  
  
  ---
  
  ## 0 answers
  
  