Zhen-Xlogic Posted January 25, 2018 Share Posted January 25, 2018 Hello to Community of PS. I create a new e-shop based on PrestaShop 1.6.1.17 and i want your help. Yesterday i installed the Module Alphapay payment system from marketplace, this module creates 3 new status to put order: When payment is cancelled by user sets the order status to PS_OS_CANCELED. When payment fail to verified the card information sets the order status to PS_OS_ALPHAPAY_REFUSE. When payment fails (system general error) sets the order status to PS_OS_ALPHAPAY_ERROR. When payment its ok sets the order status to PS_OS_ALPHAPAY. The major issue that i have is when the order status seted by the module into the follow status PS_OS_ALPHAPAY_REFUSE | PS_OS_ALPHAPAY_ERROR is sends email to customer that the order with order num XXX was received, its sending the default email template: order_conf.html. In the BO i have disable the email for this 3 status (Red Color): How can we cut or disabled the email order_conf.html for this 3 specific status ? Thanks in advance, Zhen-Xlogic. Link to comment Share on other sites More sharing options...
digeek Posted January 26, 2018 Share Posted January 26, 2018 Hello same problem here with 2 websites : First is 1.6.1.11 ,second is 1.7.x Link to comment Share on other sites More sharing options...
airjohn Posted December 28, 2022 Share Posted December 28, 2022 Hi Same problem here. Can we disable the order_conf email once the order is not complete because of any error? Link to comment Share on other sites More sharing options...
knacky Posted December 29, 2022 Share Posted December 29, 2022 Hi. What version of Prestashop do you need it for please? There is quite a big difference between Prestashop 1.6 and 1.7. 1 Link to comment Share on other sites More sharing options...
airjohn Posted December 29, 2022 Share Posted December 29, 2022 Hi It's the 1.7.6.4 Thanks! 1 Link to comment Share on other sites More sharing options...
knacky Posted December 29, 2022 Share Posted December 29, 2022 Thank you. I will write to a friend if he would like to put a module in the forum. I know it also has it for Prestashop 1.6.1 to 1.7.8 1 Link to comment Share on other sites More sharing options...
ps8modules Posted December 29, 2022 Share Posted December 29, 2022 Hi, I uploaded the module to the free modules section. A thank you won't hurt 😄 1 Link to comment Share on other sites More sharing options...
airjohn Posted December 30, 2022 Share Posted December 30, 2022 Hi, Thanks for your reply and the module! It's really nice to have it. The problem here is not that we want to entirely disable order_conf.html for a payment method. As Zhen-Xlogic describes at the beginning of the topic, order_conf.html shouldn't be sent for specific order statuses. Or, if an order is not considered completed due to an error during checkout. Is there anything we can do at this part of classes/PaymentModules.php? if (Validate::isEmail($this->context->customer->email)) Mail::Send( (int)$order->id_lang, 'order_conf', Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now