i got around my errors by changing the following line:
$this->transaction_id = $_REQUEST['txn_id'];
to this:
$transaction_id = $_REQUEST['txn_id'];
and now it works as expected
2 questions come up tho. 1, Why is $this used at all and 2, the variable transaction_id isnt used in the script at all. it seems that $transid = $_REQUEST["custom"]; is where the transaction ID is getting pulled from
either way its working, but these look like issues that could be cleaned up in the code unless i am missing something
|