Body: <p>Trying to add NMI integration to my CiviCRM using OMNIPAY.</p>
  
  <p>I added the GIT repository (tried <a href="https://github.com/mfauveau/omnipay-nmi" rel="nofollow noreferrer">https://github.com/mfauveau/omnipay-nmi</a> and <a href="https://github.com/nerdmedia/omnipay-nmi" rel="nofollow noreferrer">https://github.com/nerdmedia/omnipay-nmi</a>) and added the required line that is listed in the readme.</p>
  
  <p>I also created an MGD.PHP file for it and added it to the metadata folder (though not sure I did it correctly).</p>
  
  <p>When uploading the whole folder to my CiviCRM extensions and installing the extension, I'm getting omnipay - NMI as a payment processor in CiviCRM but when trying to do a contribution I'm getting an error "class '\Omnipay\NMI\DirectPostGateway' not found"</p>
  
  <p>Not sure if I'm missing something or doing something wrong.
  Any help would be appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-15T19:02:59.513Z
Comments.Text: Were you able to get NMI to work correctly in Civi?
Comments.UserDisplayName: epauldc29
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-16T20:05:30.637Z
Comments.Text: I DIDN'T. It turned out the gateway I needed was something else and not NMI.  Good luck though.
Comments.UserDisplayName: netzih
Tags: <omnipay>
Title: Adding NMI gateway with omnipay
ThreadText: # Adding NMI gateway with omnipay
  
  (Asked by: username_0 on 2019-02-27)
  
  Trying to add NMI integration to my CiviCRM using OMNIPAY.
  
  I added the GIT repository (tried <https://github.com/mfauveau/omnipay-nmi> and <https://github.com/nerdmedia/omnipay-nmi>) and added the required line that is listed in the readme.
  
  I also created an MGD.PHP file for it and added it to the metadata folder (though not sure I did it correctly).
  
  When uploading the whole folder to my CiviCRM extensions and installing the extension, I'm getting omnipay - NMI as a payment processor in CiviCRM but when trying to do a contribution I'm getting an error "class '\Omnipay\NMI\DirectPostGateway' not found"
  
  Not sure if I'm missing something or doing something wrong.
  Any help would be appreciated.
  
  **Tags:** omnipay
  
  > **Comments:**
  > **username_1**: Were you able to get NMI to work correctly in Civi?  
  > **username_2**: I DIDN'T. It turned out the gateway I needed was something else and not NMI.  Good luck though.  
  
  ---
  
  ## 0 answers
  
  