Hello, I got a few reports that Znote's IPN no longer work. So I decided to dig into this.
What I came up with, is, in engine/database/connect.php, there is a few lines containing functions that no longer seems to exists...
So, to fix this, start with removing (comment) following lines from connect.php file:
https://github.com/Znote/ZnoteAAC/blob/master/engine/database/connect.php#L274
https://github.com/Znote/ZnoteAAC/blob/master/engine/database/connect.php#L286
https://github.com/Znote/ZnoteAAC/blob/master/engine/database/connect.php#L310
Now, lets replace the ipn.php with the one I replaced it with, also it contains a cacert.pem, used for certification.. Read more here if you like..
Once done with that, go a head and replace ipn.php and add cacert.pem to the website.
Download the files here: https://www.dropbox.com/s/p9l469goqxz2q9z/ipn.php.rar?dl=0
Hope this works, I'll update it if we find more errors!
What I came up with, is, in engine/database/connect.php, there is a few lines containing functions that no longer seems to exists...
So, to fix this, start with removing (comment) following lines from connect.php file:
https://github.com/Znote/ZnoteAAC/blob/master/engine/database/connect.php#L274
https://github.com/Znote/ZnoteAAC/blob/master/engine/database/connect.php#L286
https://github.com/Znote/ZnoteAAC/blob/master/engine/database/connect.php#L310
Now, lets replace the ipn.php with the one I replaced it with, also it contains a cacert.pem, used for certification.. Read more here if you like..
Once done with that, go a head and replace ipn.php and add cacert.pem to the website.
Download the files here: https://www.dropbox.com/s/p9l469goqxz2q9z/ipn.php.rar?dl=0
Hope this works, I'll update it if we find more errors!