Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sStatusURL = $arPayParams["PAYMENT_WAY"]."/rest/getOrderStatus.do?".
- "userName=".urlencode($arQueryParams["userName"])."&".
- "password=".urlencode($arQueryParams["password"])."&".
- "orderId=".urlencode($arQueryParams["orderId"]);
- // send query
- $rCURL = curl_init();
- curl_setopt($rCURL, CURLOPT_URL, $sStatusURL);
- curl_setopt($rCURL, CURLOPT_RETURNTRANSFER, 1);
- $r = curl_exec($rCURL);
- curl_close($rCURL);
- $arAnswer = json_decode($r, true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement