mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 01:17:30 -05:00 
			
		
		
		
	minor fixes for refunding via square
This commit is contained in:
		
							parent
							
								
									2492a87cb7
								
							
						
					
					
						commit
						ff9539a1b8
					
				@ -99,7 +99,7 @@ class SquarePaymentDriver extends BaseDriver
 | 
			
		||||
 | 
			
		||||
        $amount_money = new \Square\Models\Money();
 | 
			
		||||
        $amount_money->setAmount($this->convertAmount($amount));
 | 
			
		||||
        $amount_money->setCurrency($this->square_driver->client->currency()->code);
 | 
			
		||||
        $amount_money->setCurrency($this->client->currency()->code);
 | 
			
		||||
 | 
			
		||||
        $body = new \Square\Models\RefundPaymentRequest(\Illuminate\Support\Str::random(32), $amount_money, $payment->transaction_reference);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user