Closed mehdininja closed 1 year ago
In the realm of Joomla, the 'JRequest' class, once present and utilized in the second version, has been gracefully phased out. In the current iteration, the following enlightened code pattern finds its place
in latest,
$app = \Joomla\CMS\Factory::getApplication();
$paction = $app->input->getString('paction','');
For a deeper understanding, consider consulting the J2Store 4 PayPal plugin.
hello This part of my plugin code does not work in Joomla 4. Please help to solve the problem
function _postPayment( $data ) { // Process the payment $paction = JRequest::getVar('paction');