areski / a2billing-flask-api

Restful A2Billing APIs in Flask
http://a2billing-flask-api.readthedocs.org
Mozilla Public License 2.0
21 stars 13 forks source link

refill > cc_logpayment, cc_logrefill date column not set #3

Open dezertdezine opened 8 years ago

dezertdezine commented 8 years ago

When doing a refill on a card with a call like: curl -u user:pass -H "Content-Type:application/json" -X POST -d '{"credit": 1}' http://11.11.111.11:8008/custom_api/refill/1 ...the date columns for cc_logpayment and cc_logrefill are set to 0000-00-00 00:00:00