Subject: | zip code is not passed properly to pfpro |
The assignment of zip cause the value to be blank. A simple work around it so first assign the value then strip out any non-digits.
Here's a diff with context:
$ diff -c PayflowPro.pm PayflowPro.pm.ORIG
*** PayflowPro.pm Wed Jul 27 15:38:45 2005
--- PayflowPro.pm.ORIG Tue May 24 16:45:02 2005
***************
*** 125,131 ****
$month = '0'. $month if $month =~ /^\d$/;
}
! $zip = $content{'zip'}; $zip =~ s/\D//;
#}
#$content{'address'} =~ /^(\S+)\s/;
--- 125,131 ----
$month = '0'. $month if $month =~ /^\d$/;
}
! $zip = $content{'zip'} =~ s/\D//;
#}
#$content{'address'} =~ /^(\S+)\s/;