Skip to content

Commit 4cef58d

Browse files
authored
Merge pull request #47 from mwisner/master
Set phoneNumber attribute for billTo (but not shipTo) on AIM requests. No unit tests - will add these separately.
2 parents 1a699aa + c0b361d commit 4cef58d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Message/AIMAbstractRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ protected function addBillingData(\SimpleXMLElement $data)
221221
$req->billTo->state = $card->getBillingState();
222222
$req->billTo->zip = $card->getBillingPostcode();
223223
$req->billTo->country = $card->getBillingCountry();
224+
$req->billTo->phoneNumber = $card->getBillingPhone();
224225

225226
$req->shipTo->firstName = $card->getShippingFirstName();
226227
$req->shipTo->lastName = $card->getShippingLastName();

0 commit comments

Comments
 (0)