Asked 7 years ago
25 May 2017
Views 3086
jassy

jassy posted

Knet payment gateway integration Error in PHP

at code i have following

$payID = $Pipe->getPaymentId();
			$trackID = $Pipe->getTrackId();
			$payURL = $Pipe->getPaymentPage();
			echo $payURL;
          	echo $Pipe->getDebugMsg();
			exit;

and i getting error like this


RROR - CGW000224-Merchant Response URL Invalid
---------- PaymentInitHTTPServlet: 1495693599 ----------

About to create the URL to: https://www.knetpay.com.kw:443/CGW/servlet/PaymentInitHTTPServlet
About to create http connection....
Created connection.!!
about to write DataOutputSteam....
after DataOutputStream.!!
Received RESPONSE: ERROR - CGW000224-Merchant Response URL Invalid


in short i getting error like
Merchant Response URL Invalid
instead of getting redirection URL for payment processor
Mitul Dabhi

Mitul Dabhi
answered Nov 30 '-1 00:00

its clearly says that your Response URL is not valid .

so you need to check it proper ,

response URL should be registered with KNET Payment Gateway
Post Answer