Sylius: Spam protection on contact form

Created on 31 Dec 2018  路  4Comments  路  Source: Sylius/Sylius

Currently there is not really an anti-spam solution on the out of the box contact form solution provided by Sylius. Although the content is only sent via email to the shop owner, in one of my projects the email hosting provider flagged the account as sending spam and therefore suspended the whole account. This breaks the checkout flow as the confirmation email is sent before reaching the payment provider, so the client never reach the payment page. This is an issue by itself (email should be handled on the background e.g.), but not related to the contact form.

Something like Recaptcha would probably be good. It's probably not hard to implement myself, but it's likely others are running into the same issues sooner or later.

Feature Shop Stale

Most helpful comment

WIP: https://github.com/stefandoorn/SyliusRecaptchaPlugin. It works in a production project on the contact form for now. Needs tests etc., but I needed something quick :-)

All 4 comments

I agree with you, maybe a Sylius Google ReCaptcha Plugin can be built to add security points on Contact form, Register form and Login forms.

WIP: https://github.com/stefandoorn/SyliusRecaptchaPlugin. It works in a production project on the contact form for now. Needs tests etc., but I needed something quick :-)

what about this bundle
https://github.com/core23/AntiSpamBundle
with Recaptcha @stefandoorn

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reyostallenberg picture reyostallenberg  路  3Comments

hmonglee picture hmonglee  路  3Comments

bnd170 picture bnd170  路  3Comments

inssein picture inssein  路  3Comments

mikemix picture mikemix  路  3Comments