ahmedsamy / hypemailchimpbundle Goto Github PK
View Code? Open in Web Editor NEWSymfony2 Mailchimp API V2
License: MIT License
Symfony2 Mailchimp API V2
License: MIT License
I'm stucked since a few days with this issue coming from the bundle and that I'm not able to solve : https://stackoverflow.com/questions/50573517/curl-error-trying-to-check-mailchimp-lists-with-hype-mailchimp-bundle
It was working fine for a year now and nothing seems to have change in my code. Any idea where I should look at first to help ?
Hi! my code:
$mc = $this->get('hype_mailchimp');
$result=$mc->getList()
->setListId('49f0e2fed9')
->subscribe($freecalc->getEmail());
exit(var_dump($result));
when I try to add subscribers to the list, the method returns an array. A subscriber is not really added.
Hello,
I'm interested in using your bundle ; but there is no tag for now.
Hello,
when i use $mailchimp->getList()->subscribe($email). The new subscriber is not added on my list.
i have the correct API key + ID list but when i go on my MC account there is no new subscriber..
Any idea ? I use Symfony 3
Thanks
I installed and configured the bundle, then did I campaign create using the API and it showed up in mailchimp.com, but few hours later, I did it again and return code -100 specify apikey value.
I am creating webhook for mailchimp and I would like to get somehow api_key from this bundle, because it's already defined in config. But it's not possible imho or is it?
It's possible to pass/set name and lastname attributes? If so, how?
I am getting the error
SSL: CA certificate set, but certificate verification is disabled
When I try to add the subscriber to the list
$mc = $this->get('hype_mailchimp');
$data = $mc->getList()
->subscribe($email);
I am getting this error locally on my mac.
Any help will be appreciated.
Create class to handle non succeed response
I have seen another MailChimp bundle (only for API v1.3 at the moment) which uses separate variables for defining things like double_optin, send_welcome and things like that rather then like you do now setting those in the parameters of the different functions.
If you don't want this it is ok for me, I just think it is more clear for the user of this bundle and easier to use. But if you do like this, I could look into this this weekend of you want.
I noticed there wasn't any reference to the method 'listStaticSegmentMembersAdd'. Being that people will be handling a lot of user management on their own servers, I feel this would be a crucial API method to add.
Thanks for building such a great github project!
I show that the this feature was added 8 months ago to set the setApikey(), but there is no documentation for it. I have many api keys (many customers) how do I activate that account and then add subscribers to a list in that account?
where do I put the setApikey()?
$mc = $this->get('hype_mailchimp');
$mc->setApikey('xxxxxxxx-us11');
$data = $mc->getList()
->setListId('xxxxxxxx')
->subscribe('[email protected]');
var_dump($data);
MailChimp have just announced that their v3 API now has full feature parity, and also that previous versions of the API will cease to be operational at the end of 2016.
Has anyone started taking a look at what is involved in implementing v3?
As Bundle wont cover all API methods
A function will be created in services/mailchimp to work same as PHP wrapper
Hello @AhmedSamy,
It looks like you don't maintain the repository anymore but there is a real usage.
I suggest you to recruit some people to help you to maintain the repo or I will consider to register my fork to be able to continue to use it (with Symfony3 and mailchimpv3 too.
Thank you
Create Campaign Functions
Hi,
Thanks for sharing the bundle, i got it to work just fine, I can get the subscriber added using email however i cant seem to find a way to add subscriber first and last name?
Even your subscribe function does not seem to be taking any names
public function subscribe($email_id, $email_type = 'html', $double_optin = true, $update_existing = true, $replace_interests = true, $send_welcome = false, $email_identifier = 'email') {
Create function in MCExport class to handle Export functions
Add to config.yml, requested response format
xml
json
php
csv
Maybe it's a good idea to add option disabled_environmetns: [dev, test]
and disable API Calls somehow?
Thanks for this bundle ๐
Would you mind tagging a release now that you have made compatibility with Symfony 3.X possible?
Hi there,
I have tried the bundle, but found that there is no way we can set the default settings or provide the curl settings anywhere in the config. while m facing the curl timeout issue, as in the RestClient.php file there are no curl_opt set for the timeouts, as default timeouts sets at 10 seconds.
->addMerge_vars(
array(
'lname' => 'pepe'
))
this function generate a json output link this
[{"lname":"pepe"}]
and if I use
->setMerge_vars(array(
'lname' => 'pepe'
))
generate this:
{"lname":"pepe"}
the first one doesn't work, the second yes.
and the first is in the example in the readme
regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.