wip
This commit is contained in:
@@ -17,7 +17,7 @@ class HalkbankOnlinePaymentController extends Controller
|
||||
'orderId' => ['required', 'string', 'max:50', 'exists:online_payments,orderId'],
|
||||
]);
|
||||
|
||||
$onlinePaymentRepository = OnlinePaymentRepository::make(CardOrder::class)
|
||||
$onlinePaymentRepository = OnlinePaymentRepository::make()
|
||||
->paymentProvider(new HalkbankOnlinePaymentRepository);
|
||||
|
||||
$paymentStatus = $onlinePaymentRepository->checkPayment($request->string('orderId'));
|
||||
|
||||
Reference in New Issue
Block a user