Fatal error: Call to undefined method Paynow\Core\InitResponse::redirect()


#1

i get this error when i use: $response->redirect(), as per documentation.


#2

Hi @pamsillah, thanks for getting in touch. Kindly get the redirect link using $link = $response->redirectUrl();
then use header("location: $link") to achieve the desired outcome for now while we investigate on the error.


Call to undefined method Paynow\Core\InitResponse::redirectLink()