Peruttu

Convert C# to php

I need this code converted to php

public string GetRequestChecksum(string secretKey, string merchantID, string transactionType, long amount, string currency, string merchantReference, string userID)

{

var checksumString = [url removed, login to view]("{0}|{1}|{2}|{3}|{4}|{5}", secretKey, merchantID, transactionType, amount, currency, merchantReference);

if (![url removed, login to view](userID)) checksumString += '|' + userID;

SHA256Managed sha = new SHA256Managed();

//[url removed, login to view] = [url removed, login to view]([url removed, login to view]([url removed, login to view](checksumString)).Select(h => [url removed, login to view]("X2")).Aggregate((i, j) => i + j), checksum, [url removed, login to view]).ToString();

return [url removed, login to view]([url removed, login to view](checksumString)).Select(h => [url removed, login to view]("X2")).Aggregate((i, j) => i + j);

}

Must produce same result as C# when running in my php plug-in.

Sample data for above values is here below:

SecretKey: DB3EEEFA-0324-4130-B259-7F43508FBB06

MerchantReference: ESC01UAT1512751543

MerchantID: E33F4561-23EA-431F-A0F6-DD0D62D06B90

TransactionType: Payment

Amount: 259900

Currency: ZAR

Checksum: BC031D95BF292C65F56B628CD2B7812A2C79A8F6448D2B7A78A3B90E6252F842

To verify that code has been generated correctly here is C#: [url removed, login to view] = [url removed, login to view]([url removed, login to view]([url removed, login to view](checksumString)).Select(h => [url removed, login to view]("X2")).Aggregate((i, j) => i + j), checksum, [url removed, login to view]).ToString();

Taidot: PHP, tietojärjestelmäarkkitehtuuri

Näytä lisää: I already have a running website in PHP. I want to convert it to latest wordpress platform. , I already have a running website in PHP. I want to convert it to latest wordpress platform. The interested person may contact m, http videostream dn ua videopage videopage php g dwjzyxrrjk2fyzmvmvycgdv&c tr&i ewi1anrhcmnoyq, convert .vb to .cs file, php to asp.net converter online, php to vb net code converter, convert php to asp.net mvc, c# to php migration, batch convert vb to c#, how to add c# code in php, vb to php converter online, i need php code for creating mobile tracker, i need a matlab and c++ code is to be written, i need a matlab and c code is to be written, convert c# to php or any linux runnable language, convert c to php or any linux runnable language, upload convert pdf php code, need freelancer convert jsp php coding, guide convert asp php code, video convert flv php code

Tietoa työnantajasta:
( 5 arvostelua ) London, United Kingdom

Projektin tunnus: #15829321

15 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

bestit4u

Hello sir. I 've read your post and so very interested in your job. I 'm working in part of coding and software developing for over 6 years. I have much experiences in developing software and programming. I major i Lisää

$155 USD 3 päivässä
(71 arvostelua)
6.6
Gates777

Hello? I am very interesting in your project. I checked your details carefully. i can do this in a short time with best quality I am expert in c#, php, javascript, jquery, etc I checked the code and it is possible Lisää

$200 USD 3 päivässä
(76 arvostelua)
6.5
brianconey

hi there I am a good at c# and php guy Relevant Skills and Experience good Proposed Milestones $155 USD - price cool

$155 USD 3 päivässä
(82 arvostelua)
6.2
$155 USD 3 päivässä
(27 arvostelua)
6.0
bhaskarmandal

I am C# and PHP expert Relevant Skills and Experience I can start your project now Proposed Milestones $100 USD - milestones

$100 USD 2 päivässä
(73 arvostelua)
6.0
$155 USD 3 päivässä
(49 arvostelua)
5.8
yichong0303

Dear sir. I checked your project and I’m sure I will complete your project. I can prove by 5+ years C++, PHP development experience and skill. After 100% completion, you can pay for me. Relevant Skills and Experience Lisää

$100 USD 2 päivässä
(24 arvostelua)
5.5
shingjin

Hello. I can help you do well with my skills. I want to discuss more detail thru the interview. Best regards. Stay tuned, I'm still working on this proposal.

$77 USD 3 päivässä
(25 arvostelua)
5.0
$155 USD 10 päivässä
(14 arvostelua)
4.3
bmalex88

Hi there. I am both an .NET and PHP developer. I took a look at your function and I can convert it to PHP Aptitudini și experiență relevante .net, c#, php Plăți intermediare propuse $55 USD - Convert C# to PHP

$55 USD 2 päivässä
(15 arvostelua)
3.8
$40 USD 2 päivässä
(7 arvostelua)
2.4
$100 USD 3 päivässä
(2 arvostelua)
2.0
SayanProgrammer

Hey ! I'm SAYAN PROGRAMMER I've reviewed your complete job description, and I fulfill all the qualifications required for this project. I have more than 15 years of experience in this field. I am sure if you will Lisää

$50 USD 3 päivässä
(0 arvostelua)
0.0
shafaqifatima

Hello Sir, I could easily convert this code to PHP. PM for further details. Thanks. Relevant Skills and Experience C programming PHP HTML Wordpress CSS Proposed Milestones $200 USD - Project Cost

$200 USD 3 päivässä
(0 arvostelua)
0.0
$111 USD 3 päivässä
(0 arvostelua)
0.0