mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-02 22:57:33 -05:00 
			
		
		
		
	More fixes
This commit is contained in:
		
							parent
							
								
									2d14c0c894
								
							
						
					
					
						commit
						315f4e1095
					
				@ -125,9 +125,10 @@ class BACS
 | 
				
			|||||||
            'amount' => $this->stripe->convertFromStripeAmount($payment_id->amount, $this->stripe->client->currency()->precision, $this->stripe->client->currency()),
 | 
					            'amount' => $this->stripe->convertFromStripeAmount($payment_id->amount, $this->stripe->client->currency()->precision, $this->stripe->client->currency()),
 | 
				
			||||||
            'transaction_reference' => $payment_id['id'],
 | 
					            'transaction_reference' => $payment_id['id'],
 | 
				
			||||||
            'gateway_type_id' => GatewayType::BACS,
 | 
					            'gateway_type_id' => GatewayType::BACS,
 | 
				
			||||||
 | 
					            'invoices' => collect($this->stripe->payment_hash->invoices()),
 | 
				
			||||||
        ];
 | 
					        ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $this->stripe->payment_hash->data = array_merge((array) $payment_id, ['amount' => $data['amount'], 'invoices' => collect($this->stripe->payment_hash->invoices())]);
 | 
					        $this->stripe->payment_hash->data = array_merge((array) $payment_id, $data);
 | 
				
			||||||
        $this->stripe->payment_hash->save();
 | 
					        $this->stripe->payment_hash->save();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $payment = $this->stripe->createPayment($data, Payment::STATUS_PENDING);
 | 
					        $payment = $this->stripe->createPayment($data, Payment::STATUS_PENDING);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user