Skip to content

Commit

Permalink
Txn ref bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kendysond committed Dec 28, 2016
1 parent 968503b commit ad38030
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified controllers/.DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions controllers/front/confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public function initParams(){

if($nbProducts > 0 && Tools::getValue('txn_code') !== ''){
$txn_code = Tools::getValue('txn_code');
if(Tools::getValue('txn_code') == ""){
$txn_code = $_POST['paystack-trxref'];
}
$amount = Tools::getValue('amounttotal');
$email = Tools::getValue('email');
$verification = $this->verify_txn($txn_code);
Expand Down
Binary file modified logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ad38030

Please sign in to comment.