Skip to content

Commit

Permalink
Merge pull request #34 from trinet-at/payment-request-params
Browse files Browse the repository at this point in the history
allow 40 chars for OwnerTown
  • Loading branch information
FabriZZio committed Jan 20, 2015
2 parents fefcda0 + fb051b3 commit 7a4a8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ogone/AbstractPaymentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function setOwnerZip($ownerzip)

public function setOwnerTown($ownertown)
{
if (strlen($ownertown) > 25) {
if (strlen($ownertown) > 40) {
throw new InvalidArgumentException("Owner town is too long");
}
$this->parameters['ownertown'] = $ownertown;
Expand Down

0 comments on commit 7a4a8c4

Please sign in to comment.