To keep our APIs in different programming languages similar, we have decided to add an "ocr" variable in the activate_reservation call for PHP API. The updated function will look like this:
function activate_reservation($rno, $pno, $ocr, $goodslist, $reference, $referece_code, $orderid1, $orderid2, $lev_addr, $f_addr, $shipmenttype, $email, $phone, $cell, $client_ip, $flags, $currency, $country, $language, $eid, $secret, $pno_encoding, $pclass, $ysalary, &$result) {
You will still be able to use the old function without the ocr variable by making the call activate_reservation_old.
Download the new API here


Subscribe to our RSS feed for technical updates