Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

timestamp_refused | Advice
(1 viewing) (1) Guest
Welcome to the Pesapal integration forum!

This forum discusses everything about Pesapal integration on your web site. Having any problems? This is the right place to post a question and we are sure you will get an answer
  • Page:
  • 1

TOPIC: timestamp_refused | Advice

Re: timestamp_refused | Advice 11 years, 12 months ago #882

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Hi danhongo,

Your server time is incorrect. If you are using your localhost, ensure your machine time is correct. If you are using a hosted server, Please ask the server guys to ensure the server time is correct as per their time zone.
Regards,

Lazaro Ong'ele
Web Developer

Skype: Lazrotep
+254-020-249-5438 ; +254-706-191-729
Dagoretti Lane, Off Naivasha Road.

Facebook: www.facebook.com/pesapal
Twitter: twitter.com/PesaPal
Helpdesk: support.pesapal.com
This e-mail address is being protected from spambots. You need JavaScript enabled to view it.

Re: timestamp_refused | Advice 11 years, 3 months ago #1283

  • STomashi
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
It's easy to solve the issue of refused time stamp!

Actually there are 3 ways to set the correct time zone as mentioned below:

1. If your are using a local host server, what you should do is to simply set the time zone of your machine to the correct one. eg. if you live in Nairobi your time zone should be (UTC+03:00)Nairobi.

2. If your web page is already hosted on an online server you can contact your server host and ask them to set your domain to the correct time zone.

3. If you are the admin of your domain cPanel, you don't necessarily need to contact your sever host. you have the power to configure your php files. But you should be very careful.

you can do it by creating a php.ini file in your public_html directory and edit it by adding the following code:

engine = On
short_open_tag = On
output_buffering = Off
error_reporting = E_ALL|E_STRICT
display_errors = Off
log_errors = On
error_log = "/var/log/php_errors.log"
date.timezone = "Africa/Nairobi"


The default timezone is usually set to "America/Los_angeles" on the server. So what you will do is just changing the timezone to the one compatible with the pesapal system. which is date.timezone = "Africa/Nairobi".

NOTE: The php.ini directive properties mentioned above are just for basic settings. you might need further assistance to configure your php.ini file!

Call 0712317212 for pesapal integration
Last Edit: 11 years, 3 months ago by STomashi.

Re: timestamp_refused | Advice 11 years, 3 months ago #1284

  • STomashi
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
STomashi wrote:
It's easy to solve the issue of refused time stamp!

Actually there are 3 ways to set the correct time zone as mentioned below:

1. If your are using a local host server, what you should do is to simply set the time zone of your machine to the correct one. eg. if you live in Nairobi your time zone should be (UTC+03:00)Nairobi.

2. If your web page is already hosted on an online server you can contact your server host and ask them to set your domain to the correct time zone.

3. If you are the admin of your domain cPanel, you don't necessarily need to contact your sever host. you have the power to configure your php files. But you should be very careful.

you can do it by creating a php.ini file in your public_html directory and edit it by adding the following code:

engine = On
short_open_tag = On
output_buffering = Off
error_reporting = E_ALL|E_STRICT
display_errors = Off
log_errors = On
error_log = "/var/log/php_errors.log"
date.timezone = "Africa/Nairobi"


The default timezone is usually set to "America/Los_angeles" on the server. So what you will do is just changing the timezone to the one compatible with the pesapal system. which is date.timezone = "Africa/Nairobi".

NOTE: The php.ini directive properties mentioned above are just for basic settings. you might need further assistance to configure your php.ini file!

Call 0712317212 for pesapal integration
  • Page:
  • 1