Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

Authorize.net Recurring Billing API CFC
Project Home Blog Forums Known Issues Contact Project

Authorize.net Recurring Billing API CFC Issue: Auto format expiration dates (yyyy-MM)

Name: Auto format expiration dates (yyyy-MM)
ID: 2
Project: Authorize.net Recurring Billing API CFC
Type: Enhancement
Area: Code
Severity: Low
Status: Open
Related URL:
Creator: James Moberg
Created: 07/14/14 11:01 AM
Updated: 07/14/14 11:01 AM
Description: The application I was updating was passing an expiration with an invalid format, so I updated the CFC I'm using to auto-format the expirationDate value in the XML if it is a valid date to prevent against posting it in the wrong format.

<expirationDate><CFIF isDate(Arguments.expirationDate)>#DateFormat(Arguments.expirationDate, "yyyy-MM")#<CFELSE>#Arguments.expirationDate#</CFIF></expirationDate>
History: Created by Jamo (James Moberg) : 07/14/14 11:01 AM

To add a comment to this bug, please login using the link above.