- Posts: 30
- Thank you received: 0
Multiple emailconfirmations after payment
- hugojacobs
-
Topic Author
- Offline
Less
More
13 years 8 months ago #91815
by hugojacobs
Multiple emailconfirmations after payment was created by hugojacobs
Hello,
I am using Hikashop with payment extension Idealcheckout.
After the confirmation of the payment by the bank, many confirmation emails (>100) are sent to the customer and the administrator.
I have found a similar issue related to Paypal: www.hikashop.com/en/forum/4-how-to/22577...r-notifications.html
This thread did not provide a solution for me.
Can you tell me what the issue could be with the Idealcheckout plugin and how I could resolve this?
Thanks for your help
Hugo
I am using Hikashop with payment extension Idealcheckout.
After the confirmation of the payment by the bank, many confirmation emails (>100) are sent to the customer and the administrator.
I have found a similar issue related to Paypal: www.hikashop.com/en/forum/4-how-to/22577...r-notifications.html
This thread did not provide a solution for me.
Can you tell me what the issue could be with the Idealcheckout plugin and how I could resolve this?
Thanks for your help
Hugo
Please Log in or Create an account to join the conversation.
13 years 8 months ago #92053
by nicolas
Replied by nicolas on topic Multiple emailconfirmations after payment
Hi,
It's probably that the Ideal payment gateway sends many payment notifications instead of one.
And the idealcheckout plugin doesn't handle that properly.
You will have to add the line:
if($dbOrder->order_status == $order->order_status) return true;
in the onPaymentNotification function of your plugin.
Probably after that:
$order->order_status = $element->payment_params->verified_status;
However, I would recommend you to contact the developers of that plugin so that they can confirm the fix and potentially include it in their plugin as we are not the developers of that plugin.
It's probably that the Ideal payment gateway sends many payment notifications instead of one.
And the idealcheckout plugin doesn't handle that properly.
You will have to add the line:
if($dbOrder->order_status == $order->order_status) return true;
in the onPaymentNotification function of your plugin.
Probably after that:
$order->order_status = $element->payment_params->verified_status;
However, I would recommend you to contact the developers of that plugin so that they can confirm the fix and potentially include it in their plugin as we are not the developers of that plugin.
Please Log in or Create an account to join the conversation.
- hugojacobs
-
Topic Author
- Offline
Less
More
- Posts: 30
- Thank you received: 0
13 years 8 months ago #92673
by hugojacobs
Replied by hugojacobs on topic Multiple emailconfirmations after payment
Ha Nicolas,
I have contacted the supplier with your suggestion and am waiting for his feedback.
In the meantime I have implemented the code and it solved the problem.
Once again: thanks a lot for the great service!
Hugo
I have contacted the supplier with your suggestion and am waiting for his feedback.
In the meantime I have implemented the code and it solved the problem.
Once again: thanks a lot for the great service!
Hugo
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds