Paynow not redirecting after successful payment


#1

Hie?

I am having an issue when it comes to redirecting clients back to my site after successful payment. Initiation of payment process and the payment process on paynow website is working fine. But the paynow system is raising an error afterwards instead of returning users.

I am using the paynow library. This is my code for initiating payment:

paynow = Paynow(settings.PAYNOW_INTEGRATION_ID,
settings.PAYNOW_INTEGRATION_KEY,
result_url,
return_url,
)

What could be the problem?


#2

Paynow redirects users to the “return_url” you provided. Take a look at this previous post Redirecting User after payment


#3

@charle The problem was found, I’ve opened a PR for the fix. You can find it the issue here https://github.com/paynow/Paynow-Python-SDK/issues/13


#4

I fixed that by changing the position of result_url with the return_url and I was good to go


#5

hello friend i am using it in python but both return and result url not working! in test mode


#6

How did you change the position, I am lost


#7

Hie
Im still facing this issue. Was it resolved?