Skip to content

Commit b97178b

Browse files
authored
Merge pull request #39 from joshbmarshall/master
Add required currency for creating a credit card token
2 parents 42a95b4 + 96ecbb0 commit b97178b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Message/PxPostCreateCardRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public function getData()
1313
$this->getCard()->validate();
1414

1515
$data = $this->getBaseData();
16+
$data->InputCurrency = $this->getCurrency();
1617
$data->Amount = '1.00';
1718
$data->EnableAddBillCard = 1;
1819
$data->CardNumber = $this->getCard()->getNumber();

0 commit comments

Comments
 (0)