Multiple emailconfirmations after payment

  • Posts: 30
  • Thank you received: 0
11 years 8 months ago #91815

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

Please Log in or Create an account to join the conversation.

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 8 months ago #92053

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.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 0
11 years 8 months ago #92673

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum