Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

How to use the new way to determine transaction st
(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: How to use the new way to determine transaction st

How to use the new way to determine transaction st 12 years, 2 months ago #10

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Pesapal will soon stop returning the state of a transaction in the call back url. hence, there will be a new way to check the transaction status from the pesapal servers. This will be by the use of crone jobs

The cron daemon is a long running process that executes commands at specific dates and times. To schedule one-time only tasks with cron, use at or batch. For commands that need to be executed repeatedly (e.g. hourly, daily or weekly), use crontab, which has the following options:
crontab filename Install filename as your crontab file.
crontab -e Edit your crontab file.
crontab -l Show your crontab file.
crontab -r Remove your crontab file.
MAILTO= This e-mail address is being protected from spambots. You need JavaScript enabled to view it. Emails the output to the specified address.

The crontab command creates a crontab file containing commands and how often cron should execute them. Each entry in a crontab file consists of six fields, specified in the following order:

minute(s) hour(s) day(s) month(s) weekday(s) command(s)

The fields are separated by spaces or tabs. The first five are integer patterns and the sixth is the command to be executed. The following table briefly describes each of the fields:
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: How to use the new way to determine transaction st 11 years, 7 months ago #64

  • lexeme
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi,

I have tried using this method but there seem to be an issue, the cron doesn't seem to update the status of the order in my virtumart 2X even after carrying out a test transaction.
  • Page:
  • 1