/
proc
/
self
/
root
/
home
/
old_henza
/
server
/
app
/
Http
/
Controllers
/
Customer
/
File Upload :
llllll
Current File: //proc/self/root/home/old_henza/server/app/Http/Controllers/Customer/TransactionController.php
<?php namespace App\Http\Controllers\Customer; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\Http; class TransactionController extends Controller { public function gateway(Request $request){ $data = $request->all(); $http = Http::post('https://api.payping.ir/v1/pay', [ 'clientRefId'=>$data['customer_id'],//کد ارسالی توسط کاربر // 'payerIdentity'=>$data['transaction_id'],//شماره موبایل یا ایمیل پرداخت کننده 'amount'=>$data['amount'], 'description'=>null, 'returnUrl'=>'https://henzagold.com/oapi/site/transaction/verify', ])->withHeaders([ 'accept'=>'application/json', ]) ->body(); //e6b7ae24fa3206e5126e568f749dc98d3c8d6c7412e0dd50684ccd7223e27ac0 // $http = json_decode($http,true); return response()->json($http); } }
Copyright ©2k19 -
Hexid
|
Tex7ure