- Posts: 27
- Thank you received: 1
5 emails after finishing order
11 years 10 months ago #181741
by sep2014
5 emails after finishing order was created by sep2014
-- url of the page with the problem -- :
www.africatogether.nl
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.34
-- Error-message(debug-mod must be tuned on) -- : No errot on the page
The customers recieve 5 emails after the order is finished. In the history of payment of IDEAL I can see there standing 5 messages. How can I change that to one message?
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.34
-- Error-message(debug-mod must be tuned on) -- : No errot on the page
The customers recieve 5 emails after the order is finished. In the history of payment of IDEAL I can see there standing 5 messages. How can I change that to one message?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 10 months ago #181811
by Mohamed Thelji
Replied by Mohamed Thelji on topic 5 emails after finishing order
Hello,
If you are sending 5 emails after the order is finished, the problem is coming from the IDeal plugin which is notifying 5 times your Hikashop server and then sending 5 times the email.
You'll have to set the "$history->notified" variable to 1 only one time.
If you are sending 5 emails after the order is finished, the problem is coming from the IDeal plugin which is notifying 5 times your Hikashop server and then sending 5 times the email.
You'll have to set the "$history->notified" variable to 1 only one time.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #181827
by sep2014
Replied by sep2014 on topic 5 emails after finishing order
tnks!
must I find this in the source code of hikashop? In de plugin is no variable to set
must I find this in the source code of hikashop? In de plugin is no variable to set
Please Log in or Create an account to join the conversation.
11 years 10 months ago #181837
by sep2014
Replied by sep2014 on topic 5 emails after finishing order
I have take a look in the source of another payment plugins. There is standing "$history->notified" But in sisow-ideal.php and sisow-ideal_configuration.php is not standing this source code.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #181844
by Xavier
Replied by Xavier on topic 5 emails after finishing order
Hi,
You have to add it manually in the function "onBeforeOrderCreate()" and after the code: $history = new stdClass();
You have to add it manually in the function "onBeforeOrderCreate()" and after the code: $history = new stdClass();
Please Log in or Create an account to join the conversation.
Time to create page: 0.271 seconds