
@michael:: Yeah!! thanks for the contribution Michael!! You're code (specifically the regex and POST part... i.e posting stuff like the view_state, account data, etc) address issues I wouldn't have solved (or even discovered) myself!... would have run into lots of trouble. I hope you wouldn't mind me copying some bits of you're code :-). just the parts that involve loading the transaction page as I already have some regex to read the transaction records themselves. however (given the nature of my problem), i'm using curl_multi to make parallel curl requests as opposed to you're technique. if anyone's interested, I could bundle it up into a neat class with instructions on how to use it... @everyone else:: to use m-pesa on any other browser, you'll need to export you're certificate together with its private key. you cant normally do that, so you'll need a tool like this one [https://www.isecpartners.com/application-security-tools/jailbreak.html] to pull it off. you can then import the exported key-cert into any other browser.... be careful though. if anyone gets access to that export, they can impersonate you. On 10/6/11, Michael Pedersen <sku@kaal.dk> wrote:
On 10/5/11 11:37 AM, John Doe Smith Kamau KipNg'etich Jones wrote:
... or, anyone with ideas of how to access the mpesa site (ke.mpesa.com/ke) using curl on php? i've tried setting up the client-certifiate on curl, but still doesnt work.
You could/should look at PesaPi - it has code that does exactly this: http://github.com/pluspeople/PesaPi
.. Mike
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke