Quote:
Originally Posted by kambengkarbonat
I'm manage to call a callback method using this URL, <MYSITE>/callback.php
|
The way you do it looks a bit hacky. Why don't you add a custom controller class?
Quote:
Originally Posted by kambengkarbonat
I use this method
Code:
$this->transaction->setStatus($status);
, but seems it only works on non-callback.
|
What is $this->transaction? Where did this variable go from?
Quote:
Originally Posted by kambengkarbonat
How do i query the database and update the fields
|
X-Cart 5 uses Doctrine ORM 2 library to work with the database.
Did you check the documentation for developers? It has a number of tutorials and examples on working with database entities:
http://kb.x-cart.com/