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

Forward a POST request after submission #8

Open
williamhibberd opened this issue Jun 3, 2020 · 1 comment
Open

Forward a POST request after submission #8

williamhibberd opened this issue Jun 3, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@williamhibberd
Copy link

It would be great to have the ability to POST a request after a form submission so that you could integrate adding a customer to a list when checking out a product.

<input type="hidden" name="action" value="cm-lists/subscribe" />
<input type="hidden" name="forward" value="commerce/payments/pay">
@heymarkreeves
Copy link
Member

@williamhibberd This is a good idea. I actually do this myself where I'm using this plugin, but in a post-checkout hook in a custom utility plugin for that project. I'll put this on my list.

@heymarkreeves heymarkreeves added the enhancement New feature or request label Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants