|
|
|
@ -28,8 +28,8 @@ class dalianpay{ |
|
|
|
// $reqsn = $_GET['reqsn']; |
|
|
|
// $trxamt = $_GET['trxamt']; |
|
|
|
|
|
|
|
// $openid = $this->decrypt($openid_crypt); |
|
|
|
$openid = $openid_crypt; |
|
|
|
$openid = $this->decrypt($openid_crypt); |
|
|
|
// $openid = $openid_crypt; |
|
|
|
$reqsn = $order_sn; |
|
|
|
$trxamt = $order_amount; |
|
|
|
|
|
|
|
@ -165,13 +165,13 @@ class dalianpay{ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
echo 'hi there.....\r\n'; |
|
|
|
$new_plugin = new dalianpay(); |
|
|
|
$openid_crypt = 'oCTanxBeiVFWIekJT_GiPZM2UiGY'; |
|
|
|
$order_sn = '2023080355427'; |
|
|
|
$order_amount = '600'; |
|
|
|
$response_data = $new_plugin->pay($openid_crypt,$order_sn,$order_amount); |
|
|
|
echo $response_data; |
|
|
|
// echo 'hi there.....\n\r'; |
|
|
|
// $new_plugin = new dalianpay(); |
|
|
|
// $openid_crypt = 'oCTanxBeiVFWIekJT_GiPZM2UiGY'; |
|
|
|
// $order_sn = '2023080355427'; |
|
|
|
// $order_amount = '600'; |
|
|
|
// $response_data = $new_plugin->pay($openid_crypt,$order_sn,$order_amount); |
|
|
|
// echo $response_data; |
|
|
|
|
|
|
|
|
|
|
|
?> |
|
|
|
|