Fix length of auth.net fields

This commit is contained in:
David Bomba 2022-04-26 07:42:41 +10:00
parent 7e1b27b222
commit 290775040e

View File

@ -176,7 +176,7 @@ class AuthorizePaymentMethod
$billto->setCountry($this->authorize->client->country->name); $billto->setCountry($this->authorize->client->country->name);
} }
$billto->setPhoneNumber($this->authorize->client->phone); $billto->setPhoneNumber(substr($this->authorize->client->phone,0,20));
} }
// Create a new Customer Payment Profile object // Create a new Customer Payment Profile object