Skip to content

Commit

Permalink
Update controller
Browse files Browse the repository at this point in the history
Update if config are wrong..
  • Loading branch information
ringkubd authored Feb 7, 2018
1 parent 3c09de1 commit cd7e9ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/AbkashController.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ public function curlinit($data) {
*/

public function validate_response($abkashresponse) {

if(is_null($abkashresponse))
{
return "Config Error . Please Contact with Support";;
}
switch ($abkashresponse->trxStatus) {
case '0010':
case '0011':
Expand Down

0 comments on commit cd7e9ef

Please sign in to comment.