'status': 'Error' with no explaination


#1

I’m using a Python API integration that currently relies on polling. However, Im trying to set up webhooks with the paynow. When I initiate a transaction, I receive an error response:

{‘status’: ‘Error’, ‘success’: False, ‘has_redirect’: False, ‘hash’: False}


#2

To get the error message in Python please use

print(response.data["error"])


#3

Paynow will reject initiate transaction requests which specify an invalid resultUrl e.g. http://localhost/
That might be causing the error