1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

fixes for paypal redirecting to stripe

This commit is contained in:
Benjamin Beganović 2020-12-30 12:02:04 +01:00
parent 0e57869a15
commit 8df80ddab0

View File

@ -231,7 +231,7 @@ class PaymentController extends Controller
public function response(PaymentResponseRequest $request)
{
$gateway = CompanyGateway::find($request->input('company_gateway_id'))->firstOrFail();
$gateway = CompanyGateway::findOrFail($request->input('company_gateway_id'));
$payment_hash = PaymentHash::whereRaw('BINARY `hash`= ?', [$request->payment_hash])->first();