I would like to call a PHP helper file (
helper_ppal.php) included in a custom module (
mod_ms_lib). Accessing the helper file would simplify processing PayPal IPN (Instant Paypal Notifications) requests. (For info, PayPal posts data to a custom url after a transaction has occurred. I would like to process these data.)
Currently, with the DirectPHP plugin, I am able to access the helper file by redirecting the request to the url of the ipn article that contains include and processing statements.
Question: Is it possible to directly access helper file methods from the outside w/o transitioning through a menu/article?
I have a working PHP demo, which senses IPN requests and redirects them to the ppal handler. I understand that for security reasons, access rights to Joomla files are restricted. How can I address this situation?
Thanks for your answer.
Question: Does this mean for example that I could add some php code in 'index.php' to instruct Joomla to check url's? If a specific url is detected, say 'http://...//ppal.php&action=ipn', the app would then take action?