mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 07:57:33 -05:00 
			
		
		
		
	Fixes for paytrace:
This commit is contained in:
		
							parent
							
								
									9eb9f8b00d
								
							
						
					
					
						commit
						b35cb2be35
					
				@ -156,6 +156,7 @@ class CreditCard
 | 
				
			|||||||
            'zip' => $this->paytrace->client->postal_code,
 | 
					            'zip' => $this->paytrace->client->postal_code,
 | 
				
			||||||
        ];
 | 
					        ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return $data;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public function paymentView($data)
 | 
					    public function paymentView($data)
 | 
				
			||||||
@ -192,6 +193,8 @@ class CreditCard
 | 
				
			|||||||
            'invoice_id' => $this->harvestInvoiceId(),
 | 
					            'invoice_id' => $this->harvestInvoiceId(),
 | 
				
			||||||
        ];
 | 
					        ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					nlog($data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $response = $this->paytrace->gatewayRequest('/v1/transactions/sale/pt_protect', $data);
 | 
					        $response = $this->paytrace->gatewayRequest('/v1/transactions/sale/pt_protect', $data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if ($response->success) {
 | 
					        if ($response->success) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user