이니시스 웹표준 결제모듈 적용
This commit is contained in:
1 parent
39dae2e214
commit
95b60db165
28 files changed
+4872
-3779
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
require_once('../libs/INIStdPayUtil.php');
|
||||
|
||||
$SignatureUtil = new INIStdPayUtil();
|
||||
|
||||
$input = "oid=" . $_REQUEST["oid"] . "&price=" . $_REQUEST["price"] . "×tamp=" . $_REQUEST["timestamp"];
|
||||
|
||||
$output['signature'] = array(
|
||||
///'signature' => $SignatureUtil->makeHash($input, "sha256")
|
||||
'signature' => hash("sha256", $input)
|
||||
);
|
||||
|
||||
echo json_encode($output);
|
||||
?>
|
||||
Reference in new issue
Block a user