fix
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user