resend relay response or stop email notification

  • Posts: 1
  • Thank you received: 0
8 years 10 months ago #226239

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.28

Strange error here, HikaShop and FirstData Payeezy must have had a slight miscommunication, (during one transaction only- other work fine, this appears to be a random error) and FirstData did not receive the relay response from Hikashop. BUT we accidentally left Firstdata payment page set to retry failed relay every 15 MINUTES for 28 DAYS until it receives a successful repsonse! (Oh NO ! ) I spoke to Firstdata they cannot manually access and cancel that response so it will keep relaying 96 times a day for a month :(. . Firstdata has not yet received answer from Hikashop or it would stop sending relay- but it keeps sending. I reset order status to see if that would affect it and re-send reply to Firstdata. Did not work.

"Hello,
A Authorize.net notification was received with the status Accepted. The order is now confirmed."


So my question is, how to re-send the response firstdata is looking for to stop this OR just how to stop the confirmation emails on this one particular order to this customer.

I don't see how to turn off email notifications just for one particular customer. We are getting 96 emails each, per day. My customer is upset and i want to make it stop at least to him first. Fast replies would be greatly appreciated.

Last edit: 8 years 10 months ago by afalco@radata.com. Reason: typo

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

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
8 years 10 months ago #226317

Hi,

Add the code:
if($dbOrder->order_status == $order_status)
return true;
before the code:
if($config->get('order_confirmed_status','confirmed') == $order_status){
in the file plugins/hikashoppayment/authorize/authorize.php
That will skip the payment notification processing if the order is already confirmed.

The following user(s) said Thank You: afalco@radata.com

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

  • Posts: 64
  • Thank you received: 0
8 years 10 months ago #226360

This is what I did, just wanted to confirm to what you said.

$config =& hikashop_config();
if($dbOrder->order_status == $order_status)
return true;
if($config->get('order_confirmed_status','confirmed') == $order_status){
error_log("onPaymentNotification here 11\n");
$history->notified=1;
}

nicolas wrote: Hi,

Add the code:
if($dbOrder->order_status == $order_status)
return true;
before the code:
if($config->get('order_confirmed_status','confirmed') == $order_status){
in the file plugins/hikashoppayment/authorize/authorize.php
That will skip the payment notification processing if the order is already confirmed.

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

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
8 years 10 months ago #226375

Yes. That's great.

The following user(s) said Thank You: Scott2451

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

Time to create page: 0.068 seconds
Powered by Kunena Forum