Welcome,
Guest
|
|
|
Hi,
I am having trouble completing my transaction( Demo Transaction). I want to pay using mobile money i.e TigoPesa or MPesa, and I have already made a dummy payment through demo.pesapal.com/mobilemoneytest and received the required code. But when I enter the details, I get an error "Invalid URI: The hostname could not be parsed." Thanks In Advance! |
|
|
Greetings Jenga,
You need to define your URL explicitly. I.e include the full URL link including the domain name. |
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.
The following user(s) said Thank You: Jenga
|
|
Thanks for the reply.
Where do I have to define this explicit URL ? |
|
|
Please refer to the PHP Example. You will find the code below somewhere in the code
$callback_url = '[domain]/pesapalPHPExample/redirect.php'; //URL user to be redirected to after payment |
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. |
|
Yeah it worked!!!
Thanks for your quick support! |
|
|
Great!
You are welcome. |
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. |
|
thanks for your help. i manage to configure it to work on the demo mode but when ready to publish or run it live it dosent run. what may be the problem
|
|
|
in top.php, $sitelink = '[domain]/pesapalPHPExample. Do i replace domain and leave "pesapalPHPExample"? Which url do u call to test the application?
Thanks |
|
|