MailChimp / Constant Contact API Integration

Issue #4 closed
Drew Angell repo owner created an issue

Need to add an option into the plugin settings to enable/disable MailChimp integration. If enabled, we would use the MailChimp API to automatically add email addresses from IPN's into the MailChimp mailing list selected.

Then we would do the exact same thing with Constant Contact.

Comments (25)

  1. jignesh kaila

    Today I have worked on MailChimp Integration and it's almost going on done by tomorrow.

    Please review by this url: http://paypalipn.projectsmd.in/wp-admin/options-general.php?page=paypal-ipn-for-wordpress-option

    I have one suggestion related to "PayPal IPN settings" user interface from admin side, we should used tab panel setting interface like woocommerce plugin because in our plugin there is more settings comes so all the settings are display in one page it is not proper. So I think it will be in single setting in single tab. Let me know your thoughts.

  2. Drew Angell reporter

    Yes, I agree about the settings layout. Tabs would be nice.

    The MailChimp integration looks good. The only thing we need now is a way to easily enable/disable that particular feature. Might be good to do this based on txn_types, so people can enable it for new "orders" but not recurring payments / subscriptions, for example.

  3. jignesh kaila

    Today I will work on below task:

    1. Work on finalize MailChimp integration based on txn_type type.
    2. start work on tab integration.
  4. Drew Angell reporter

    I've been thinking about this project a little bit more. I may decide to go a slightly different route than originally planned on it and I would like your thoughts, please.

    I'm thinking of basically following the same model that Woo does with their stuff. In this case, our basic IPN plugin would be free and would provide a quick and easy to get up and running with IPN, and we could even leave the hooks for developers who want to utilize it that way.

    Then, though, each of the MailChimp, ConstantContact, Facebook, Twitter, etc. features that I was planning on adding would be premium extensions that people would pay for.

    Does this sound viable to you, and can we follow that sort of model easily with the way we've done this?

  5. jignesh kaila

    Below are my thoughts for premium extensions:

    Option-1: We make separate add on for each premium feature.

    For this, we need to make one basic plugin, it will allow only simple Paypal IPN listing interface and this is free version, So we need to submit this version to WordPress plugin directory.

    Other premium feature we can develop separate add on, it will available only our e-commerce website or any other such website which are provide software license key concept (It is for security reason).

    In the basic version, we will provide all the developer extend-able hooks and filters and we will use this hooks and filters concept to our premium add on, so our basic version also can extend other developer and make own add on like woo-commerce used strategic plan. using this plan we make our basic version lightweight and extensible.

    Option-1: We can provide all the feature in disable mode (Mean when we installed plugin then admin side all the settings tabs are display but it is disabled mode), each feature have own separate tab with license key input option. if user enter valid license key then user can used specific premium feature, here security concern may create problem because all the code available in our basic plugin and now day blackhat developer are more active to make it crack version.

    Please let me know your thoughts/suggestion for the same.

    Today I will working on Constant Contact API Integration functionality.

  6. Drew Angell reporter

    I think we're on the same page with offering premium extension/add-ons. That said, I guess we need to go ahead and start considering that now because the MailChimp and ConstantContact stuff we're doing now would actually be our first add-ons.

    Let me know if you think it's missing anything, but our basic listener with hooks is essentially our free version that I'll be placing on the WP directory, so all we really need to do for that is fine-tune comments, version labels, etc.

    Not sure if you've started adjusting the settings tabs within this branch or not..?? I think that's the only thing we need to do adjust in our free version of the plugin, right? Just that first general settings tab, then the extensions would add tabs for their own settings.

    Let me know what you need in order to move that direction. Again, what we're doing here now will actually need to moved into extension plugins, so not sure how you want to handle that..??

  7. Drew Angell reporter

    For our paid plugins, I'll put those on my site as well as 3rd party plugin sales platforms. We can make an activation system that is hosted on my server so that the plugins can only be run from 1 (or however many licenses purchased) web domain.

    I have an activation system in place I've been using for years on my USBSwiper product and it's worked nicely for me, so I'll probably just replicate that here. Essentially, I'll put together a web service so that you can simply pass a serial number and it will return a 1/0, success/failure accordingly.

  8. Drew Angell reporter

    Actually, as I mentioned that, I typically generate serial numbers and add them to my activation system at the time the customer places the order on my website. I'm not exactly sure how I would handle that for sales from 3rd party platforms.

    Do you know if platforms like CodeCanyon have a way to add new serial numbers into my own system based on sales there? Do they have something like an IPN that could be utilized for that?

  9. jignesh kaila

    Thanks for the reply.

    I need some adjustment and fine-tune for basic version and make more extensible for our premium extension/add-ons. because this version is our base version so no. of hooks and filters I need to put.

    Also I want to convey one more thing that our basic version contain only code which are required for basic version and same as extension/add-ons contain own code. for ex. we consider issue-4 branch as "MailChimp / Constant Contact" extension/add-ons, So we need to remove some code which is not related to MailChimp functionality (Mean that will have remove the basic IPN plugin classes and all.)

    IPN forwarding feature can I consider as basic version or separate add-on? if IPN forwarding is basic version then it will come in general setting tab right (Not IPN forwarding tab)?

    Regarding platforms like CodeCanyon I will research on it and let you know for the same.

    Also I need some help how to manage git branch with basic version and extension/add-ons.

  10. Drew Angell reporter

    IPN Forwarding can be a free feature included with the basic.

    Please focus on getting the general IPN read-only functionality that we have now along with the IPN Forwarding all fine-tuned to release as the 1.0 version of the base plugin.

    MailChimp will then be its own premium extension, and ConstantContact would be another.

    So go ahead and prepare everything the way you need to for best development into the future with this model, and then those will be our first two premium plugins.

    I will create separate BitBucket repos for each of those and get you added. I will let you add all the original files to those.

    I will also open up the dev branch on this repo so you can get it ready to go for our 1.0 release.

    All of that sound good?

  11. Drew Angell reporter

    I've opened up the dev branch here and I've created separate repos for the MailChimp and ConstantContact extensions. I've added you onto those repo's so you should get emails about that. Let me know if you don't see that or can't find access to them.

    I do still want to get #7 and #9 done here as part of our basic plugin.

  12. jignesh kaila

    OK, let me clear our work priority.

    1. Fine-tune basic version
    2. Issue #7
    3. Issue #9
    4. MailChimp premium add-on
    5. ConstantContact premium add-on

    It is fine? OR let me you your suggestion.

    Note: Please also assign all the repos to chirag, so me and chirag being on same page.

  13. jignesh kaila

    Today I am worked on fine-tune basic paypal ipn version, Once I am done with this let you know for the same.

  14. Drew Angell reporter

    I'm sorry I keep doing this, but I've changed my mind again. I would like to go ahead and make the IPN Forwarding a premium extension to the free plugin. I'll get a separate repo setup for it like I did the others.

  15. Drew Angell reporter

    I'm going to go ahead and close this issue here since we now have a separate repo for these altogether. Further communication about this in particular can be handled within those repos.

  16. Log in to comment