Developer forum

Forum » Integration » License error in Live Integration

License error in Live Integration

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I am on a staging server and encountering some issues with Live Integration. On cart calculation calls I get this error:

License is not valid.

I tracked it down to the license manager which does this:

        private static bool IsFeatureEnabled
        {
            get
            {
                return Security.Licensing.LicenseManager.LicenseHasFeature("eCom_DataIntegrationERPLiveIntegrationV2");
            }
        }

 

and this:

                    if (IsFeatureEnabled)
                    {
                        return true;
                    }
                    else
                    {
                        Logger.Instance.Log(ErrorLevel.Error, $"License is not valid.");
                        return false;
                    }

 

So it seems to check for a license feature called eCom_DataIntegrationERPLiveIntegrationV2

Yet when I check my license, I see eCom_DataIntegrationERPLiveIntegration without the V2.

Is that's what causing the issue? Is this a code issue? Or does my license need to be updated?

Interesting thing is that it does seem to work for full order submits (CreateOrder=True) but not for carts. But it could be that I am being misled by other things ;-)

Thanks!

 


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

This has been resolved. It was indeed a licensing issue.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

That must be a celebration then. An error message that was correct!!

 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Yeah, too bad I have 6 others that are still driving me nuts ;-(

 

You must be logged in to post in the forum