I have nop 2.7 and have installed the Mailchimp plugin downloaded from the nopcommerce site that is supposedly compatible with nop 2.7. I have successfully entered a valid API key from mail chimp and when I save that in the nopcommerce mailchimp plugin config page it successfully retrieves my default mailing list from mail chimp. When I try to manually sync I get the following error:
------------------------------
System.Data.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Invalid object name 'dbo.MailChimpEventQueueRecord'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Data.Entity.Internal.Linq.InternalQuery`1.GetEnumerator() at System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Nop.Plugin.Misc.MailChimp.Services.SubscriptionEventQueueingService.GetAll() at Nop.Plugin.Misc.MailChimp.Services.MailChimpApiService.Synchronize() at Nop.Plugin.Misc.MailChimp.Controllers.SettingsController.Sync()
------------------------
--------------------------------------------------
Also, no clear explanation on how to setup the webhooks key has been provided anywhere in this forum or in the documentation. I understand the general idea of a link such as http://www.mystore.com/plugins/miscmailchimp/webhook/webhookkey
But, what is this address actually pointing to? Do I need to create a folder or blank file entitled "webhookkey" (whatever the actual key may be)? Do I create a text file with the name of the webhook key???
ANY HELP IS VERY APPRECIATED, THANKS!!!!!
-----------------------
UPDATE - OK so I figured it out myself, the table MailChimpEventQueueRecord had not been created when I installed the plugin so I had to create the table manually as in ohtsu's post above. Thanks for posting that! I seem to have it working, at least initially however I am still confused about the web hooks as the code refers to the location "MiscMailChimp" when it should be "Misc.MailChimp" according to the name of the folder that the plugin comes in. The code is missing a . in the middle from what I can tell but I am not the author of the code so I don't know if that is a mistake or not.