Error: A merchant account for Service account ID 'xxxxx' was not found. Reestablish merchant account informaiton for the payment service account.
Or another error: "Encryption error occured with exception: Microsoft.Dynamics.Ax.Xpp.Security.CryptoEncryptionException: Encryption error occured with exception: Microsoft.Dynamics.AX.Configuration.CertificateHandler.NoCertificateFoundException: No certificate found for id 'D0773F5E6CD8ABD9AB625AAEFBEF3F3A98172242'.
When environment was copied from another one and it is no longer can decrypt value in RetailChannelPaymentConnectorLine.SecureMerchantProperties field (CreditCard::findInSharePoint()::361)
1. Acount receivables / Payment setup / Payment services
Create new line with Payment connector = TestConnector. It will populate all fields. The only thing left to do is Electronic payment types and state Payment journal for every payment types. Also add required Currencies to the payment type, which will be used.
2. Find relevant credit card, which will be used in CreditCardCust table and copy XML from CardToken field.
Find Service account ID, which was used to add the card (PaymentProperty.StoredStringValue):
And update your payment service Service account ID field with that value.
Support The Author
If you found value in what I share, I've set up a
Buy Me a Coffee page as a way to show your support.
Buy Me a Coffee