Author Topic: plgVmOnPaymentNotification not hit  (Read 349 times)

razor7

  • Jr. Member
  • **
  • Posts: 325
    • MGSCreativa - Professional VM!
plgVmOnPaymentNotification not hit
« on: December 07, 2018, 19:05:11 pm »
Hi! I developed a payment plugin that worked just fine until I upgraded to j! 3.9.1 and VM 3.4.2.

The payment processor limits MY IPN url to not have variables in the URL, so, I need to put the IPN URL like this

Quote
https://mysite.com/plugins/vmpayment/mypaymentplugin/ipn_notification.php

Inside ipn_notification.php I have
Code: [Select]
$_REQUEST['option'] = "com_virtuemart";
$_REQUEST['view']   = "pluginresponse";
$_REQUEST['task']   = "pluginnotification";

require_once("../../../index.php");

That worked just fine, but now, the function plgVmOnPaymentNotification in my plugin code doesn't get fire

If I write the IPN notificatin as URL it works (this is not allowed by my IPN processor):
Quote
https://mysite.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification

MGS Creativa - VirtueMart Payment Plugin Experts
http://www.mgscreativa.com

Take a look at our downloads section for VirtueMart payment plugins and mouch more!
http://www.mgscreativa.com/en/online-store