Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

Getting trouble in notification in live account
(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: Getting trouble in notification in live account

Getting trouble in notification in live account 11 years, 1 month ago #1096

  • saiyam
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hello,

I am getting trouble while ordering data because of $_GET['pesapal_notification_type'].In developer manual it is mentioned that pesapal_notification_type' is reguired from gateway while getting response.But I'm not getting any notification from gateway and this is pushing me in cancel order.I have done IPN (Instant Payment Notification) Settings of live account.

Need your kind help.Please provide pesapal admin contact number so that i can directely cal and get resolved the issue.Its urgent.




Thanks & Regards,
Saiyam

Re: Getting trouble in notification in live account 11 years, 1 month ago #1097

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Hello Saiyam,

Check status can be used in two areas;
  • The callback URL - This is the immediate page called after a payment is made. I,e the return URL after payments have been processed.
  • The IPN - Instant payment notification. The URL PesaPal calls whenever there is a status change. Technically, the client will never view the contents of this page. It’s a background process used to update your system.

When checking the status, you need the merchant reference and the PesaPal tracking ID (the tracking ID is not necessary when using the checkStatusByMerchantRef API). When PesaPal executes the two links above, it appends the reference and tracking ID on both URLs. However, the two links differ in two ways.
  1. The callback URL does not have the notification type variable appended on it. The notification type will only be available on the IPN URL.
  2. The IPN needs some commands instructing PesaPal to terminate further IPN call in regards to a certain transaction. You need to echo some JSON code and exit your system. The JSON code should be the only data echoed on the IPN URL. If you include any another additional data PesaPal will not ready the JSON hence the IPN will run over and over.

Have a look at this PHP example: developer.pesapal.com/forum/2-pesapal-in...-pesapal-php-example
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.
Last Edit: 11 years, 1 month ago by lazro.
  • Page:
  • 1