From c912aea692222adad3b6fb81d256de426cfc6ff7 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 6 Nov 2009 21:09:33 +0000 Subject: Use 111-111-1111 if no phone number is provided. --- lib/Business/OnlinePayment/Jety.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Business/OnlinePayment/Jety.pm b/lib/Business/OnlinePayment/Jety.pm index 890152e..6396912 100644 --- a/lib/Business/OnlinePayment/Jety.pm +++ b/lib/Business/OnlinePayment/Jety.pm @@ -10,7 +10,7 @@ use Date::Format; use Tie::IxHash; @ISA = qw(Business::OnlinePayment::HTTPS); -$VERSION = '0.01'; +$VERSION = '0.02'; $me = 'Business::OnlinePayment::Jety'; $DEBUG = 0; @@ -71,9 +71,11 @@ sub map_fields { if(lc($content->{action}) ne 'normal authorization'); $content->{'function'} = 'echeck'; - $content->{'programdesc'} = '415-462-1624 Business::OnlinePayment::Jety'; + $content->{'programdesc'} = "415-462-1624 Business::OnlinePayment::Jety v$VERSION"; $content->{'ref'} = time2str('%Y%m%d',time).'-'.int(rand(1000000)); + $content->{'phone'} ||= '111-111-1111'; + $content->{'bankname'} ||= 'unknown'; $content->{'bankcity'} ||= 'unknown'; $content->{'bankstate'} ||= 'XX'; -- cgit v1.2.1