This commit is contained in:
Tokumeikoi 2020-03-07 11:37:39 +08:00
parent 4f709bf1f6
commit f5132abad1
4 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ class OrderController extends Controller
{
public function alipayNotify(Request $request)
{
Log::info('alipayNotifyData: ' . json_encode($_POST));
// Log::info('alipayNotifyData: ' . json_encode($_POST));
$gateway = Omnipay::create('Alipay_AopF2F');
$gateway->setSignType('RSA2'); //RSA/RSA2
$gateway->setAppId(config('v2board.alipay_appid'));
@ -52,7 +52,7 @@ class OrderController extends Controller
public function stripeNotify(Request $request)
{
Log::info('stripeNotifyData: ' . json_encode($request->input()));
// Log::info('stripeNotifyData: ' . json_encode($request->input()));
\Stripe\Stripe::setApiKey(config('v2board.stripe_sk_live'));
try {
@ -93,7 +93,7 @@ class OrderController extends Controller
public function bitpayXNotify(Request $request)
{
$inputString = file_get_contents('php://input', 'r');
Log::info('bitpayXNotifyData: ' . $inputString);
// Log::info('bitpayXNotifyData: ' . $inputString);
$inputStripped = str_replace(array("\r", "\n", "\t", "\v"), '', $inputString);
$inputJSON = json_decode($inputStripped, true); //convert JSON into array
@ -125,7 +125,7 @@ class OrderController extends Controller
public function payTaroNotify(Request $request)
{
Log::info('payTaroNotify: ' . json_encode($request->input()));
// Log::info('payTaroNotify: ' . json_encode($request->input()));
$payTaro = new PayTaro(config('v2board.paytaro_app_id'), config('v2board.paytaro_app_secret'));
if (!$payTaro->verify($request->input())) {

View File

@ -59,7 +59,7 @@ class DeepbworkController extends Controller
// 后端提交数据
public function submit(Request $request)
{
Log::info('serverSubmitData:' . $request->input('node_id') . ':' . file_get_contents('php://input'));
// Log::info('serverSubmitData:' . $request->input('node_id') . ':' . file_get_contents('php://input'));
$server = Server::find($request->input('node_id'));
if (!$server) {
return response([

View File

@ -51,7 +51,7 @@ class PoseidonController extends Controller
{
if ($r = $this->verifyToken($request)) { return $r; }
Log::info('serverSubmitData:' . $request->input('node_id') . ':' . file_get_contents('php://input'));
// Log::info('serverSubmitData:' . $request->input('node_id') . ':' . file_get_contents('php://input'));
$server = Server::find($request->input('node_id'));
if (!$server) {
return $this->error("server could not be found", 404);

View File

@ -482,7 +482,7 @@ class OrderController extends Controller
$strToSign = $bitpayX->prepareSignId($params['merchant_order_id']);
$params['token'] = $bitpayX->sign($strToSign);
$result = $bitpayX->mprequest($params);
Log::info('bitpayXSubmit: ' . json_encode($result));
// Log::info('bitpayXSubmit: ' . json_encode($result));
return isset($result['payment_url']) ? $result['payment_url'] : false;
}