Hi gays,
After cancelation the payment... Really it's too annoying and irritating me because my Opencart send email to me and to my customers and they don't know why email sent to them even they cancel their Order in Payment section and this problem occurring in all payment gateways. So please guys if anybody has solution to solve this problem.
Guys i google it to find this but i never reach on exact solution so please if anybody face the same problem.
So you want to disable the product order notification?Muhammad Mamoon Khan wrote: ↑Fri Jul 31, 2020 12:11 pmHi gays,
After cancelation the payment... Really it's too annoying and irritating me because my Opencart send email to me and to my customers and they don't know why email sent to them even they cancel their Order in Payment section and this problem occurring in all payment gateways. So please guys if anybody has solution to solve this problem.
Guys i google it to find this but i never reach on exact solution so please if anybody face the same problem.
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo
It's probably your payment module adding to the order history unnecessarily.
See viewtopic.php?f=202&t=220274#p801072 for some suggestions.
See viewtopic.php?f=202&t=220274#p801072 for some suggestions.
is that helpful for same error? please see link below..... still my problem is not solved... my customer also confuse when they get order after payment cancellation...
https://isenselabs.com/posts/how-to-fix ... -2200-3020
i am mentioning the video link below so you can see problem. how I can resolve this problem...https://youtu.be/dogPTGb4pL0 .....also the account logout after sending email and whenever not send email the account not logout. so this the problem.... how can i fix
please must see the video where clear error shows
https://isenselabs.com/posts/how-to-fix ... -2200-3020
i am mentioning the video link below so you can see problem. how I can resolve this problem...https://youtu.be/dogPTGb4pL0 .....also the account logout after sending email and whenever not send email the account not logout. so this the problem.... how can i fix
please must see the video where clear error shows
It's probably as @ADD Creative mentioned.
addOrderHistory being called before the payment is confirmed and the order status id is greater than zero.
Does the order show up in the admin panel and if so what's the status?
What payment gateway?
The logout issue could be due to samesite cookies.
https://github.com/opencart/opencart/issues/7946
addOrderHistory being called before the payment is confirmed and the order status id is greater than zero.
Does the order show up in the admin panel and if so what's the status?
What payment gateway?
The logout issue could be due to samesite cookies.
https://github.com/opencart/opencart/issues/7946
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
how to do that i try it a lot.... would you please explain me little bit,,, because all post recommendations i did but i can not stop the sending email on payment cancellationsw!tch wrote: ↑Tue Nov 03, 2020 11:55 amIt's probably as @ADD Creative mentioned.
addOrderHistory being called before the payment is confirmed and the order status id is greater than zero.
Does the order show up in the admin panel and if so what's the status?
What payment gateway?
The logout issue could be due to samesite cookies.
https://github.com/opencart/opencart/issues/7946
Have you looked at your payment module (or asked the developer) to see where it calls addOrderHistory?
Or have you modified the add function in catalog/controller/mail/order.php to only send or be called for the order statuses you want?
Or have you modified the add function in catalog/controller/mail/order.php to only send or be called for the order statuses you want?
I have solved this problem. (payment method is www.flow.cl)
How i solved ?
let me explain:
go to module file. path is: /public_html/catalog/controller/extension/payment/flow_webpay.php
edti this above file and find this below code:
private function isPendingInFlow($status){
return $status == 1;
Than change it's status code to:
private function isPendingInFlow($status){
return $status == 0;
now the payment module not sending email and pending order after cancelation of payment method.
How i solved ?
let me explain:
go to module file. path is: /public_html/catalog/controller/extension/payment/flow_webpay.php
edti this above file and find this below code:
private function isPendingInFlow($status){
return $status == 1;
Than change it's status code to:
private function isPendingInFlow($status){
return $status == 0;
now the payment module not sending email and pending order after cancelation of payment method.
Who is online
Users browsing this forum: No registered users and 392 guests