Status update from Paynow server


Where and How can I call or initiate result url to update my database file paynow server , I have a separate php script for update but i dont have any idea of making it as a result url


Hi @lastmadanhire, are you using the php sdk?


Yes Iam using php sdk


When you instantiate the PayNow() object, among the values you set is the result url. This is where PayNow automatically takes the user to once the transaction has been processed.

$paynow = new Paynow\Payments\Paynow(

    // The return url can be set at later stages. You might want to do this if you want to pass data to the return url (like the reference of the transaction)


Is this a default or I have to replace, because it redirects me to ‘’ after transaction, may you please shade light on this


You have to replace with the url you want your users to be redirected to on your site.


i am getting this error

Fatal error : Uncaught exception ‘Paynow\Payments\HashMismatchException’ in C:\xampp\htdocs\Tadiwa\Paynow\src\Payments\Paynow.php:325 Stack trace: #0 C:\xampp\htdocs\Tadiwa\update.php(18): Paynow\Payments\Paynow->processStatusUpdate() #1 {main} thrown in C:\xampp\htdocs\Tadiwa\Paynow\src\Payments\Paynow.php on line 325