mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
commit
b33637dc5a
@ -1 +1 @@
|
|||||||
5.3.82
|
5.3.83
|
@ -164,13 +164,13 @@ class AuthorizePaymentMethod
|
|||||||
if ($contact) {
|
if ($contact) {
|
||||||
// Create the Bill To info for new payment type
|
// Create the Bill To info for new payment type
|
||||||
$billto = new CustomerAddressType();
|
$billto = new CustomerAddressType();
|
||||||
$billto->setFirstName(substr(0,50,$contact->present()->first_name()));
|
$billto->setFirstName(substr($contact->present()->first_name(),0,50));
|
||||||
$billto->setLastName(substr(0,50,$contact->present()->last_name()));
|
$billto->setLastName(substr($contact->present()->last_name(),0,50));
|
||||||
$billto->setCompany(substr(0,50,$this->authorize->client->present()->name()));
|
$billto->setCompany(substr($this->authorize->client->present()->name(),0,50));
|
||||||
$billto->setAddress(substr(0,60,$this->authorize->client->address1));
|
$billto->setAddress(substr($this->authorize->client->address1,0,60));
|
||||||
$billto->setCity(substr(0,40,$this->authorize->client->city));
|
$billto->setCity(substr($this->authorize->client->city,0,40));
|
||||||
$billto->setState(substr(0,40,$this->authorize->client->state));
|
$billto->setState(substr($this->authorize->client->state,0,40));
|
||||||
$billto->setZip(substr(0,20,$this->authorize->client->postal_code));
|
$billto->setZip(substr($this->authorize->client->postal_code,0,20));
|
||||||
|
|
||||||
if ($this->authorize->client->country_id) {
|
if ($this->authorize->client->country_id) {
|
||||||
$billto->setCountry($this->authorize->client->country->name);
|
$billto->setCountry($this->authorize->client->country->name);
|
||||||
|
@ -14,8 +14,8 @@ return [
|
|||||||
'require_https' => env('REQUIRE_HTTPS', true),
|
'require_https' => env('REQUIRE_HTTPS', true),
|
||||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||||
'app_version' => '5.3.82',
|
'app_version' => '5.3.83',
|
||||||
'app_tag' => '5.3.82',
|
'app_tag' => '5.3.83',
|
||||||
'minimum_client_version' => '5.0.16',
|
'minimum_client_version' => '5.0.16',
|
||||||
'terms_version' => '1.0.1',
|
'terms_version' => '1.0.1',
|
||||||
'api_secret' => env('API_SECRET', ''),
|
'api_secret' => env('API_SECRET', ''),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user