mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Square SCA
This commit is contained in:
parent
4b5d298b2d
commit
aee743f725
@ -135,7 +135,7 @@ class CreditCard
|
|||||||
{
|
{
|
||||||
$client = new \stdClass;
|
$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->givenName = $this->square_driver->client->present()->first_name();
|
||||||
$client->familyName = $this->square_driver->client->present()->last_name();
|
$client->familyName = $this->square_driver->client->present()->last_name();
|
||||||
$client->email = $this->square_driver->client->present()->email;
|
$client->email = $this->square_driver->client->present()->email;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user