Skip Menu |

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

Report information
The Basics
Id: 51249
Status: resolved
Priority: 0/
Queue: Business-OnlinePayment-Iridium

People
Owner: wreis [...] cpan.org
Requestors: GHENRY [...] cpan.org
Cc:
AdminCc:

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



Subject: SYNOPSIS needs updating to show CV2
Will do a patch plus should we use Moose::Util::TypeConstraints to stop silly mistakes and do some validation on passed data? Not sure if that's the right tool to use. Or should we just do that in the application that is using Business::OnlinePayment::Iridium
On Mon Nov 09 16:13:12 2009, GHENRY wrote: Show quoted text
> Will do a patch plus should we use Moose::Util::TypeConstraints to stop > silly mistakes and do some validation on passed data? Not sure if that's > the right tool to use. > > Or should we just do that in the application that is using > Business::OnlinePayment::Iridium
Usually i do that in application using custom Moose subtypes, as checking if the CardNumber is a valid card type with Business::CardInfo, then the end user of app has a chance to fix the form issues and submit again. What we have in BOP::Iridium is for simple validation, like checking the CardNumber is a integer.
Subject: Re: [rt.cpan.org #51249] SYNOPSIS needs updating to show CV2
Date: Fri, 20 Nov 2009 13:45:40 +0000
To: "Wallace Reis via RT" <bug-Business-OnlinePayment-Iridium [...] rt.cpan.org>
From: "Gavin Henry" <ghenry [...] suretecsystems.com>
Makes sense. Thought so. Cheers. Show quoted text
------Original Message------ From: Wallace Reis via RT To: GHENRY@cpan.org Subject: [rt.cpan.org #51249] SYNOPSIS needs updating to show CV2 Sent: 20 Nov 2009 13:12 <URL: https://rt.cpan.org/Ticket/Display.html?id=51249 > On Mon Nov 09 16:13:12 2009, GHENRY wrote:
> Will do a patch plus should we use Moose::Util::TypeConstraints to stop > silly mistakes and do some validation on passed data? Not sure if that's > the right tool to use. > > Or should we just do that in the application that is using > Business::OnlinePayment::Iridium
Usually i do that in application using custom Moose subtypes, as checking if the CardNumber is a valid card type with Business::CardInfo, then the end user of app has a chance to fix the form issues and submit again. What we have in BOP::Iridium is for simple validation, like checking the CardNumber is a integer. -- Kind Regards, Gavin Henry. Managing Director. T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghenry@suretecsystems.com Open Source. Open Solutions(tm). http://www.suretecsystems.com/ Suretec Systems is a limited company registered in Scotland. Registered number: SC258005. Registered office: 24 Cormack Park, Rothienorman, Inverurie, Aberdeenshire, AB51 8GL. Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html