accountGateway->getConfigField('testMode') ? 'AAA100303' : 'AAA172036'; $data['invoiceNumber'] = $this->invoice()->invoice_number; return $data; } public function createPayment($ref = false, $paymentMethod = null) { $ref = $this->purchaseResponse['transactionResponse']['transId'] ?: $this->purchaseResponse['refId']; parent::createPayment($ref, $paymentMethod); } }