CMS MADE SIMPLE FORGE

Orders

 

[#5024] Orders don't updates on incoming event

avatar
Created By: Jan Bakke (janb)
Date Submitted: Fri Jun 04 03:29:45 -0400 2010

Assigned To:
Version: 1.8.6
CMSMS Version: None
Severity: Major
Resolution: None
State: Open
Summary:
Orders don't updates on incoming event
Detailed Description:
When changing PayPal payment from pending to accepted and using IPN. Orders
don't update record.

event.CGPaymentGatewayBase.on_incoming_event.php look like this from line 53.

$res =
$this->ProcessGatewayResult('',$params['order_id'],$params['payment_status'],
                                      $params['transaction'],$message);

According to the the ProcessGatewayResult function it should be like this:

$res =
$this->ProcessGatewayResult('',$params['order_id'],'',$params['payment_status'],
$params['transaction'],$params['amount'],$params['gateway'],$message);

JanB


History