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

Ongoing IPN saga - correct notification URL?

Started by jakeh, September 18, 2013, 16:10:00 PM

Previous topic - Next topic

jakeh

Apologies for starting a new topic on a very common issue - or so it seems.

I have had the same problems as others, that IPNs were not being received by my website. www.cuisenaire.co.uk

I thought I had solved the problem last week, as the IPNs started working again and purchases were being confirmed.

However, the problem is recurring this week.  I have been reading the forum extensively and have contacted Paypal to see what info they could provide on the failed IPNs.

The implication is that it is the notification URL.

Paypal identified the following three:

http://cuisenaire.co.uk/index.php/shop/pluginresponse/pluginnotification?tmpl=component

http://cuisenaire.co.uk/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component

http://cuisenaire.co.uk/index.php/shop/view/pluginresponse/task/pluginnotification/tmpl/component


At the moment the first two return a blank page with a page heading. The last one returns the website itself.

On following some of the other threads I looked at the paypal.php file and found the following line

"notify_url"       => substr(JURI::root(false,''),0,-1) . JROUTE::_('index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component', false),

I have compared this with other examples and noticed the ,false at the end of it.

I am not a programmer or developer, but I have tried various combinations of URL in this line and removed the ', false' to see if it makes a difference.

So far no luck.

I would be very grateful for any advice on which URL should be used as the notification url, and whether this line in the paypal.php file is correct or not.

Thanks in advance.

Jake

VM 2.0.22c
J 2.5.14

alatak

Hello

Now we do not EF the IPN URL. It looks like this
$post_variables['notify_url'] = JURI::root() .  'index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component' . '&lang='.JRequest::getCmd('lang','') ;

t68

So, exactly which url should I put in the IPN settings on my PayPal account?

Skickat från min HTC One via Tapatalk


alatak

Hello

You do not need to set up any notify URL in your Paypal account. The one used is the one sent by the plugin.
If you are using a version prior to 2.0.26, then change this
"notify_url"       => substr(JURI::root(false,''),0,-1) . JROUTE::_('index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component', false),


byt this

"notify_url"       =>JURI::root() .  'index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component' . '&lang='.JRequest::getCmd('lang','') ,

t68

But don't I have to enter ipn to get PayPal to update order status in VM? Right now I get pending status on completed and payed orders.

Skickat från min HTC One via Tapatalk



t68

Ok, I will do that. Thanks!

Skickat från min HTC One via Tapatalk