Order confirmation emails resending every few hours - Paypal standard plugin

Started by DOITSolutions, July 26, 2018, 02:03:57 AM

Previous topic - Next topic

Studio 42


GJC Web Design

Just to add -- I use a 1 cent test products all the time on live sites / live paypal .. never a problem

but site offline surely will break the ipn...

I do all my finally paypal tests totally live with a real payment ( 1 cent) - imho the only true test before hand over
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

AH

As I said earlier

If the order status is set to confirmed and an IPN happens for the same status - a second email should not be triggered via VM

You should see only 2 statuses in the VM order - the payment display is not the same as the status change display!

Pending
Confirmed

If you then have changed to a "final status"

Pending
Confirmed
Shipped

A delayed IPN will set back to confirmed

Pending
Confirmed
Shipped
Confirmed


Setting a test with a site that is then switched to offline is not a good test.

Testing in sandbox should work if you know what you are doing with PayPal and sandbox - but there can be quirks
Testing a site with a .01 cent and "live paypal" test is best case.

The log is also showing a problem at some point you should see the status of the order being changed due to IPN message being received - this is not in your log e.g.:

DEBUG plgVmOnPaymentNotification: plgVmOnPaymentNotification order_number:53K203 new_status:C


Therefore I can only conclude that VM is not setting a status via VM's paypal plugin in response to PayPal's  IPN notifications
Regards
A

Joomla 3.10.11
php 8.0

DOITSolutions

Thanks. I figured that Joomla "Site Offline" mode wasn't really offline, just redirected users to a login and only let in registered super admins (Or regular users too as we have configured it in the settings).

But, it looks like that is the cause for us. Testing with live paypal in offline mode is how I have always done it in the past (although it has bee a few years / versions since I last did this).

Happy to test in live scenarios only from now to be safe. The Paypal IPN must be having a hard time with it.

Cheers, thanks for your time on this.
M.A.


GJC Web Design

QuoteJoomla "Site Offline" mode wasn't really offline, just redirected users to a login and only let in registered super admins

the IPN is sent to a normal view so this would treated the same as above
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

ocram44

Quote from: AH on July 30, 2018, 10:42:45 AM

The log is also showing a problem at some point you should see the status of the order being changed due to IPN message being received - this is not in your log e.g.:

DEBUG plgVmOnPaymentNotification: plgVmOnPaymentNotification order_number:53K203 new_status:C


Therefore I can only conclude that VM is not setting a status via VM's paypal plugin in response to PayPal's  IPN notifications

I encountered the same problem. Paypal is sending repeatedly IPN notifications. I set the status of the order manually to completed. But after a new PayPal IPN notification the status of the order is a again Confirmed. Did somebody find a solution with this issue in the meantime?

ssc3

Quote from: ocram44 on February 01, 2023, 10:49:50 AM
I encountered the same problem. Paypal is sending repeatedly IPN notifications. I set the status of the order manually to completed. But after a new PayPal IPN notification the status of the order is a again Confirmed. Did somebody find a solution with this issue in the meantime?

One solution is to try a new alternative PayPal Checkout plugin. It can process PayPal payments with out using IPN's. It is a more uptodate version of PayPal, which uses webhooks, which are PayPal's replacement for IPN's.

https://plugins.online-store.co.uk/virtuemart-paypal-checkout.html
Virtuemart Payment Plugins
https://plugins.online-store.co.uk

Darko F.

There in no problem if you fall. Problem is if you don't get up

dudley389

I am having this issue with VM 4 and Joomla 4.

Confirmed orders are sending invoice and vendor notifications over and over.

Is there any fix for this.?

thanks

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

cristina

I face the same problem since I update to J4 and VM4.
I never had the problem before.
I think it's a bug somewhere in the PayPal plugin, because today I received a notification from PayPal:
"check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
https://www.collectoravenue.it/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang="

It should be fixed asap
VM 4.0.22 10864 - Joomla! 4.3.2 - php 8.0.27

jenkinhill

PayPal have made changes which are causing errors for some users and are telling users in some countries to start using the Braintree payment processing platform - without explaining what or why. Paypal/Braintree info from PayPal is on https://developer.paypal.com/braintree/articles/get-started/overview

A completely new PP plugin will be released in due course, subject to development time. In the meantime, there are solutions in this thread.
A simple step is to turn off Check IPN provider IP in OP plugin configuration, or maybe use the alternative plugin from ssc3.

Problems with PayPal over the years caused me to switch all my clients over to use Stripe for card processing.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

T.A. Garrison, LLC

Jenkinhill - are you saying VM is "currently" working on updating / creating a "new" plugin?

I've been having this issues for months!

I'm using VM 4.0.12 in the site with the issue. I'm going to update to VM 4.0.16 which I just downloaded and see if that works.
T.A. Garrison, LLC
3150 Orleans St. # 28261
Bellingham, WA 98228

jenkinhill

Quote from: T.A. Garrison, LLC on May 02, 2023, 02:13:00 AM
Jenkinhill - are you saying VM is "currently" working on updating / creating a "new" plugin?

I believe so, but it won't be quick as PayPal is making more changes to their own system. I don't have any PayPal-using sites now, but never had issues with plugins from Online Store.  https://plugins.online-store.co.uk/virtuemart-paypal-checkout.html
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

T.A. Garrison, LLC

Thank you, Jenkinhill. I've downloaded and will give it a test.
T.A. Garrison, LLC
3150 Orleans St. # 28261
Bellingham, WA 98228