I understand why my log file isn't exist...
the notification is call with this adress : index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal
I've made a debug_print_backtrace on the function onPaymentNotification of the paypal plugin AND i've found the first plugin called with this url : it's the plugin system plugins/system/hikashoppayment/hikashoppayment.php
the processPaymentNotification() is called by the onAfterInitialise(). IN this processPaymentNotification() we do THIS :
JRequest::setVar('hikashop_payment_notification_plugin', true);
ob_start();
$payment = JRequest::getCmd('notif_payment', @$_REQUEST['notif_payment']);
$data = hikashop_import('hikashoppayment', $payment);
if(!empty($data)) {
$trans = hikashop_get('helper.translation');
$cleaned_statuses = $trans->getStatusTrans();
$data = $data->onPaymentNotification($cleaned_statuses);
}
$dbg = ob_get_clean();
if(!empty($dbg)) {//WRITE ON THE LOG PAIEMENT FILE
BUT the $dbg is empty when i call the url, because $dbg call the plugin onPaymentNotification() who receive the data send by paypal
but i don't receive any data... SO if $dbg is empty, the log file don't exist...
BUT i don't understand why i don't receive the data from paypal
any help please ?
thx
Joachim