Skip to content

Commit

Permalink
Cancel adds session message
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimlawal committed Jun 8, 2016
1 parent 934b87e commit 4fb5374
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class Paystack_Inline_PaymentController extends Mage_Core_Controller_Front_Actio
{
public function cancelAction()
{
Mage::getSingleton('core/session')->addError(
Mage::helper('paystack_inline')->__("Payment cancelled."));

$session = Mage::getSingleton('checkout/session');
if ($session->getLastRealOrderId())
{
Expand Down

0 comments on commit 4fb5374

Please sign in to comment.