Skip Menu |

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

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

People
Owner: PLOBBES [...] cpan.org
Requestors: josh [...] infogears.com
Cc:
AdminCc:

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



Subject: Fix: Reference Transactions Broken
Date: Tue, 01 Sep 2009 17:59:04 -0600
To: bug-Business-OnlinePayment-PayflowPro [...] rt.cpan.org
From: Josh Rosenbaum <josh [...] infogears.com>
This fix allows Payflow Pro reference transactions to be used. Currently they are blocked, because the credit card number is being required even though we only need to specify the ORIGID (order_number). (Note: To utilize reference transactions, you need them turned on in the Payflow Pro manager under Transactions Settings.) Cheers, -- Josh Rosenbaum
--- Business/OnlinePayment/PayflowPro.pm 2009-08-21 23:29:03.000000000 -0600 +++ PayflowPro.pm 2009-09-01 17:46:12.000000000 -0600 @@ -223,8 +223,7 @@ my @required = qw( TRXTYPE TENDER PARTNER VENDOR USER PWD ); if ( $self->transaction_type() eq 'C' ) { # credit card - if ( $content{'action'} =~ /^[CDV]$/ - && defined( $content{'ORIGID'} ) + if ( defined( $content{'ORIGID'} ) && length( $content{'ORIGID'} ) ) { push @required, qw(ORIGID);
Business-OnlinePayment-PayflowPro-1.01 has been released with this patch. Thanks!