mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 20:18:33 -05:00 
			
		
		
		
	Merge pull request #4597 from beganovich/v5-paypal-fixes
(v5) Fixes for PayPal
This commit is contained in:
		
						commit
						67e7df1c25
					
				@ -231,7 +231,7 @@ class PaymentController extends Controller
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    public function response(PaymentResponseRequest $request)
 | 
					    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();
 | 
					        $payment_hash = PaymentHash::whereRaw('BINARY `hash`= ?', [$request->payment_hash])->first();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user