ColdFusion-Stripe-CFC
ColdFusion-Stripe-CFC copied to clipboard
Timestamp data type incorrect, and other typing mistakes
The data type "timestamp" has incorrectly been used instead of Date for the "trial_end" argument.
Also, there were two places that "loca." instead of "local." were used. For example, line 192: loca.intUTCDate = timeToUTCInt(arguments.trial_end);
I suspect that the trial_end parameter has not been used before or during testing which is why this was not picked up.
If I can, I will upload a modified version of the Stripe.cfc file. If not, you have the issues detailed now.
Thanks Paolo
+1 Also running into this error. It has also been discussed here on StackOverflow (I believe in a question raised by Paolo): http://stackoverflow.com/questions/12278488/coldfusion-timestamp-datatype-error
Hi agentfitz. There have been quite a few updates / fixes to the Stripe CFC that I've had to implement since downloading this wrapper CFC. I have also added some functions as the Stripe API has changed and been updated.
My advice is to simply try and fix the issues yourself, if you can. If you still experience issues, just let me know and I'll try and upload the updated version fo the Stripe Wrapper that I use.