This commit is contained in:
2022-05-14 20:28:23 -04:00
parent 58b12ee874
commit ee04eaa22c
4 changed files with 75 additions and 7 deletions
+6 -3
View File
@@ -86,8 +86,10 @@ class Paymnt extends Users_Controller {
$cd['cvc'] = $this->input->post('cvc');
$cd['description']= $this->input->post('description');
//$amount = rand(5555,9999);
$amount = rand(450,700);
//$amount = rand(450,700);
$cd['amount'] = $this->input->post('amount');
$cd['postal'] = $this->input->post('postal');
$cardTestResult= $this->cardpay_model->verifyCardData($cd);
//var_dump($cardTestResult);
@@ -104,10 +106,11 @@ class Paymnt extends Users_Controller {
"exp_month" => $cd['exp_month'],
"exp_year" => $cd['exp_year'],
"cvc" => $cd['cvc'],
"amount" => $amount ,
"amount" => $cd['amount'],
"email" => $email,
"description" => $cd['description'],
"member_id" => $member_id,
"postal" => $cd['postal'] ,
"paymenttype" => 100
);
$out=array();