mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-30 22:27:32 -04:00 
			
		
		
		
	Minor fixes for Stripe Payment Intent query
This commit is contained in:
		
							parent
							
								
									0815a0ff69
								
							
						
					
					
						commit
						ca75d0078b
					
				| @ -66,11 +66,9 @@ class PaymentIntentWebhook implements ShouldQueue | ||||
|                 { | ||||
|                     $payment = Payment::query() | ||||
|                         ->where('company_id', $company->id) | ||||
|                         ->where(function ($query) use ($transaction) { | ||||
|                             $query->where('transaction_reference', $transaction['payment_intent']) | ||||
|                                   ->orWhere('transaction_reference', $transaction['id']); | ||||
|                                 }) | ||||
|                         ->where('transaction_reference', $transaction['payment_intent']) | ||||
|                         ->first(); | ||||
|                          | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user