News:

Support the VirtueMart project and become a member

Main Menu

Debugging plgVmOnPaymentNotification()

Started by dadrimon2, April 05, 2014, 12:17:33 PM

Previous topic - Next topic

dadrimon2

Hello everyone

I'm currently developing a payment plugin in virtuemart. The payment process works perfectly, redirections works fine, it empties the cart, etc.., but the main problem comes when the POS has to notify back to my site. Ive tried everything but I dont know how to debug it.

First of all, I assume the POS has to call this direction:

index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component

If I call this from my browser , with J!Dump activated I see how every plugin is called and as far as I know this is normal due the joomla plugin system. But why can I not write to the log anything? (since onPaymentNotification is an async call ther isnt any other way to debug it when the plugin runs in a real server right?)

If that wasnt enough, my POS keeps emailing me with errors trying to call the direction.

How I am supposed to debug this?

Thanks