Post by webplus » Thu Oct 01, 2015 8:22 am

Hi Guys

I am using securepay, in Australia, and I am getting "Invalid fingerprint" message when going to pay... and I called them up and was told it is because I am sending the timestamp in 12 hour clock, and change it to 24 hour clock , Please help - where the hell i change the timestamp ??? ??? ??? ??? ??? ???

New member

Posts

Joined
Wed May 16, 2012 5:25 pm

Post by jrfcomputing » Thu Oct 01, 2015 8:10 pm

I have downloaded the securepay module and believe you need to edit one of the controller files.

It can be found with your FTP at catalog>controllor>payment>securepay

on line 43 Change

Code: Select all

$fp_timestamp = gmdate('Ymdhis');
To:

Code: Select all

$fp_timestamp = gmdate('YmdHis');
Reference for gmdate timestamps http://www.w3schools.com/php/func_date_gmdate.asp

Opencart sites I am currently working on:
http://www.cablecafe.co.uk
http://www.exclusivelygorgeous.co.uk/


User avatar
Active Member

Posts

Joined
Mon May 09, 2011 11:29 pm

Post by webplus » Tue Oct 06, 2015 5:19 am

jrfcomputing wrote:I have downloaded the securepay module and believe you need to edit one of the controller files.

It can be found with your FTP at catalog>controllor>payment>securepay

on line 43 Change

Code: Select all

$fp_timestamp = gmdate('Ymdhis');
To:

Code: Select all

$fp_timestamp = gmdate('YmdHis');
Reference for gmdate timestamps http://www.w3schools.com/php/func_date_gmdate.asp

This works,

Thank you very much

New member

Posts

Joined
Wed May 16, 2012 5:25 pm

Post by imdevlper18 » Mon Mar 07, 2016 2:41 am

Thank you so much. This also worked for me

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm
Who is online

Users browsing this forum: No registered users and 2 guests