diff --git a/app/PaymentDrivers/Eway/CreditCard.php b/app/PaymentDrivers/Eway/CreditCard.php index f6c5fc273824..36e6d4dfa37c 100644 --- a/app/PaymentDrivers/Eway/CreditCard.php +++ b/app/PaymentDrivers/Eway/CreditCard.php @@ -63,8 +63,8 @@ class CreditCard $transaction = [ 'Reference' => $this->eway_driver->client->number, 'Title' => '', - 'FirstName' => $this->eway_driver->client->contacts()->first()->present()->last_name(), - 'LastName' => $this->eway_driver->client->contacts()->first()->present()->first_name(), + 'FirstName' => $this->eway_driver->client->contacts()->first()->present()->first_name(), + 'LastName' => $this->eway_driver->client->contacts()->first()->present()->last_name(), 'CompanyName' => $this->eway_driver->client->name, 'Street1' => $this->eway_driver->client->address1, 'Street2' => $this->eway_driver->client->address2,