Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add check for VELOCITY_CHECK_EXCEEDED when testing the secret word

  • Loading branch information...
commit 254d75712ef985333a7dea0ebd29ddaad1f185bf 1 parent 4b535d3
Harald Ponce de Leon haraldpdl authored
8 catalog/admin/ext/modules/payment/moneybookers/activation.php
@@ -132,6 +132,14 @@
132 132 </form>
133 133 <?php
134 134 } else {
  135 + if ($result == 'VELOCITY_CHECK_EXCEEDED') {
  136 +?>
  137 + <div style="padding: 5px; background-color: #ff9999;">
  138 + <p><b><u><?php echo MB_ACTIVATION_SECRET_WORD_ERROR_TITLE; ?></u></b></p>
  139 + <p><?php echo MB_ACTIVATION_SECRET_WORD_ERROR_EXCEEDED; ?></p>
  140 + </div>
  141 +<?php
  142 + }
135 143 ?>
136 144 <p><b><u><?php echo MB_ACTIVATION_SECRET_WORD_TITLE; ?></u></b></p>
137 145 <p><?php echo MB_ACTIVATION_SECRET_WORD_FAIL_TEXT; ?></p>
2  catalog/includes/languages/english/modules/payment/moneybookers.php
@@ -31,6 +31,8 @@
31 31 define('MB_ACTIVATION_SECRET_WORD_TITLE', 'Secret Word Test');
32 32 define('MB_ACTIVATION_SECRET_WORD_SUCCESS_TEXT', 'The secret word has been setup <b>correctly</b>! Transactions can now be securely verified with the payment gateway.');
33 33 define('MB_ACTIVATION_SECRET_WORD_FAIL_TEXT', 'The secret word configuration has <b>failed</b>! Please review the secret word at your Moneybookers "Merchant Tools" account and the configuration of the payment module.');
  34 + define('MB_ACTIVATION_SECRET_WORD_ERROR_TITLE', 'Error');
  35 + define('MB_ACTIVATION_SECRET_WORD_ERROR_EXCEEDED', 'The maximum number of tries has been exceeded. Please try again in an hour.');
34 36 define('MB_ACTIVATION_CORE_REQUIRED_TITLE', 'Core Moneybookers Module Required');
35 37 define('MB_ACTIVATION_CORE_REQUIRED_TEXT', 'The core Moneybookers payment module is required to support the Moneybookers Quick Checkout payment options. Please continue to install and configure the core payment module.');
36 38 define('MB_ACTIVATION_VERIFY_ACCOUNT_BUTTON', 'Verify Account');

0 comments on commit 254d757

Please sign in to comment.
Something went wrong with that request. Please try again.