Skip to content

Commit

Permalink
Bug #128729 fix: 2Checkout payment plugin - INS check missing in plug…
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-maherwal committed Jun 14, 2018
1 parent 044d7b2 commit 944a471
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/plugins/2checkout/2checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,7 @@ public function onTP_Processpayment($data, $vars = array())
// If data is not posted then maybe its phishing or spam attack
if (empty($vars) || empty($data))
{
if (!$isValid)
{
throw new Exception(JText::_('PLG_PAYMENT_2CHECKOUT_ERR_SPAM'));
}
throw new Exception(JText::_('PLG_PAYMENT_2CHECKOUT_ERR_SPAM'));
}

$isValid = true;
Expand Down

0 comments on commit 944a471

Please sign in to comment.