Skip to content

Commit c26abba

Browse files
authored
Merge pull request #16 from jorenvanhee/address-fix
Fix address keys
2 parents 01cfa71 + b4827e3 commit c26abba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Message/RestPurchaseRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ public function getCustomerData()
420420
}
421421

422422
$cardData = array(
423-
'address_1' => $this->getCard()->getAddress1(),
424-
'address_2' => $this->getCard()->getAddress2(),
423+
'address1' => $this->getCard()->getAddress1(),
424+
'address2' => $this->getCard()->getAddress2(),
425425
'city' => $this->getCard()->getCity(),
426426
'country' => $this->getCard()->getCountry(),
427427
'email' => $this->getCard()->getEmail(),

0 commit comments

Comments
 (0)