Skip to content

Commit

Permalink
allow 40 chars for OwnerTown
Browse files Browse the repository at this point in the history
The OwnerTown parameter can be 40 chars long; according to Ogone parameter cookbook
  • Loading branch information
rieschl committed Nov 8, 2014
1 parent 7640694 commit fb051b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ogone/AbstractPaymentRequest.php
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 fb051b3

Please sign in to comment.