Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
Fixed missing address and added address line 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmauzyk committed Oct 30, 2019
1 parent f1c8c31 commit b156e80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Message/AuthorizeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public function getData()
'currency' => $this->getCurrency(),
'orderid' => $this->getTransactionId(),
'name' => $card->getName(),
'street' => $card->getBillingAddress1(),
'address' => $card->getBillingAddress1(),
'address2' => $card->getBillingAddress2(),
'city' => $card->getBillingCity(),
'region' => $card->getBillingState(),
'country' => $card->getBillingCountry(),
Expand Down
3 changes: 2 additions & 1 deletion src/Message/PurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public function getData()
'currency' => $this->getCurrency(),
'orderid' => $this->getTransactionId(),
'name' => $card->getName(),
'street' => $card->getBillingAddress1(),
'address' => $card->getBillingAddress1(),
'address2' => $card->getBillingAddress2(),
'city' => $card->getBillingCity(),
'region' => $card->getBillingState(),
'country' => $card->getBillingCountry(),
Expand Down

0 comments on commit b156e80

Please sign in to comment.