Author Topic: Order confirmation emails resending every few hours - Paypal standard plugin  (Read 9219 times)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4684
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
I can only say :
Bad test = unknow behavior

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10744
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3513
  • VirtueMart Version: 4.0.12.10777
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.:
Code: [Select]
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

  • Beginner
  • *
  • Posts: 8
  • A beginner
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10744
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Quote
Joomla "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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

  • Beginner
  • *
  • Posts: 7
  • A beginner

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.:
Code: [Select]
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

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 201
    • Online Store Plugins
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.

  • Jr. Member
  • **
  • Posts: 123
  • Skype Name: DarkoF
  • VirtueMart Version: VirtueMart 4.0.4 10688
There in no problem if you fall. Problem is if you don't get up

dudley389

  • Beginner
  • *
  • Posts: 3
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28541
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 4.0.14 10805  J 3.10.11 PHP 8.0.27