Skip to content

Commit

Permalink
Update pay.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Snickser authored May 10, 2024
1 parent 9c1bbfe commit 32de537
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
$receipt = json_encode($items);

// Build CRC value.
$crc = strtoupper(md5("$mrhlogin:$outsumm:$invid" . $currencyarg . ":$USER->lastip:$receipt:$mrhpass1"));
$crc = strtoupper(md5("$mrhlogin:$outsumm:$invid" . $currencyarg . ":$receipt:$mrhpass1"));

// Params.
$request = "MerchantLogin=$mrhlogin" .
Expand All @@ -204,7 +204,6 @@
"&Culture=" . current_language() .
"&Email=" . urlencode($USER->email) .
"&IsTest=" . $config->istestmode .
"&UserIp=" . $USER->lastip .
"&Receipt=" . urlencode($receipt);

// Make payment.
Expand Down

0 comments on commit 32de537

Please sign in to comment.