News:

Support the VirtueMart project and become a member

Main Menu

plgVmOnPaymentNotification not hit

Started by razor7, December 07, 2018, 19:05:11 PM

Previous topic - Next topic

razor7

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

Quotehttps://mysite.com/plugins/vmpayment/mypaymentplugin/ipn_notification.php

Inside ipn_notification.php I have

$_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):
Quotehttps://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