Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kendysond committed Oct 2, 2016
1 parent 0a02d77 commit 4dacab8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controllers/hook/getContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public function __construct($module, $file, $path)
public function assignConfiguration(){
$test_secretkey = Configuration::get('PAYSTACK_TEST_SECRETKEY');
$test_publickey = Configuration::get('PAYSTACK_TEST_PUBLICKEY');
$live_secretkey = Configuration::get('PAYSTACK_PUBLIC_SECRETKEY');
$live_publickey = Configuration::get('PAYSTACK_PUBLIC_PUBLICKEY');
$live_secretkey = Configuration::get('PAYSTACK_LIVE_SECRETKEY');
$live_publickey = Configuration::get('PAYSTACK_LIVE_PUBLICKEY');
$mode = Configuration::get('PAYSTACK_MODE');
$this->context->smarty->assign('test_secretkey', $test_secretkey);
$this->context->smarty->assign('test_publickey', $test_publickey);
Expand All @@ -30,8 +30,8 @@ public function processConfiguration(){
Configuration::updateValue('PAYSTACK_MODE', $mode);
Configuration::updateValue('PAYSTACK_TEST_PUBLICKEY', $test_publickey);
Configuration::updateValue('PAYSTACK_TEST_SECRETKEY', $test_secretkey);
Configuration::updateValue('PAYSTACK_PUBLIC_PUBLICKEY', $public_publickey);
Configuration::updateValue('PAYSTACK_PUBLIC_SECRETKEY', $public_secretkey);
Configuration::updateValue('PAYSTACK_LIVE_PUBLICKEY', $public_publickey);
Configuration::updateValue('PAYSTACK_LIVE_SECRETKEY', $public_secretkey);
$this->context->smarty->assign('confirmation', 'ok');
}
}
Expand Down

0 comments on commit 4dacab8

Please sign in to comment.