Best Answer Cheren-dow , 19 April 2016 - 23:01
Вдруг у кого то будет похожая проблема,
Попробуйте заменить полностью метод isValid на этот код:
/**
* Checks validation
* @param array $params
* @return bool|null|void
*/
public function isValid($params = array())
{
$order = $this->getOrder();
$orderAmount = $this->_order->val($this->app->jbrequest->get('amount'), $order->getCurrency());
if ($this->app->jbrequest->get('amount') == $orderAmount->val() &&
$this->app->jbrequest->get('status') == 'paid' &&
$this->app->jbrequest->get('error') == 0 &&
$this->app->jbrequest->get('bill_id') == $this->getOrderId()
) {
return true;
}
return false;
}
Go to the full post


This topic is locked








