From 5bd1b993e575aae60f6edf4ee6057380912394e9 Mon Sep 17 00:00:00 2001 From: paytmshubham <130645655+paytmshubham@users.noreply.github.com> Date: Mon, 17 Apr 2023 10:51:16 +0530 Subject: [PATCH] Update paytm.php Minor change. Please push. --- Opencart_V1.5.x/upload/catalog/controller/payment/paytm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Opencart_V1.5.x/upload/catalog/controller/payment/paytm.php b/Opencart_V1.5.x/upload/catalog/controller/payment/paytm.php index 38f48aa..147db82 100755 --- a/Opencart_V1.5.x/upload/catalog/controller/payment/paytm.php +++ b/Opencart_V1.5.x/upload/catalog/controller/payment/paytm.php @@ -90,7 +90,7 @@ private function blinkCheckoutSend($paramData = array()){ * get Default callback url */ private function getCallbackUrl(){ - if(!empty(PaytmConstants::CUSTOM_CALLBACK_URL)){ + if(PaytmConstants::CUSTOM_CALLBACK_URL!=''){ return PaytmConstants::CUSTOM_CALLBACK_URL; }else{ return $this->url->link('payment/paytm/callback'); @@ -339,4 +339,4 @@ public function curltest(){ } } -?> \ No newline at end of file +?>