Fix bug with recurring payments

The payment fails everytime you try to submit a recurring payment because CiviCRM does not recognize $end_time as a Timestamp. If you cange timestamp to string, everything works fine.