Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Checkout
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2012 at 17:06 UTC
Updated:
7 Jul 2016 at 11:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rszrama commentedThe checkout form does not use form level validate / submit handlers. Instead you should add your validate handler for the CAPTCHA to the continue button of the form. See the form builder function in commerce_checkout.pages.inc for more info.
Comment #3
eleonelHi, i make this patch, it's work for me.
Comment #4
onefeatureman commentedApplied patch still lets the checkout form validate without a proper CAPTCHA. It would be beneficial to give more pointers how to add validate handler for the CAPTCHA to the continue button of the form.
Thank You in advance.
Comment #5
fox mulder commented#rszrama: Can you give a more detailed answer to this question for us?
Comment #6
rszrama commentedI'm sorry, I don't have the time really. It just needs a button level submit handler, but I still think a CAPTCHA on checkout review is a poor idea. If you need assistance with altering on button level submit handlers, I recommend https://drupal.stackexchange.com.
Comment #7
fox mulder commentedWe are using commerce_checkout_login module.
At the end of the webshop checkout process the user gets a Drupal account. In case we don't protect the checkout process with captcha than robots can create Drupal accounts by going through the purchase process. Of course we protect /user/register with captcha so we have to protect the checkout process too.
Comment #8
leramulina commentedHow has you added a captcha to commerce_checkout_form_review? My client complain that they get too many fake orders and asked me to add captcha to the checkout process. How is it possible to do that?