paypal express checkout notification

  • Posts: 397
  • Thank you received: 0
  • Hikashop Business
7 months 1 week ago #301272

-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.7
-- PHP version -- : 5.6
-- Error-message(debug-mod must be tuned on) -- : none

hi

how do i disable paypal express notification that is triggered every time the order is cancelled?

please note for cancelled orders only

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

  • Posts: 66305
  • Thank you received: 9729
  • MODERATOR
7 months 1 week ago #301275

Hi,

In the file plugins/hikashoppayment/paypalexpress/paypalexpress.php, you'll find several times the line:

$this->modifyOrder($orderid, $this->plugin_params->invalid_status, true, true);
that you want to change to:
$this->modifyOrder($orderid, $this->plugin_params->invalid_status, false, false);
That will remove the emails for cancelled orders.

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

Time to create page: 0.049 seconds
Powered by Kunena Forum