Skip Menu |

This queue is for tickets about the Business-OnlinePayment-PayflowPro CPAN distribution.

Report information
The Basics
Id: 13896
Status: resolved
Priority: 0/
Queue: Business-OnlinePayment-PayflowPro

People
Owner: ivan-pause [...] 420.am
Requestors: phil [...] perkpartners.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: (no value)



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/;