[freeside] my credit card bug

Mitchell mjs at blitz-technology.net
Sun Jan 30 12:45:34 PST 2000


I would  think sending an email to ivan-freeside-unsubscribe at sisd.com
would do the trick.


On Sun, Jan 30, 2000 at 12:55:00PM -0500, Brian A.
Poitras wrote: > Hi  - 
> 
> How do I unsubscribe?  
> 
> Thanks,
> 
> Brian Poitras
> Spider Web Hosting Solutions, Inc.
> 214 Lincoln Street, #105
> Boston, MA 02134
> http://www.spiderwebhost.com
> 617-779-9196
> 
> 
> -----Original Message-----
> From:	ivan [SMTP:ivan at 420.am]
> Sent:	Sunday, January 30, 2000 1:59 AM
> To:	ivan-freeside at sisd.com
> Subject:	Re: [freeside] my credit card bug
> 
> The ideal solution is:
> 
> /^(\d{4})-(\d{1,2})-\d{1,2}$/
> 
> Otherwise you're going to have the same problem in October. :)
> 
> (hopefully I'll get 1.3.0 wrapped up long before then)
> 
> On Tue, Jan 11, 2000 at 10:26:21PM -0700, Jeff Garner wrote:
> > I fixed it by adding the following to the /edit/cust_main.cgi
> > 
> > under sub expselect
> > 
> >   if ( $date  =~ /^(\d{4})-(\d{1})-\d{2}$/ ) { #PostgreSQL date format          
> >     ( $m, $y ) = ( $2, $1 );
> > 
> > 
> > it appears my credit exp dates were getting setup as  yyyy-m-dd  ex 2002-6-01
> > 
> > The key was 
> > 
> >   if ( $date  =~ /^(\d{4})-(\d{2})-\d{2}$/ ) { #PostgreSQL date format          
> >     ( $m, $y ) = ( $2, $1 );
> > 
> > so I added the line with \d{1}  and it worked good
> > 
> 
> -- 
> _ivan
> 



More information about the freeside-users mailing list