"canceled" mail automatically sent to the customer but it is not true! How to stop?

05.03.2022 16:19
#1
nordlander
Joomshopping forum user no avatar
Name: Kai
10.11.2019
Posts: 11
Quote
"canceled" mail automatically sent to the customer but it is not true! How to stop?

Sometimes a payment is automatically canceled by the shop, THOUGH the PayPal transaction went smoothly. Elsewhere on this forum I followed the PayPal settings (see my settings below) and tried different ones. But didn't work. It seems to me that if the PayPal response takes longer, the shop then sets the status to "canceled" and unfortunately also informs the customer of this. Unfortunately, this is very annoying, because I always have to reassure the customer that everything is fine.
To ask:
1. Can I set the PayPal timeout? If yes, where?
2. Can you turn off automatic canceling? If yes, where?

Example of the mail:
Hi Name,
the Status of your Order No. 00000000 has been changed New Status is: Cancelled Order details: https://"website"/component/jshopping/user/order.html?order_id=0000&Itemid=0

PayPal Config:
Order Status for failed transactions : "Abgebrochen" *
Verify data after RETURN : NO
Return method GET : YES
Overriding Addresses : YES
Notify url SEF : NO

*I have no problems to notify my customer by myself if a transaktion failed!
Please help!!


Joomla: 3.10.6
JoomShopping: 4.18.7
PHP: 7.4.28
MySQL: 5.5.60-0+deb7u1-log
Website Url: nordland-electronics.de
 
06.03.2022 10:46
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 23380
Quote
Aw: "canceled" mail automatically sent to the customer but it is not true! How to stop?

components\com_jshopping\log\paymentdata.log ?
components\com_jshopping\log\payment.log?

 
07.03.2022 16:18
#3
nordlander
Joomshopping forum user no avatar
Name: Kai
10.11.2019
Posts: 11
Quote
Aw: "canceled" mail automatically sent to the customer but it is not true! How to stop?

2022-03-04 23:59:27 url: /index.php?option=com_jshopping&controller=checkout&task=step7&act=notify&js_paymentclass=pm_paypal&no_lang=1
mc_gross=229.90
invoice=1402
protection_eligibility=Eligible
address_status=confirmed
payer_id=XXXXXXXXXXXXXXX
tax=0.00
address_street=x street
payment_date=14:59:20 Mar 04, 2022 PST
payment_status=Completed
charset=windows-1252
address_zip=12345
first_name=Name
mc_fee=9.50
address_country_code=US
address_name=Name
notify_version=3.9
custom=1402
payer_status=verified
business=mail@domain.de
address_country=United States
address_city=City
quantity=1
verify_sign=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
payer_email=name@mail.com
txn_id=XXXXXXXXXXXXXXXXXXXXXXX
payment_type=instant
last_name=Name
address_state=NY
receiver_email=mail@domain.de
payment_fee=
shipping_discount=0.00
insurance_amount=0.00
receiver_id=XXXXXXXXXXXXXXXXXX
txn_type=web_accept
item_name=Order number 0000xxxx
discount=0.00
mc_currency=EUR
item_number=
residence_country=US
shipping_method=Default
handling_amount=0.00
transaction_subject=
payment_gross=
ipn_track_id=f1111111111ee

2022-03-04 23:59:29 RES: VERIFIED
2022-03-05 00:02:10 url: /en/kasse/step7.html?act=cancel&js_paymentclass=pm_paypal

Last row: There is something missing after pm_paypal
Other logs e.g. have this:
2022-03-05 00:19:13 url: /en/kasse/step7.html?act=return&js_paymentclass=pm_paypal&PayerID=HEREISANIDNUMBER

Do you notice the skip of the date from 2022-03-04 to 2022-03-05
This could be the problem? What do you think?

In the payment.log is nothing special.
Just those lines: 2022-03-05 15:59:27 Status Refunded. Order ID 1234


Last change: 07.03.2022 16:19
 
07.03.2022 21:02
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 23380
Quote
Aw: "canceled" mail automatically sent to the customer but it is not true! How to stop?

/en/kasse/step7.html?act=cancel&js_paymentclass=pm_paypal
Paypal send user to cancel

 
08.03.2022 11:07
#5
nordlander
Joomshopping forum user no avatar
Name: Kai
10.11.2019
Posts: 11
Quote
Aw: "canceled" mail automatically sent to the customer but it is not true! How to stop?

Hm yes...
But the customer wanted the purchase and complained to me that he received the "Cancel" mail!
I have received the PayPal amount.
So a correct purchase with the wrong action: "Canceled"
I had those cases maybe ~10 times since I setup the shop ~2 years ago

How to stop to send these automatic mails?


Last change: 08.03.2022 11:10
 
08.03.2022 17:45
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 23380
Quote
Aw: "canceled" mail automatically sent to the customer but it is not true! How to stop?

1. bug in paypal logic (send cancel)
2. change code
components\com_jshopping\payments\pm_paypal\pm_paypal.php

$cancel_return = $liveurlhost.SEFLink("index.php?option=com_jshopping&controller=checkout&task=step7&act=cancel&js_paymentclass=".$pm_method->payment_class);

change to

$cancel_return = $liveurlhost.SEFLink("index.php?option=com_jshopping&controller=checkout");

 
08.03.2022 19:06
#7
nordlander
Joomshopping forum user no avatar
Name: Kai
10.11.2019
Posts: 11
Quote
Aw: "canceled" mail automatically sent to the customer but it is not true! How to stop?

Thank you!
I have changed it - I let you know if it happen again or not!

 
06.04.2022 08:21
#8
nordlander
Joomshopping forum user no avatar
Name: Kai
10.11.2019
Posts: 11
Quote
Aw: "canceled" mail automatically sent to the customer but it is not true! How to stop?

Update:
A month and many transactions later, the problem hasn't recurred!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.