#562084: Fixed bug which prevented cron.php from completing. Thanks lennart for the testing.
Fixed incorrect handling of return transaction ID.
Changed return URL handling to make the module work when Drupal is running in a vdir.
Fix reference ID to use object id instead of transaction id.