Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

IPN not working
(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: IPN not working

IPN not working 2 months, 3 weeks ago #2197

  • Krunal
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi,

I have integrated PesaPal demo to my PHP site, IPN is not called automatically. I checked the link registered into my account and it is fine. Also, when I manually send the parameters pesapal_notification_type, pesapal_transaction_tracking_id and pesapal_merchat_reference into the IPN link, my transaction status is received. However, there is no notification coming. Can you please help?

Re: IPN not working 2 months, 3 weeks ago #2198

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 401
Hello Krunal,

Please ensure that;
  1. The IPN link is publicly accessible. NB: IPN will not work on localhost servers
  2. You have set-up the IPN configurations on the correct PesaPal dashboard and linked to the correct merchant account
  3. The IPN link's sub-domain is the same as the payment's source sub-domain. i.e if a payment is done on payments.mysite.com the IPN link cannot be www.mysite.com/ipn. It has to be on the same sub-domain for PesaPal to trigger it.
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: IPN not working 2 months, 3 weeks ago #2199

  • Krunal
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi Lazro,

Thanks for your prompt reply on this. I believe my site falls under the specified conditions. This is my site url in which I am taking the payments : ajira.world.ncryptedprojects.com/

This is the IPN url that I have added into the merchant account dashboard as well : ajira.world.ncryptedprojects.com/pay

Also, as I mentioned that the manual calling of link with details do work and the retry from dashboard works as well. Please help me.

Re: IPN not working 2 months, 3 weeks ago #2200

  • markm
  • OFFLINE
  • Administrator
  • Posts: 68
Hey Krunal,

Is the domain name the actual URL the site will run from?

Re: IPN not working 2 months, 3 weeks ago #2201

  • Krunal
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi markm,

Yes its live website currently up and runnning.

Re: IPN not working 4 weeks, 1 day ago #2221

  • kogweno
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
am having the same problem when setting pesapal on my website www.softnetsolutions.co.ke/

Re: IPN not working 4 weeks ago #2223

  • patowhiz
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I'm also having a similar problem on my website www.thelightp.com

The IPN url is receiving the change notifications but the response is does not have the status of the transaction. This makes it difficult for me to notify the client of payment status.
Last Edit: 3 weeks, 6 days ago by patowhiz.

Re: IPN not working 3 weeks, 6 days ago #2224

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 401
Hello,

The known reasons why IPN may not be working include;
  1. Your IPN URL is unreachable. Either it throws an error or it's not a publicly available URL.
  2. You have not set-up IPN correctly on the PesaPal dashboard.
  3. The IPN URL you have shared is of a different domain from which the payment was done. E.g if a payment is done on pay.mysite.com.. You are not allowed to set the IPN URL to point to notifications.mysite.com.

Kindly send us a screenshot of your IPN settings page as set on PesaPal to This e-mail address is being protected from spambots. You need JavaScript enabled to view it.

We'll also need access to your IPN logs as logged whenever an IPN call is made. Kindly do share this on mail.
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: IPN not working 3 weeks, 6 days ago #2227

  • patowhiz
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Change the demo.pesapal.com/api/querypaymentstatus to demo.pesapal.com/api/querypaymentstatus

They have not updated this in their documents.

Re: IPN not working 3 weeks, 1 day ago #2240

  • patowhiz
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I found where the problem was. I was using the pdf documents which are stale. They were status request url in the pdf is demo.pesapal.com/api/querypaymentstatus instead of demo.pesapal.com/api/querypaymentstatus. So the results after splitting the response query was not the one expected. I guess you can update the information on the pdf files too.

Just to add on that, that last bit querypaymentstatus is it CASE SENSITIVE? Some part of your documents use the format QueryPaymentStatus . Its good to maintain one consistent format since we don't know how the routing happens on your side.

I'll delete my comment on the IPN question.

Regards,
Patrick Munyoki

Re: IPN not working 3 weeks ago #2242

Ohh That is why my IPN getting error. thanks i am going to setup again.
  • Page:
  • 1