Revision history for Perl extension Business::OnlinePayment::PayflowPro.
+0.06 Thu Mar 1 10:01:33 EST 2007
+ - zip now allows alphanumerics for non-US zips
+
0.05 Mon Jan 22 00:58:04 EST 2007
[Jan 22 2007 by Phil Lobbes <phil at perkpartners.com>]
- Test cases: new tests and cleanup of existing tests
# Payflow Pro SDK
use PFProAPI qw( pfpro );
-$VERSION = '0.05';
+$VERSION = '0.06';
$VERSION = eval $VERSION;
sub set_defaults {
$month = '0' . $month if $month =~ /^\d$/;
}
- ( $zip = $content{'zip'} ) =~ s/\D//g;
+ ( $zip = $content{'zip'} ) =~ s/[^[:alnum:]]//g;
$self->server('test-payflow.verisign.com') if $self->test_transaction;
STREET => 'address',
CITY => 'city',
STATE => 'state',
- ZIP => \$zip, # 'zip' with non-numbers removed
+ ZIP => \$zip, # 'zip' with non-alnums removed
COUNTRY => 'country',
);
STREET => 'address',
CITY => 'city',
STATE => 'state',
- ZIP => \$zip, # 'zip' with non-numbers removed
+ ZIP => \$zip, # 'zip' with non-alphanumerics removed
COUNTRY => 'country',
The required Payflow Pro parameters for credit card transactions are: