Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 64797

Dynamics AX Payment Services Error Validating: "Check user account settings, Failing validation with DOPS(20002)".

$
0
0

The failing validation can be one of two things. 

  1. First, have you created a System User in Dynamics Online with the public key from this payment service configuration.
    You will also need to add the “payment – user” role to that system user account.
  2. The other possible issue is that the URL (https://paymentservice.dynamics.com/dlpaymentservice.asmx)
    is blocked by the Firewall when attempting to reach the site through AX.

In support cases with the Failing validation error, I normally see that the error occurs because the Public Key is not added to a System User in Dynamics Online.

Log into Dynamics Online with the Microsoft account that is used to log into the Customer Portal.  Then select User management and create a new System User.

The Public key will be copied from AX > Accounts Receivables > Setup > Payments > Payment services

This is a big key and I would copy and paste it into notepad and make sure you have the beginning and ending value

Here is a screen shot of my window and Public key:

Here is what mine looks like (It will end in a = sign).  I have seen where the Public Key isn’t fully copied and pasted into Dynamics Online System User will cause an error validating.

 

MIICiTCCAfKgAwIBAgIQ5br5QhN+PpRGFmRK1dDaQDANBgkqhkiG9w0BAQUFADA5MTcwNQYDVQQDEy5NaWNyb3NvZnQgRHluYW1pY3MgT25saW5lIEF1dGhlbnRpY2F0aW9uIFRva

2VuMB4XDTEyMDgxOTIzMDU1NloXDTIyMDgxODIzMDU1NlowOTE3MDUGA1UEAxMuTWljcm9zb2Z0IER5bmFtaWNzIE9ubGluZSBBdXRoZW50aWNhdGlvbiBUb2tlbjCBnzANBgkqhkiG9w

0BAQEFAAOBjQAwgYkCgYEAlajzIN+TYH0+Ch3PjOFOpD3ia+MCVWADmVGIaVXDyDInzv/SHxm3b/9xk6tZLpA82vyXXrvc/0/b/G6vXQGpreMRJrjm79q04h49/BQ8k244v0yXN+w0zMJgYGpe

PKMk/cnmkMwAJhjD0mDyyo3ugvntQB9EkNQWPN4UJwb2ljkCAwEAAaOBkTCBjjATBgNVHSUEDDAKBggrBgEFBQcDAjAdBgNVHQ4EFgQUbTyP1NwBBamGHuXuXcBjwJwQZmMwWAY

DVR0BBFEwT6E7MDkxNzA1BgNVBAMTLk1pY3Jvc29mdCBEeW5hbWljcyBPbmxpbmUgQXV0aGVudGljYXRpb24gVG9rZW6CEOW6+UITfj6URhZkStXQ2kAwDQYJKoZIhvcNAQEFBQAD

gYEAE4wKy08BWjwB2J0VKYzS2SPwWNIXKfBYbawcDBlZGE3AW/zTQWqxaIsj9hPtifLwkdpYp4TbEPmYQu/Wvk3eaymsOj4V4TEDijUSsBUlUWL7/q5yUBHWkv7EGPaRsyr03OeWOk/J/s6

w0oQOMBSDEAmZ+A8ghZsflQ012Q7GYtk=

 

When the Public key value is pasted in the Public key field for the New System User that is created in the Customer Portal (above), if the value already exists you will receive an error.

When finished with the Public Key and saving the new System User, you have to make sure you are filtering on All users, select the System user that was created and click Edit.

Insert the Roles into the Selected Roles for the Service that was created.

Other issues I have run into when validating in the Dynamics AX Payment Services Setup window are:

 

  1. The Microsoft account is empty.  This should be an account that you can use when signing into Dynamics Online.  I have seen instances where we have to save the form and then we exit the window and relaunch to verify that the Microsoft account field was populated. 
  2. The Microsoft account password must be manually typed and cannot be pasted into the field.
  3. The Environment must be set to PROD.  It should not contain your server name.
  4. The Service ID comes from the Dynamics Online Customer Portal Service List ID field

Note:  It is a good idea to test a payment transaction in Dynamics Online to make sure the service id works correctly when processing transactions before testing in Dynamics AX.

Last, go into the ‘Credit card types’ button and verify that you have a Payment journal set for each Credit card type.

Once all the above is done, then click the Validate button.

 


Viewing all articles
Browse latest Browse all 64797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>