PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 6, 2022

[FIXED] When to use MailChimp Single or Batch Operations?

 September 06, 2022     mailchimp, mailchimp-api-v3.0, php     No comments   

Issue

Sorry if this is a repeating Question. But I'm bit confused when to use MailChimp Single or Batch Operations?

I want to build a simple PHP script to Subscribe a User to MailChimp List. That is triggered every time a Payment Provider pings the PHP script.

But what would be the safest MailChimp Monkey Way of doing this with MailChimp API V3.0?

  1. Do run Subscribe on every new Order Ping .
  2. Or do I add them to a list and batch Subscribe them every 5 min

Solution

I guess should have answered my own Question : There is no one prefect solution.

Number "1." is possible on low frequency but keep in mind that MailChimp has limit of 10 simultaneous connections.

Once you start receiving "429 TooManyRequests " Error then "2." is the next level.

Also remember to take into account the response time required for "Payment Provider"



Answered By - Tami
Answer Checked By - Marie Seifert (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing