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

Added another Error code #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Studioforty9_Recaptcha_Helper_Response extends Mage_Core_Helper_Abstract
const INVALID_INPUT_SECRET = 'invalid-input-secret';
const MISSING_INPUT_RESPONSE = 'missing-input-response';
const INVALID_INPUT_RESPONSE = 'invalid-input-response';
const BAD_REQUEST = 'bad-request';

/**
* @var bool $_success
Expand All @@ -43,7 +44,8 @@ class Studioforty9_Recaptcha_Helper_Response extends Mage_Core_Helper_Abstract
self::MISSING_INPUT_SECRET => 'The secret parameter is missing.',
self::INVALID_INPUT_SECRET => 'The secret parameter is invalid or malformed.',
self::MISSING_INPUT_RESPONSE => 'The response parameter is missing.',
self::INVALID_INPUT_RESPONSE => 'The response parameter is invalid or malformed.'
self::INVALID_INPUT_RESPONSE => 'The response parameter is invalid or malformed.',
self::BAD_REQUEST => 'The request is invalid or malformed.'
);

/**
Expand Down