mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:17:32 -05:00 
			
		
		
		
	Minor fixes for braintree
This commit is contained in:
		
							parent
							
								
									1c3867dad8
								
							
						
					
					
						commit
						02303ef05e
					
				@ -54,4 +54,4 @@ PHANTOMJS_SECRET=secret
 | 
			
		||||
UPDATE_SECRET=secret
 | 
			
		||||
 | 
			
		||||
COMPOSER_AUTH='{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
 | 
			
		||||
SENTRY_LARAVEL_DSN=https://cc7e8e2c678041689e53e409b7dba236@sentry.invoicing.co/5
 | 
			
		||||
SENTRY_LARAVEL_DSN=https://32f01ea994744fa08a0f688769cef78a@sentry.invoicing.co/9
 | 
			
		||||
@ -153,7 +153,7 @@ class CreditCard
 | 
			
		||||
 | 
			
		||||
        if ($this->braintree->company_gateway->getConfigField('merchantAccountId')) {
 | 
			
		||||
            /** https://developer.paypal.com/braintree/docs/reference/request/transaction/sale/php#full-example */
 | 
			
		||||
            $data['merchantAccountId'] = $this->braintree->company_gateway->getConfigField('merchantAccountId');
 | 
			
		||||
            $data['verificationMerchantAccountId'] = $this->braintree->company_gateway->getConfigField('merchantAccountId');
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        $response = $this->braintree->gateway->paymentMethod()->create($data);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user