While defining a successful wepay preapproval in Rails, the preapproval lookup sends back "start_time", "create_time" and "end_time" in integers instead of a unix timestamp format. here's the error I receive:
PG::Error: ERROR: column "start_time" is of type timestamp without time zone but expression is of type integer
This happens regardless of whether I push a to_string or to_datetime in my 'preapproval/create' call. For some reason the response from the lookup call comes back as an integer.
In my Postgresql database I have "start_time", "create_time" and "end_time" all set to the datetime datatype which should format a unix timestamp properly
Has anybody seen this error before?