News:

Support the VirtueMart project and become a member

Main Menu

Paypal IPN

Started by ukfish1, June 23, 2020, 12:45:30 PM

Previous topic - Next topic

ukfish1

joomla: 3.9.19
VM: 3.8.2

We have recently been getting some messages from papal along the lines of:

Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing:

https://www.***************.co.uk/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.


We have checked with the host company who say IPN is enabled.

Also, the last few orders we have received are showing as pending despite payment having been received through PayPal successfully. We are not receiving order notifications from the website for these orders even though in the VM config emails are meant to be sent even when the status of the order is pending.

Also, in the order summary section of VM, the paid section is showing red cross against these orders even though payment has been made.

Any help would be appreciated.

Paul


GJC Web Design

So what has changed?

Have u tried the  https://www.***************.co.uk/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang= url from a browser and seen what the response is?

It should be a 200

What is the status of the IPNs in the paypal IPN history?

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ukfish1

Thanks for getting back to me so quickly.

The only thing that has changed in recent months is we enabled recaptcha as we were getting lots of spam user registrations.

When I click on the link I just get a blank screen.

Sorry, how do I check the status of the IPNs in the PayPal IPN history?

Thanks again

Paul

AH

You have to go through your paypal console

If you cannot see them - then ask PayPal for assistance.

IPN's look like they are being blocked by your hosting service

QuoteWe have checked with the host company who say IPN is enabled.

Hosting companies do not enable this service - they can impact the IPN message by blocking messages - do you have CDN enabled or some strange hosting routing

When you click the link - yous google console to see what response is given
Regards
A

Joomla 4.4.5
php 8.1

ukfish1

many thanks. Really appreciate your help

Paul

GJC Web Design

login to your paypal account and then go to https://www.paypal.com/us/cgi-bin/webscr?cmd=_display-ipns-history&nav=0.3.5

there is the history

#########
https://www.***************.co.uk/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=
the url will always be a blank screen  -- you have to look in the browser console what the return is.. 200 or 500 etc etc

it must be 200
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ukfish1

Hi

Just logged into the PayPal account and I can see that IPN was not even enabled in PayPal for our account. I have enabled it and hopefully all will now work.

Why were things working OK up to a few weeks ago without this enabled though?

Thanks again, Paul


GJC Web Design

enabled or disabled in Paypal makes no difference...
the send from VM forces the IPN no matter what the setting is in PP.

You need to look at the IPN history .. that is the first point of investigation
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ukfish1

is says there is no history as It wasn't enabled.

Now that it is enabled, I will check the history when we have had some more orders.

Thanks

Paul

Jumbo!

You can see the PayPal IPN History in this page - https://www.paypal.com/webscr?cmd=_display-ipns-history

Even if the IPN fails you should be able to see them in the history page.

AH

only if you have the IPN configured (even though it ignores it)

PayPal will not show you the IPN history option without it - even though it is actually there!
Regards
A

Joomla 4.4.5
php 8.1