diff --git a/Model/Method/Capayable/In3V3Builder.php b/Model/Method/Capayable/In3V3Builder.php index 5f28d7060..92dd73caa 100644 --- a/Model/Method/Capayable/In3V3Builder.php +++ b/Model/Method/Capayable/In3V3Builder.php @@ -127,11 +127,11 @@ protected function getBillingCustomer( $this->row($billingAddress->getCountryId(), 'CountryCode', 'BillingCustomer', $i), ]; - if (strlen($streetData['number_addition']) > 0) { + if (strlen((string)$streetData['number_addition']) > 0) { $data[] = $this->row($streetData['number_addition'], 'StreetNumberSuffix', 'BillingCustomer', $i); } - if(strlen($billingAddress->getRegion())) { + if(strlen((string)$billingAddress->getRegion())) { $data[] = $this->row($billingAddress->getRegion(), 'Region', 'BillingCustomer', $i); }