Login

    Register

This is to notify all, that we will be decommissioning http://riaforge.org/ ("Site") soon. This decision has been taken due to business reasons. If you are interested in reviewing or downloading any project or files available at Site, please do so, by April 16, 2019, 12 noon PST , as per license terms associated therewith. Past that, you will not be able to access the projects or files.Should you have any concerns/suggestions/query, feel free to Contact Us.
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.

This is to notify all, that we will be decommissioning http://riaforge.org/ ("Site") soon. This decision has been taken due to business reasons. If you are interested in reviewing or downloading any project or files available at Site, please do so, by April 16, 2019, 12 noon PST , as per license terms associated therewith. Past that, you will not be able to access the projects or files.Should you have any concerns/suggestions/query, feel free to Contact Us.