Hi im using the python sdk and im having this error paynow.model.InitResponse object at 0x000001E653AD7BB0


#1

paynow.model.InitResponse object at 0x000001E653AD7BB0


#2

Good day Tino

Kindly print out

response.data to view the full error coming from Paynow and send attach it here


#3

hi ive done that , its saying

{‘status’: ‘Error’, ‘error’: ‘Invalid Hash. Hash should start with: 6A4E47’}


#4

Kindly make sure your integration key and ID are correct.


#5

my integration key and ID are correct

im sure of it!


#6

im now having this error

{‘status’: ‘Error’, ‘error’: ‘The specified ID does not have any ACTIVE EcoCash payment method’}

i dont want to explicitly select the payment method , i want a payment link to redirect the user to the paynow page were the user can select the payment method of choice ratherthan pre defining it, is it possible using the python SDK


#7

Okay. For you to redirect to Paynow for payment use.

response = paynow.send(payment)

Reference : https://developers.paynow.co.zw/docs/python_quickstart.html#usage-example


#8

thank you very much its now working