integrate create billplz bill with create booking payment, and a new billplz callback url

This commit is contained in:
ahmedsophyudden
2021-10-04 15:09:36 +08:00
parent 376d2dd686
commit fb84e47d43
11 changed files with 262 additions and 6 deletions
@@ -0,0 +1,20 @@
<?php
namespace App\Http\Controllers\Billplzs;
use App\Classes\Modules\Billplzs\ControllersLogic\CallbackBillplzLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class CallbackBillplzController
{
/**
* @param Request $request
* @param BillplzBillLogic $logic
* @return JsonResponse
*/
public function callback(Request $request, CallbackBillplzLogic $logic): JsonResponse {
return $logic->execute($request);
}
}