Find Jobs
Hire Freelancers

Web development

$10-30 USD

Suljettu
Julkaistu noin 6 vuotta sitten

$10-30 USD

Maksettu toimituksen yhteydessä
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;}
Projektin tunnus (ID): 16621513

Tietoa projektista

6 ehdotukset
Etäprojekti
Aktiivinen 6 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
6 freelancerit tarjoavat keskimäärin $21 USD tätä projektia
Käyttäjän avatar
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 1 päivässä
4,7 (32 arvostelua)
5,0
5,0
Käyttäjän avatar
Hey! I have got experties in php. please consider have a good day . Thanks!
$15 USD 1 päivässä
4,9 (5 arvostelua)
3,3
3,3
Käyttäjän avatar
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 1 päivässä
5,0 (1 arvostelu)
1,1
1,1
Käyttäjän avatar
A proposal has not yet been provided
$20 USD 2 päivässä
0,0 (0 arvostelua)
0,0
0,0
Käyttäjän avatar
Success assured
$25 USD 1 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan KENYA lippu
Kenya
0,0
0
Liittynyt huhtik. 3, 2018

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.