Advertisement
Guest User

Untitled

a guest
Dec 30th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.0.8.0
  8. * @ Author : DeZender
  9. * @ Release on : 25.09.2017
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class Mage_Empbankr_EmppayController
  15. {
  16. protected function _expireAjax()
  17. {
  18. if (!(Mage::getSingleton( 'checkout/session' )->getQuote( )->hasItems( ))) {
  19. $this->getResponse( )->setHeader( 'HTTP/1.1', '403 Session Expired' );
  20. exit( );
  21. }
  22. }
  23.  
  24. public function getEmpbankr()
  25. {
  26. return Mage::getSingleton( 'empbankr/emppay' );
  27. }
  28.  
  29. public function setEmpbankResponse($response)
  30. {
  31. if (count( $response )) {
  32. $this->_empbankResponse = $response;
  33. }
  34. else {
  35. $this->_empbankResponse = NULL;
  36. }
  37.  
  38. return $this;
  39. }
  40.  
  41. public function redirectAction()
  42. {
  43. $session = Mage::getSingleton( 'checkout/session' );
  44. ..........................................................................
  45. .......................................
  46. ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement