Dear OSclass admin/team,
first of all, I want to thank you for your continuous efforts developing os-class - it's really a great piece of software.
I was especially delighted when the latest Update of the Payment Plugin was released on October 30th.
It removed a lot of problems I had with this plugin.
Yet, the following problem is still showing up EVERY time:
(tested on 2 different servers, both virgin installs (osclass 3.2.2 with Bender Theme) and modified versions)
"We are processing your payment, if we did not finish in a few seconds, please contact us"
(and nothing is written in the database at all)
So I started by looking into the RETURN.PHP FILE:
isset($payment['pk_i_id'] --> false //when false, then the error msg flashes up
$payment = ModelPayment::newInstance()->getPayment($tx); //so $payment['pk_i_id'] is apparently defined by the function getPayment($tx)
So next, I checked MODELPAYMENT.PHP, where get payment is defined:
public function getPayment($paymentId) {
$this->dao->select('*') ;
$this->dao->from($this->getTable_log());
$this->dao->where('pk_i_id', $paymentId);
$this->dao->where('pk_i_id', $paymentId);
---> I do not understand how $tx could ever be identical with the primary key "pk_i_id" in oc_t_payments_log?
Maybe you can help me get to the core of the problem.
Thank you!