Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+: Method to retrieve MailChimp admin URL #25

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

Maikel-Koek
Copy link
Contributor

No description provided.

@gonzaloebiz
Copy link
Contributor

Hi @Maikel-Koek

sorry but i don't understand for what you need this

@Maikel-Koek
Copy link
Contributor Author

Maikel-Koek commented Nov 20, 2018

Hi @gonzaloebiz

I'd like to have the admin URL so I can link or redirect someone to the MailChimp portal, for example like this:

$this->helper->getApi()->getAdminUrl() . 'campaigns/edit?id=12345';

Which, for example in my case, links to:

https://us19.admin.mailchimp.com/campaigns/edit?id=12345

Copy link
Contributor

@gonzaloebiz gonzaloebiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Maikel-Koek

@gonzaloebiz gonzaloebiz merged commit 74f2d4d into ebizmarts:master Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants