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

mailchimp emails #114

Merged
merged 1 commit into from
Nov 27, 2023
Merged

mailchimp emails #114

merged 1 commit into from
Nov 27, 2023

Conversation

casperdcl
Copy link
Contributor

@casperdcl casperdcl commented Nov 25, 2023

  • used a form rather than js fetch to circumvent mailchimp's CORS
  • discard mailchimp response (render in hidden iframe)
  • continue using original endpoint for basic validation checks

the above hacks are necessary since (afaik) mailchimp doesn't provides a proper JSON API with configurable CORS, and we don't want to hardcode API keys here. Less hacky solutions are welcome /CC @Janaka-Steph :)

@casperdcl casperdcl added the framework & docs meta-content label Nov 25, 2023
@casperdcl casperdcl self-assigned this Nov 25, 2023
@filopedraz
Copy link
Contributor

To me looks good, but I would like @Janaka-Steph opinion on this.

@filopedraz
Copy link
Contributor

@casperdcl can you paste here the Form layout? Did you manage to replicate it the same as the form we were having in Mailchimp?

Copy link
Contributor

@Janaka-Steph Janaka-Steph left a comment

Choose a reason for hiding this comment

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

LGTM, don't have better idea

@casperdcl
Copy link
Contributor Author

this is what the modal looks like; basically same as before...

image

@filopedraz
Copy link
Contributor

LGTM. Let's merge

@casperdcl casperdcl merged commit e4994d1 into main Nov 27, 2023
3 checks passed
@casperdcl casperdcl deleted the mailchimp branch November 27, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework & docs meta-content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants