News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Need to Send data after payment is recieved.

Started by ingenioussolutions, July 09, 2013, 14:52:47 PM

Previous topic - Next topic

ingenioussolutions

Hey All !

Joomla! version, 2.5.7
Virtuemart 2.0.20b

We're trying to feed some data into another server, through a gateway, once payment is recieved. Current payment being used is paypal, but we configured this to suit our needs. We tested this on our localhost (Windows Apache) and it works fine but when we try it on the live system (Hosted Linux) nothing is being fed in the server.

The method that is needed, is written in the function plgVmOnPaymentResponseReceived, of the file paypal.php in the vmpayments folder. It has a foreach loop that goes through each product in the cart and sends the needed info.

What we're thinking is that cart is being emptied as soon as payment is recieved (as soon as virtuemart sends the email). We ended up with this conclusion as our localhost does not send send emails and cart is not emptied before the mentioned function (plgVmOnPaymentResponseReceived).

Any help would be appreciated.

Thank you