Web development $10-30 USD Publicado hace alrededor de 6 años
$10-30 USD Pagado a la entrega
Hi there I want any one to convert php codes into C#.
It is only one simple functionpublic function Process(){ $amount = 1; $phone = '0720068822'; $account='123';$phone2= '254'.substr($phone, 1);$url = '[login to view URL]';$curl = curl_init();curl_setopt($curl, CURLOPT_URL, $url);$app_consumer_key = 'T3PUFNac2pCObhtQgIStX485Depa4bqR';$app_consumer_secret = 'rr3DqquSy3frc3GD';$token='d2GrLikTPafLwVAGt0miKbgDCIZs';curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type:application/json','Authorization:Bearer '.$token)); //setting custom header$timestamp =date('YmdHis');// dd($timestamp);$passkey = "bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919";$short_code = "174379";$password = base64_encode($short_code . $passkey . $timestamp);$callback_url="enter your callback url here"';$curl_post_data = array(//Fill in the request parameters with valid values"BusinessShortCode" => $short_code,"Password" => $password,"Timestamp" => $timestamp,"TransactionType" => "CustomerPayBillOnline","Amount" => $amount,"PartyA" => $phone2,"PartyB" => $short_code,"PhoneNumber" => $phone2,"CallBackURL" => $callback_url,"AccountReference" => $account,"TransactionDesc" => "Paybill Online");$data_string = json_encode($curl_post_data);curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);curl_setopt($curl, CURLOPT_POST, true);curl_setopt($curl, CURLOPT_POSTFIELDS, $data_string);$curl_response = curl_exec($curl);$merchant_info=json_decode($curl_response);$merchant_id=$merchant_info->MerchantRequestID;return $merchant_id;}
ID del proyecto: 16621513
Información sobre el proyecto 6 propuestas
Proyecto remoto
Activo hace 6 años
¿Buscas ganar dinero? Dirección de email Postular a trabajos similares Beneficios de presentar ofertas en Freelancer Fija tu plazo y presupuesto
Es gratis registrarse y presentar ofertas en los trabajos
6 freelancers están ofertando un promedio de $21 USD por este trabajo
Greetings
I am here to convert the code into C++
I have read your description and ready to work accordingly. We Work on client demand. We focus to work on client demand because we believe that you better know the worth of your work so kindly share your budget and deadline.
IHave a strong portfolio to show you. Come on Chat so that we may satisfy you once you satisfy then you are welcome to award us a project.
thanks
Chainz
$25 USD en 1 día
4,7 (32 comentarios) Hey! I have got experties in php. please consider have a good day . Thanks!
$15 USD en 1 día
4,9 (5 comentarios) Hi!
Let me help you with this...
I love both PHP and C#, and I’d be honoured to be the person assisting you on this!
Kindest regards,
Thomas
$14 USD en 1 día
5,0 (1 comentario) A proposal has not yet been provided
$20 USD en 2 días
0,0 (0 comentarios) $25 USD en 1 día
0,0 (0 comentarios)