mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 02:37:34 -05:00 
			
		
		
		
	Add new webhhoks for BACS
This commit is contained in:
		
							parent
							
								
									331d4f7173
								
							
						
					
					
						commit
						d67fc2d493
					
				@ -49,6 +49,9 @@ class StripeWebhook implements ShouldQueue
 | 
				
			|||||||
        'charge.failed',
 | 
					        'charge.failed',
 | 
				
			||||||
        'payment_intent.succeeded',
 | 
					        'payment_intent.succeeded',
 | 
				
			||||||
        'payment_intent.payment_failed',
 | 
					        'payment_intent.payment_failed',
 | 
				
			||||||
 | 
					        'mandate.updated',
 | 
				
			||||||
 | 
					        'checkout.session.completed',
 | 
				
			||||||
 | 
					        'payment_method.automatically_updated'
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public function __construct(string $company_key, int $company_gateway_id)
 | 
					    public function __construct(string $company_key, int $company_gateway_id)
 | 
				
			||||||
 | 
				
			|||||||
@ -714,6 +714,13 @@ class StripePaymentDriver extends BaseDriver
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					        } elseif ($request->type === "payment_method.automatically_updated"){
 | 
				
			||||||
 | 
					            return response()->json([], 200);
 | 
				
			||||||
 | 
					        } elseif ($request->type === "checkout.session.completed"){
 | 
				
			||||||
 | 
					            return response()->json([], 200);
 | 
				
			||||||
 | 
					        } elseif ($request->type === "mandate.updated"){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            return response()->json([], 200);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return response()->json([], 200);
 | 
					        return response()->json([], 200);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user