even if I put error message in that page , paynow cant execute and lm looking at the error log , there is nothing meaning paynow is not executing that page at all.
I have ssl in place and my results url page looks good. What can I be missing.
I still have the same issue , also $response->success; is returning 1 , and $response->data() is returning an array , meaning its still OK to say
$response = $paynow->send($payment);
if(!$response->success)
print “Cant connect to paynow”;
else
{
$link = $response->redirectUrl();
window.location.href=’$link’;
}
we are indeed redirected to that link , which is paynow , I can successfully make a test payment , but PAYNOW in the background is failing to EXECUTE my $results URL page.
I can deliberately make errors on that page and expect an error in the logs , but there is nothing , Paynow cant execute my $results page . Thus the issue .
The URL is LIVE , and this exact code was working before , we have another system that is live https://tendertube.co.zw , and its doing the same thing. I also updated the paynow library via a download and composer and still same error .
All of a sudden Im seeing the error log, meaning you manually pushed things from your end. The error log was talking about an error in the paynow library, Unfortunately I thought its now working and I deleted the error log and I restored an old library that l knew worked before.
Now Im testing nothing happened. results url did not execute again. No error message and I have put file_put_contents() , so a file can be created to showcase that code executed , but nothing from my end.
Please note that your result url returns a 500 error showing this. <script> createCookie(‘color’,‘rgba(0, 255, 0,1)’,30); </script><script> createCookie(‘button_color’,‘rgba(39, 131, 34,1)’,30); </script> kindly make sure your result url. You can test it via postman