From: Mark Wells Date: Wed, 12 Aug 2015 18:51:43 +0000 (-0700) Subject: update URL again X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-FirstDataGlobalGateway.git;a=commitdiff_plain;h=29eb98c8094f623b3b9ba6e1b0333a0fe4e98015 update URL again --- diff --git a/debian/changelog b/debian/changelog index 06932fe..d037678 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -libbusiness-onlinepayment-firstdataglobalgateway-perl (0.01-2) UNRELEASED; urgency=medium +libbusiness-onlinepayment-firstdataglobalgateway-perl (0.01-3) unstable; urgency=medium * Update service URL. - -- Mark Wells Tue, 11 Aug 2015 19:33:48 -0700 + -- Mark Wells Wed, 12 Aug 2015 11:51:54 -0700 libbusiness-onlinepayment-firstdataglobalgateway-perl (0.01-1) unstable; urgency=low diff --git a/lib/Business/OnlinePayment/FirstDataGlobalGateway.pm b/lib/Business/OnlinePayment/FirstDataGlobalGateway.pm index c01c21d..03517cb 100644 --- a/lib/Business/OnlinePayment/FirstDataGlobalGateway.pm +++ b/lib/Business/OnlinePayment/FirstDataGlobalGateway.pm @@ -173,7 +173,13 @@ sub submit { } my $base_uri; - $base_uri = 'https://api.demo.globalgatewaye4.firstdata.com/transaction'; + if ( $self->test_transaction ) { + $base_uri = + 'https://api.demo.globalgatewaye4.firstdata.com/transaction'; + } else { + $base_uri = + 'https://api.globalgatewaye4.firstdata.com/transaction'; + } my $proxy = "$base_uri/v11";