Handle btcpay "paid" invoice status for sponsorship donations
This commit is contained in:
		
							parent
							
								
									7ee04ff011
								
							
						
					
					
						commit
						b247864e2e
					
				@ -50,7 +50,7 @@ class Donations {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const response = await this.getStatus(data.id);
 | 
			
		||||
    if (response.status !== 'complete' && response.status !== 'confirmed') {
 | 
			
		||||
    if (response.status !== 'complete' && response.status !== 'confirmed' && response.status !== 'paid') {
 | 
			
		||||
      return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user