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:
parent
0e57869a15
commit
8df80ddab0
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user