Author Topic: VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed  (Read 357 times)

stawebnice

  • Jr. Member
  • **
  • Posts: 238
  • What does not kill you, makes you stronger...
    • StaWEBnice - www stránky, seo optimalizace a copywriting
  • Skype Name: peta_ze_sklepa
  • VirtueMart Version: 3.2.14
Hi,

I have created new order statuses for cases when people do not finish Paypal payment (e.g. close the Paypal login page, because they do not remember password) and assigned them to order statuses in Paypal payment plugin settings (https://www.screencast.com/t/Tli8LuglHugl)

Cancel transactions has status Transaction pending (my custom order status) assigned, others have Confirmed by shopper

nevertheless, everytime I make test order using Paypal and close the paypal login page, the  order gets to "Pending" status (default system) and no email is sent to administrator or customer

that leads to multiple orders by the same customer, because he does not get order confirmation email and keeps trying again and shopper does not know that he has a new order :(

This happens on all eshops, e.g. https://www.sebimoto.com, also https://www.sebimoto.co.uk

in order statuses list I see that the icons for mails are ok:
https://www.screencast.com/t/ToiLE0N4sxW6

Orders tab in configuration also OK:
https://www.screencast.com/t/UoJP9E0tR

list of orders:
https://www.screencast.com/t/E8YDEkKiH  - order is in pending status

So question is, why does paypal plugin switch to pending, when people close paypal page. it should do the cancel transaction operation...
this way there is no notification and I understand why pending has no email notification... /to prevent multiple emails during the order payment/


Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2316
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed
« Reply #1 on: August 20, 2019, 23:32:09 pm »
Order does not swotch to pending, it is pending right or does Your order history say otherwise ?

Closing PayPal browser page does not initiate any communication with the VM website and therefore order is still pending. The answer is that closing the browsers web page does not start anything on the Paypal site and VM doesn't get informed of this, no cancel operation.

Jörgen @ Kreativ Fotografi


Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

stawebnice

  • Jr. Member
  • **
  • Posts: 238
  • What does not kill you, makes you stronger...
    • StaWEBnice - www stránky, seo optimalizace a copywriting
  • Skype Name: peta_ze_sklepa
  • VirtueMart Version: 3.2.14
Re: VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed
« Reply #2 on: August 20, 2019, 23:35:48 pm »
it is in pending state: https://www.screencast.com/t/qvUBjGvl3

that is strange, maybe just paypal thing, but for example gopay payment gate notifies eshop about closed windows...


AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2943
  • VirtueMart Version: 3.6.0
Re: VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed
« Reply #3 on: August 21, 2019, 09:54:45 am »
Quote
"So question is, why does paypal plugin switch to pending"

This is base behaviour

When confirmed (before you get to the paypal stage) the order is saved in the database with a status of P - this has not been set by the payment plugin and therefore is not influenced by statuses you configured in the payment plugin

Quote
. it should do the cancel transaction operation

Only if the user hits the cancel and return link on paypal

Just closing the PayPal browser payment page means that PayPal does not communicate with the webshop - so the order stays in the pending state.


regards
A

Joomla 3.9.8
php 7.1

stawebnice

  • Jr. Member
  • **
  • Posts: 238
  • What does not kill you, makes you stronger...
    • StaWEBnice - www stránky, seo optimalizace a copywriting
  • Skype Name: peta_ze_sklepa
  • VirtueMart Version: 3.2.14
Re: VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed
« Reply #4 on: August 21, 2019, 10:05:15 am »
I understand that, but majority of these problems will be that people do not have paypal account or fail to enter the password :/ and there is no cancel button on login page to go back to eshop

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9037
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
GJC Web Design
VirtueMart and Joomla Developers - php developers http://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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

stawebnice

  • Jr. Member
  • **
  • Posts: 238
  • What does not kill you, makes you stronger...
    • StaWEBnice - www stránky, seo optimalizace a copywriting
  • Skype Name: peta_ze_sklepa
  • VirtueMart Version: 3.2.14
Re: VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed
« Reply #6 on: August 21, 2019, 19:55:53 pm »
you realize how funny small this link is, right? but  that is Paypal's issue, not ours

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9037
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed
« Reply #7 on: August 21, 2019, 20:07:06 pm »
Quote
but  that is Paypal's issue, not ours

exactly ... doubt they will be interested though
GJC Web Design
VirtueMart and Joomla Developers - php developers http://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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

pinochico

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 33
    • MiniJoomla
  • VirtueMart Version: 3
Re: VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed
« Reply #8 on: August 23, 2019, 05:07:58 am »
Quote
but for example gopay payment gate notifies eshop about closed windows...

No Petra,

Gopay send Cancel status after 1 hour on production page and this is special only from the Gopay API

Rudolf
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates