mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Square SCA
This commit is contained in:
parent
4b5d298b2d
commit
aee743f725
@ -135,7 +135,7 @@ class CreditCard
|
||||
{
|
||||
$client = new \stdClass;
|
||||
|
||||
$client->addressLines = [ $this->square_driver->client->address1, $this->square_driver->client->address2 ];
|
||||
$client->addressLines = [ $this->square_driver->client->address1 ?: '', $this->square_driver->client->address2 ?: ''];
|
||||
$client->givenName = $this->square_driver->client->present()->first_name();
|
||||
$client->familyName = $this->square_driver->client->present()->last_name();
|
||||
$client->email = $this->square_driver->client->present()->email;
|
||||
|
Loading…
Reference in New Issue
Block a user