VM 3.4.2+3.5.0: no emails sent when Paypal payment is not completed

Started by stawebnice, August 20, 2019, 20:30:41 PM

Previous topic - Next topic

stawebnice

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

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.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

stawebnice

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

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 4.4.5
php 8.1

stawebnice

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

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

stawebnice

you realize how funny small this link is, right? but  that is Paypal's issue, not ours

GJC Web Design

Quotebut  that is Paypal's issue, not ours

exactly ... doubt they will be interested though
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

pinochico

Quotebut 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 for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products