mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 04:48:40 -05:00 
			
		
		
		
	Fixes for refund
This commit is contained in:
		
							parent
							
								
									e7a9576fd4
								
							
						
					
					
						commit
						36adf2925a
					
				@ -158,10 +158,10 @@ class BraintreePaymentDriver extends BaseDriver
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $data = [
 | 
					            $data = [
 | 
				
			||||||
                'transaction_reference' => $response->id,
 | 
					                'transaction_reference' => $payment->transaction_reference,
 | 
				
			||||||
                'transaction_response' => json_encode($response),
 | 
					                'transaction_response' => json_encode($response),
 | 
				
			||||||
                'success' => (bool)$response->success,
 | 
					                'success' => (bool) $response->success,
 | 
				
			||||||
                'description' => $response->status,
 | 
					                'description' => ctrans('texts.plan_refunded'),
 | 
				
			||||||
                'code' => 0,
 | 
					                'code' => 0,
 | 
				
			||||||
            ];
 | 
					            ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user