Update and rename README.md to parfumu.test.ua.Whoer.net#10
Open
Saha966 wants to merge 1 commit intopayeer:masterfrom
Open
Update and rename README.md to parfumu.test.ua.Whoer.net#10Saha966 wants to merge 1 commit intopayeer:masterfrom
Saha966 wants to merge 1 commit intopayeer:masterfrom
Conversation
Saha966
commented
Sep 30, 2024
'http://parfumu.test.ua.Whoer.net/new_success_url',
//'fail_url' => 'http://parfumu.test.ua.Whoer.net/new_fail_url',
//'status_url' => 'http://parfumu.test.ua.Whoer.net/new_status_url',
'посилання' => масив(
'var1' => '1',
//'var2' => '2',
//'var3' => '3',
//'var4' => '4',
//'var5' => '5',
),
//'submerchant' => 'mail.com',
);
$key = md5('Ключ для додаткових параметрів шифрування'.$m_orderid);
$m_params = @urlencode(base64_encode(openssl_encrypt(json_encode($arParams), 'AES-256-CBC', $key, OPENSSL_RAW_DATA)));
$arHash[] = $m_params;
*/
$arHash[] = $m_key;
$sign = strtoupper(hash('sha256', implode(':', $arHash))); ?>
*/ ?>
">
<?php
$m_shop = '2136581190';
$m_orderid = '1';
$m_amount = number_format(100, 2, '.', '');
$m_curr = 'USD';
$m_desc = base64_encode('Тест');
$m_key = 'Ваш секретний ключ';
$arHash = масив(
$m_shop,
$m_orderid,
$m_сума,
$m_curr,
$m_desc
);
/*
$arParams = масив(
'success_url' => 'http://parfumu.test.ua.Whoer.net/new_success_url',
//'fail_url' => 'http://parfumu.test.ua.Whoer.net/new_fail_url',
//'status_url' => 'http://parfumu.test.ua.Whoer.net/new_status_url',
'посилання' => масив(
'var1' => '1',
//'var2' => '2',
//'var3' => '3',
//'var4' => '4',
//'var5' => '5',
),
//'submerchant' => 'mail.com',
);
$key = md5('Ключ для додаткових параметрів шифрування'.$m_orderid);
$m_params = @urlencode(base64_encode(openssl_encrypt(json_encode($arParams), 'AES-256-CBC', $key, OPENSSL_RAW_DATA)));
$arHash[] = $m_params;
*/
$arHash[] = $m_key;
$sign = strtoupper(hash('sha256', implode(':', $arHash)));
?>
<form method="post" action="https://payeer.com/merchant/">
<input type="hidden" name="m_shop" value="<?=$m_shop?>">
<input type="hidden" name="m_orderid" value="<?=$m_orderid?>">
<input type="hidden" name="m_amount" value="<?=$m_amount?>">
<input type="hidden" name="m_curr" value="<?=$m_curr?>">
<input type="hidden" name="m_desc" value="<?=$m_desc?>">
<input type="hidden" name="m_sign" value="<?=$sign?>">
<?php /*
<input type="hidden" name="form[ps]" value="2609">
<input type="hidden" name="form[curr[2609]]" value="USD">
*/ ?>
<?php /*
<input type="hidden" name="m_params" value="<?=$m_params?>">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.