Commit 5e254f7f authored by Andy J's avatar Andy J

Update PayPalPlus.class.php

parent 4b1ce4ac
......@@ -698,7 +698,8 @@ class PayPalPlus extends PaymentMethod
}
}
}
throw $exp;
$this->handleException('ExecutePayment', $payment, $exp);
Shop::Smarty()->assign('error', $exp->getMessage());
} catch (Exception $ex) {
$this->handleException('ExecutePayment', $payment, $ex);
Shop::Smarty()->assign('error', $ex->getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment