chuckdrew / mailgun_magento

Mailgun extension for Magento
MIT License
10 stars 10 forks source link

Doesn't work with Mailchimp integration by Ebizmarts #4

Open hughconway opened 8 years ago

hughconway commented 8 years ago

It doesn't seem to play nice if Ebizmarts Mailchimp module is being used, even if using Mandrill is set to no.

chuckdrew commented 8 years ago

Hi Hugh,

Thanks for interest. Unfortunately both my extension and the Mandril extension override the same model "Mage_Core_Model_Email_Template".

The only solution is to merge the two classes...

Chuck

hughconway commented 8 years ago

Hi Chuck,

I do not know how to do that!

I do not actually use the Mandrill functionality, just the Mailchimp integration.

Can you tell me how to make yours work please?

Thanks,

Hugh

------ Original Message ------ From: "Charles Drew" notifications@github.com To: "chuckdrew/mailgun_magento" mailgun_magento@noreply.github.com Cc: "hughconway" hugh@sconch.com; "Author" author@noreply.github.com Sent: 12/05/2016 21:49:17 Subject: Re: [chuckdrew/mailgun_magento] Doesn't work with Mailchimp integration by Ebizmarts (#4)

Hi Hugh,

Thanks for interest. Unfortunately both my extension and the Mandril extension override the same model "Mage_Core_Model_Email_Template".

The only solution is to merge the two classes...

Chuck

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

chuckdrew commented 8 years ago

Hi Hugh,

I believe the Mandril extension is separate from the MailChimp extension so completely disabling Mandril should not cause any issues.

To do this, rename this file

app/etc/modules/Ebizmarts_Mandrill.xml

to:

app/etc/modules/Ebizmarts_Mandrill.xml.DISABLED

Hope that helps :)

Chuck

hughconway commented 8 years ago

Hi Chuck,

Mandrill disabled and cache flushed but no joy sadly.

Do you have any other ideas?

Thanks,

Hugh

On 12 May 2016 22:02, at 22:02, Charles Drew notifications@github.com wrote:

Hi Hugh,

I believe the Mandril extension is separate from the MailChimp extension so completely disabling Mandril should not cause any issue.

To do this, rename this file

app/etc/modules/Ebizmarts_Mandrill.xml

to:

app/etc/modules/Ebizmarts_Mandrill.xml.DISABLED

Hope that helps :)

Chuck


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/chuckdrew/mailgun_magento/issues/4#issuecomment-218887029

chuckdrew commented 8 years ago

Hi Hugh,

Were you able to install and configure the MailGun module? When sending emails do you see anything in the logs: Magento Admin > Customers > Email Tracking?

Are you familiar with n98-magerun? It has a command to find extension conflicts:

$ n98-magerun.phar dev:module:rewrite:conflicts

If there is a conflict with another extension, n98 will help point us in the right direction.

Thanks!

Chuck

arjun2503 commented 8 years ago

No working with my installation as well. Have disabled the Mandrill Extension. Flushed Cache. Did every possible thing.

What would be the solution?

chuckdrew commented 8 years ago

@arjun2503 Did you try running the n98 command I listed above?

clivewalkden commented 8 years ago

I've run the n98 command as i'm currently running both systems. There is a conflict with the models Ebizmarts_Mandrill_Model_Email_Template and FreeLuchLabs_MailGun_Model_Email_Template

chuckdrew commented 8 years ago

Hi @clivewalkden ,

Since my extension and the Mandrill extension are using the same class and method you'll need to implement some logic in the shared method to direct the requests to the appropriate module...